Harald Radi [Tue, 16 Dec 2003 10:29:11 +0000 (10:29 +0000)]
@- fixed #20006, #22674 and #24531 (harald)
@- added ZTS connection pooling support to the oci extension
@ connections will now be pooled per process and not
@ per thread anymore. the number of persistent and active
@ connections is now also shown in the phpinfo() output (harald)
Greg Beaver [Tue, 16 Dec 2003 02:12:55 +0000 (02:12 +0000)]
remove optional dep on xmlrpc, not really useful at this point
add required dep on pcre, as it is used without reservation in PEAR_Config, and other places
Ilia Alshanetsky [Mon, 15 Dec 2003 21:56:55 +0000 (21:56 +0000)]
Always set panic call handler, allows us to address critical libtidy errors
from inside PHP.
When memory_limit is enabled use e* memory allocation macros to control
memory usage.
Antony Dovgal [Mon, 15 Dec 2003 13:53:01 +0000 (13:53 +0000)]
add new functions:
ocitelllob(); [ OCI_Lob->tell(); ] - ftell(); analogue for Lobs
ociwritelob(); [ OCI_Lob->write(); ] - fwrite(); analogue for Lobs
ocitruncatelob(); [ OCI_Lob->truncate(); ] - ftruncate(); analogue for Lobs
ocieraselob(); [ OCI_Lob->erase(); ] - erases specified part of a Lob (for BLOBs it means zero-filling, for CLOBs - space-filling)
ociflushlob(); [ OCI_Lob->flush(); ] - flushes Lob buffer (if buffering was enabled before)
ocisetbufferinglob(); [ OCI_Lob->setBuffering(); ] - turns on/off buffering for the current Lob
ocigetbufferinglob(); [ OCI_Lob->getBuffering(); ] - gets buffering' current state
ocirewindlob(); [ OCI_Lob->rewind(); ] - rewind(); analogue for Lobs
ocireadlob(); [ OCI_Lob->read(); ] - fread(); analogue for Lobs
ocieoflob(); [ OCI_Lob->eof(); ] - feof(); analogue for Lobs
ociseeklob(); [ OCI_Lob->seek(); ] - fseek(); analogue for Lobs
ocilobgetlength(); [ OCI_Lob->getLength(); ] - filesize(); analogue for Lobs
ociappendlob(); - appends data from a Lob to another Lob
ocicopylob(); - copies data from a Lob to another Lob
ociisequallob(); - compares 2 Lobs and checks if they are equal
Dmitry Stogov [Mon, 15 Dec 2003 07:22:09 +0000 (07:22 +0000)]
Bug #24773 was fixed (Zend/tests/bug24773.phpt)
Assign_op operators (+=) were fixed for elements of overloaded objects
Memory leaks during accessing ptoperies/elements of overloaded objects were fixed
Sara Golemon [Mon, 15 Dec 2003 06:54:31 +0000 (06:54 +0000)]
Scan for : in host:port pair from right instead of left.
This will allow handling of http://[fe80::1]:443/foo.html
IPv6 Numeric addressing with port number to parse correctly.
Zeev Suraski [Sun, 14 Dec 2003 16:09:07 +0000 (16:09 +0000)]
Fix behavior of return-by-reference functions. Remove erroneous warnings,
add E_STRICT warnings in case you return something by reference that you're
not supposed to (anything that's not a variable, or a return-value of a
function that returned by reference).
Andrey Hristov [Sat, 13 Dec 2003 12:33:14 +0000 (12:33 +0000)]
add an example for illegal string offset. the example is stolen from Marcus
and Markus should be now satisfied :). Currently this code segfaults with
PHP_4_3.
Greg Beaver [Thu, 11 Dec 2003 05:54:35 +0000 (05:54 +0000)]
since nobody has taken any action, fix Console_Getopt to be BC, and update the PEAR core to take advantage of the new way. Use 1.2 to avoid any problems with versioning.
The core passes all unit tests with these changes, so they should work.
Andrei: feel free to change anything you don't like, this is just a make it work fix.