Compare commits

...
6526 Commits
Author SHA1 Message Date
Johannes Schlüter 6632004c65 PHP 5.3.2 2010-03-03 16:49:51 +00:00
Johannes Schlüter 8fa71890bd Release day is tomorrow, not today 2010-03-03 16:45:49 +00:00
Johannes Schlüter 4cb022e064 PHP 5.3.2 2010-03-03 16:36:07 +00:00
Johannes Schlüter 3961cacaa8 merge 5.3.2 NEWS 2010-03-03 15:40:44 +00:00
Pierre Joye 5afa611861 - tz update entry 2010-03-03 15:15:28 +00:00
Pierre Joye 1095947a4f - Updated to version 2010.3 (2010c) 2010-03-03 11:42:54 +00:00
Pierre Joye 6af0766d44 - merge/update/fix 2010-02-24 19:57:56 +00:00
Johannes Schlüter 7470398f7f back to -dev 2010-02-23 19:33:30 +00:00
Johannes Schlüter bdf43efbfa PHP 5.3.2 RC3 2010-02-23 18:47:15 +00:00
Pierre Joye 784ac4e3ac - update 2010-02-23 17:50:08 +00:00
Pierre Joye 0889b619f2 - return *0/*1 on failure instead of FALSE, to avoid possible issues with bad user code 2010-02-23 17:49:00 +00:00
Pierre Joye 6f0ab0d058 - get the right error on windows 2010-02-23 15:04:29 +00:00
Johannes Schlüter d6cf3ce346 merge r295164: update copyright (iliaa) 2010-02-23 14:46:39 +00:00
Pierre Joye 984b5b1cba - fix build when __GMP_BITS_PER_MP_LIMB is not defined but GMP_LIMB_BITS (no trace of this change in gmp's changelog...) 2010-02-23 11:18:24 +00:00
Pierre Joye 7b02569aed - crypt() fixes and sync with Solar Designer updates (rev. 295294, 295294, 295294, 295294, 295294, 295294) 2010-02-22 00:34:22 +00:00
Johannes Schlüter 1d3534ad22 Back to -dev 2010-02-12 00:53:32 +00:00
Johannes Schlüter 1cd9bf1b91 5.3.2RC2 2010-02-12 00:20:28 +00:00
Johannes Schlüter e70bbee4d5 merge 290786: Revert 290786: Fixed bug #49521 (PDO fetchObject sets values
before calling constructor)
2010-02-12 00:19:10 +00:00
Pierre Joye d5591791bc - missing patch for the resourcebunlde support in intl 2010-02-11 23:55:19 +00:00
Pierre Joye 650a934c29 - fix php_date_llabs declaration 2010-02-11 22:37:50 +00:00
Pierre Joye f3e782585a - missing entries 2010-02-11 21:12:11 +00:00
Johannes Schlüter 30d2e1ddf6 merge NEWS entries missing here 2010-02-11 19:51:28 +00:00
Johannes Schlüter 122d3583ee Merge 294882: Fixed safe_mode validation inside tempnam() when the directory
path does not end (iliaa)
2010-02-11 18:03:57 +00:00
Johannes Schlüter beb0118357 merge 294866: Spelling typo in new check message (sixd) 2010-02-11 18:00:21 +00:00
Johannes Schlüter 0e9d95d447 merge r293409: Fixes #50496. Drop stdbool.h dependency as it requires _STDC_C99
set on some systems. (dsp)
2010-02-11 17:53:22 +00:00
Johannes Schlüter b2698c09fd merge r292620: Fixed bug #50558 (Broken object model when extending tidy)
(pierrick)
2010-02-11 17:36:40 +00:00
Johannes Schlüter d3340d41a7 Merg extern declarations:
r293721: Add extern declarations for fixing the build with some compilers (johannes)
r293730: A few more extern declarations (johannes)
2010-02-11 17:24:43 +00:00
Johannes Schlüter da769e6c1d merge r294762: Fix bug#50416
PROCEDURE db.myproc can't return a result set in the given context (andrey)
2010-02-11 17:14:44 +00:00
Pierre Joye 43cc33b6f2 - merge fix for: #45866,#50930, revert fix for #50392, Fixed a bug with the 'r' formatting function, added or fixed tests for #45866 and #46268 2010-02-11 11:11:47 +00:00
Pierre Joye 1ca0576665 - Fixed bug #49585 (date_format buffer not long enough for >4 digit years). 2010-02-11 11:02:53 +00:00
Pierre Joye 675e3b0daa - Update to 2010.2 2010-02-10 16:11:14 +00:00
Johannes Schlüter 8ffb75d21e merge 294847: fix config test (johannes) 2010-02-10 13:46:39 +00:00
Johannes Schlüter ef916d7774 merge 294825: Detect if we can rely on compiler-specific alignment features else
use custom workarounds. Fixes #50753 (johannes)
2010-02-09 22:29:10 +00:00
Pierre Joye a1da67e846 - It's a size_t here, not an unsigned int 2010-02-09 17:51:39 +00:00
Pierre Joye 994869f966 - improve netsnmp detectio and restore snmp on win 2010-02-09 16:42:40 +00:00
Pierre Joye 9fddc2285f - fix leak 2010-02-07 21:09:19 +00:00
Pierre Joye 3d4ab24d98 - fix/sync tests 2010-02-07 21:07:10 +00:00
Pierre Joye a8682814f3 - prevent unexpectable behaviors (for the user) with invalid path and update tests (portability) 2010-02-07 20:45:46 +00:00
Pierre Joye 7d51db88d0 - Fixed #44098, imap_utf8() returns only capital letters 2010-02-07 13:06:54 +00:00
Pierre Joye d915ce7452 - Fixed bug #50952 (allow underscore _ in constants parsed in php.ini files) 2010-02-07 12:08:22 +00:00
Pierre Joye ba2f4f923d - Fix bug #50940 2010-02-05 19:34:47 +00:00
Pierre Joye 1f9405a525 - Explicitly set mail.add_x_header in php.ini 2010-02-05 00:43:02 +00:00
Pierre Joye 289c6be23d - Fixed bug #50657 2010-02-05 00:39:31 +00:00
Pierre Joye ca5eda4467 - Fix #48667 (Implementing Iterator and IteratorAggregate is now restricted.. 2010-02-05 00:37:07 +00:00
Pierre Joye 66aa6d05d6 - Fixed bug #50907 (X-PHP-Originating-Script adding two new lines in *NIX). 2010-02-05 00:19:32 +00:00
Pierre Joye 65ca56c2fe - if they are outdated/wrong, no need to confuse the users 2010-02-05 00:17:54 +00:00
Pierre Joye f1bb004062 - silent warning 2010-02-05 00:14:18 +00:00
Johannes Schlüter f06bee27f0 Merge mysql changes
293815 Add possibility to restrain the number of levels (andrey)
293816 decrement correctly! (andrey)
293976 Fix for bug#50772  (andrey)
294302 Tests related to #50727 (uw)
294313 Fix a bug in mysqlnd where a pointer was not incremented (andrey)
294317 Fix second bug in that code, + instead of += thus not increasing (andrey)
294337 No idea which recent change has cause this little API change, however it is not (uw)
294421 Pass tsrmls to all functions, which might need it in the future. (andrey)
2010-02-04 20:28:55 +00:00
Pierre Joye e1a9c54427 - fix write access check when write mode only is requested (not RW) 2010-02-04 19:54:04 +00:00
Pierre Joye 9bef1ff30e - Allow newer oracle versions 2010-02-04 19:50:49 +00:00
Pierre Joye b136310d53 - Fixed bug #50723 (Bug in garbage collector causes crash) 2010-02-04 10:21:05 +00:00
Pierre Joye 1d94c46fe8 - missing patch for #45986 (r294053) 2010-02-04 10:13:54 +00:00
Pierre Joye 2d996f80c2 - update lib to 0.9.3, fix leaks and test 2010-02-04 10:09:25 +00:00
Pierre Joye 11063bfdf5 - set errno on failure so that the caller can still rely on strerror, missing patch 2010-02-04 09:57:30 +00:00
Pierre Joye ef06baa1bf - - set errno on failure so that the caller can still rely on strerror 2010-02-04 09:55:13 +00:00
Pierre Joye fe7efe346c - try again to get a crypto context when the key container did not exist 2010-02-04 09:48:02 +00:00
Pierre Joye 07804e2482 - Fixed bug #50847 (strip_tags() removes all tags greater then 1023 bytes long) 2010-02-04 09:44:16 +00:00
Pierre Joye 9907c0e3e8 - Update the libmagic.patch 2010-02-04 09:42:06 +00:00
Pierre Joye a10aaa35e9 - Fixed a possible open_basedir/safe_mode bypass in session extension 2010-02-04 09:40:38 +00:00
Pierre Joye 295b7bb34d - Fixed crash in ZTS mode due to ini values not being initialized 2010-02-04 09:37:38 +00:00
Pierre Joye 9e16810a3d - fix leak 2010-02-04 09:31:09 +00:00
Pierre Joye 67ec39e86b - don't go through the reparse code when we have a share or DFS path 2010-02-04 09:29:24 +00:00
Pierre Joye 227cca88c7 - fix leak in the realpath cache, win only 2010-02-04 09:27:40 +00:00
Pierre Joye 979052f70b - fix leak when the SID is already used and duplicated, windows only 2010-02-04 09:25:09 +00:00
Pierre Joye 56b859b607 - Fixed bug #50859 (build fails with openssl 1.0 due to md2 deprecation) 2010-02-04 09:23:22 +00:00
Pierre Joye 0b9c4463b7 - [doc] #45986, bad file descriptor warning when rename is used with invalid path 2010-02-04 09:21:02 +00:00
Pierre Joye d464de88e2 - Fixed bug #50832 (HTTP fopen wrapper does not support passwordless HTTP 2010-02-04 09:17:20 +00:00
Pierre Joye 639d24ee08 - Ensure that stderr output are not buffered, portability for tests 2010-02-04 09:13:14 +00:00
Pierre Joye 4db44d2205 - pls don't add .swp/bak/etc 2010-02-04 09:11:00 +00:00
Pierre Joye 39ff9ec3ec - #50690, putenv does assign value when their length is one char on windows 2010-02-04 09:08:57 +00:00
Pierre Joye a7584fbbe3 - make getservbyname on windows behaves like *nux when proto is an empty string 2010-02-04 09:04:37 +00:00
Pierre Joye f5edfecaec - prevent possible crash when error/warnings are raised during startup on windows 2010-02-04 09:02:19 +00:00
Pierre Joye 14c843fd88 - Overlong hostnames breakthistest on NIS enabled FreeBSD 2010-02-04 08:58:49 +00:00
Pierre Joye 25dfc9457d Fixed bug #50829 (php.ini directive pdo_mysql.default_socket is ignored) 2010-02-03 21:00:20 +00:00
Pierre Joye 3cdecf365b - Updated to version 2010.1 2010-02-03 20:57:08 +00:00
Pierre Joye 9202398a35 - Fixed bug #50756 (CURLOPT_FTP_SKIP_PASV_IP does not exist.) 2010-02-03 20:53:31 +00:00
Pierre Joye 4c8a92f913 - fix test 2010-02-03 20:50:38 +00:00
Pierre Joye fd45079159 - Fixed bug #50791 (Compile failure: Bad logic in defining fopencookie emulation 2010-02-03 20:49:03 +00:00
Pierre Joye 65a2bc180e - fix libgd FS100 (spurious horizontal line drawn by gdImageFilledPolygon) 2010-02-03 20:46:41 +00:00
Pierre Joye bbe65b07d7 - Fix gcc version check - bug #50771 2010-02-03 20:44:43 +00:00
Pierre Joye 7fb35c0d05 - fix wrong type and useless assignments 2010-02-03 20:42:50 +00:00
Pierre Joye 5cdc02daef - Don't free soap_headers just before comparing the length. This causes SoapClient.. 2010-02-03 20:29:09 +00:00
Pierre Joye 2ed5e109c7 -fix tests 2010-02-03 20:26:26 +00:00
Pierre Joye c760ca2743 - Upgraded bundled sqlite to version 3.6.22 2010-02-03 20:23:53 +00:00
Pierre Joye 5ec9dbfad6 - Fixed bug #50787 (stream_set_write_buffer() has no effect on socket streams). 2010-02-03 20:21:40 +00:00
Pierre Joye bd7a8c3b55 - Fixed bug #50761 (system.multiCall crashes in xmlrpc extension). 2010-02-03 20:19:05 +00:00
Pierre Joye 822d0f17fe - kill/update old docs 2010-02-03 20:16:21 +00:00
Pierre Joye 7620f18599 - Fixed bug #48811 (Directives in PATH section do not get applied to subdirector 2010-02-03 20:13:18 +00:00
Pierre Joye aca44dde04 Worked with Samy Kamkar to improve LCG entropy. 2010-02-03 20:10:35 +00:00
Pierre Joye fa919a4891 Bug #47281 ( is limited in size of characters). Also remove redundant code line 2010-02-03 20:08:42 +00:00
Pierre Joye f37142f337 - fix bug #49463 (setAttributeNS fails setting default namespace) 2010-02-03 20:04:38 +00:00
Pierre Joye 8a017aff9f - Bump version in early preparation for release 2010-02-03 20:00:49 +00:00
Pierre Joye b6b58d3958 - Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0) 2010-02-03 19:48:04 +00:00
Pierre Joye 7ed7e0e304 - Fixed bug #50680 (strtotime() does not support eighth ordinal number). 2010-02-03 19:44:23 +00:00
Pierre Joye 59cd709602 - Fixed bug #49560 (oci8: using LOBs causes slow PHP shutdown) 2010-02-03 19:37:35 +00:00
Pierre Joye e08d410d98 - Revert commit 292222. It's not needed anymore to specify c99. 2010-02-03 18:52:17 +00:00
Pierre Joye f599aa59c3 - year++ 2010-02-03 18:47:13 +00:00
Pierre Joye a033ab55f3 fix bug #50661 (DOMDocument::loadXML does not allow UTF-16) 2010-02-03 18:41:27 +00:00
Pierre Joye 20d70b186b - Addressing minor leak noticed while addressing bug #48590 2010-02-03 18:38:11 +00:00
Pierre Joye ec64f45282 - Fixed bug #50576 (XML_OPTION_SKIP_TAGSTART option has no effect). 2010-02-03 18:35:58 +00:00
Pierre Joye e75a645121 - merge fix build for sha 2010-02-03 18:29:52 +00:00
Pierre Joye 5be6666b3b -merge: imagepolygon() and imagefilledpolygon() does not allow negative number of points 2010-02-03 18:15:16 +00:00
Pierre Joye 7f2ad54e02 - merge: Fixed bug #50732 (exec() adds single byte twice to array). 2010-02-03 18:11:24 +00:00
Pierre Joye ff708d0f50 - merge info 2010-02-03 18:08:05 +00:00
Pierre Joye 2c0c185700 - Fixed bug #50519 (segfault in garbage collection when using set_error_handler an.. 2010-02-03 18:07:25 +00:00
Pierre Joye ca46cf3de5 - merge info 2010-02-03 17:55:57 +00:00
Pierre Joye dc4fdaa861 - Merge: use png_sig_cmp to support libpng 1.4, old is deprecated already in older vers 2010-02-03 17:47:28 +00:00
Pierre Joye a617a56cfd - Merge #49600 (imageTTFText text shifted right) 2010-02-03 17:41:00 +00:00
Johannes Schlüter e31a3f01d9 merge r293144 - Added test case for bug #50632 (iliaa) 2010-01-28 01:45:47 +00:00
Johannes Schlüter c44d80de9e merge r293131 - Fixed bug #48590 (SoapClient does not honor max_redirects)
(srinatar)
2010-01-27 17:42:17 +00:00
Johannes Schlüter 23441ef90c merge r293126 - [doc] add support for DISABLE_AUTHENTICATOR in imap_open (fix
#33500) (pajoye)
2010-01-27 17:36:46 +00:00
Johannes Schlüter 0e26c0d93e Merge r293114: add ICU resource bundle support, contributed by Hans-Peter Oeri
(stas)
2010-01-27 17:29:38 +00:00
Johannes Schlüter 8137470f63 merge r293075: Update copyright year in the man file (iliaa) 2010-01-27 17:24:34 +00:00
Johannes Schlüter 96107ed2ca merge r293051: Fixed bug #50632 (filter_input() does not return default value if
the variable does not exist) (iliaa)
2010-01-27 17:22:54 +00:00
Johannes Schlüter f61ee70de6 merge r292823 Fixed bug #44827 (define() allows :: in constant names). (iliaa)
and r293974 Added test case for bug #44827 (iliaa)
2010-01-25 23:41:18 +00:00
Johannes Schlüter 927580e795 Merge rfc1867.c changes
r292762 - Fixed bug #48190 (Content-type parameter "boundary" is not case-
   insensitive in HTTP uploads). (iliaa)
r292771 - WS + CS + folding tags (jani)
r292777 - Sync with HEAD (jani)
2010-01-25 23:26:15 +00:00
Johannes Schlüter acaa7fd01d Merge -r292683 Share the php_sockets.h header (mkoppanen) 2010-01-25 23:12:42 +00:00
Johannes Schlüter 3e8a63f409 merge r292677: Along with the valid char set, also add a length check to the
session id here to avoid a lower-level error on the open() 
later on in case we exceed MAX_PATH.  The lower level open()
error includes the session dir path in it, so this is a very
low-priority security fix.  People should not be running
production systems with display_errors turned on. (rasmus)
2010-01-25 23:06:09 +00:00
Johannes Schlüter 415bd9115f Merge libmagic update
r292654 - Upgrade bundled libmagic to 5.03 (fixes CDF parsing related issues)
          (mkoppanen)
r292682 - spprintf the dbname (mkoppanen)
r292693 - Fixed ZTS build (felipe)
2010-01-25 22:43:29 +00:00
Johannes Schlüter a0638f421b Merge tidynode changes: (pierrick)
r292635 - Changed tidyNode class to disallow manual node creation.
r292719 - Set the tidyNode constructor private
r292765 - Add a test for tidyNode::__construct()
2010-01-25 17:29:37 +00:00
Johannes Schlüter 2c37c7203c merge r292632: remove automatic file unlocking on shutdown and/or stream close
(tony2001)
2010-01-25 17:15:41 +00:00
Johannes Schlüter f3fab11089 merge postgresql 8.5 test changes (mbeccati)
-r292630 - Updated pdo_pgsql tests to be 8.5+ friendly
-r292633 - Updated ext/pgsql tests to work w/ PostgreSQL 8.5
-r292634 - Removed spurious high-ascii char from previous commmit
2010-01-25 17:02:37 +00:00
Johannes Schlüter 3bbeb4a368 merge -r292624: Fixed bug #50519 (segfault in garbage collection when using
set_error_handler and DomDocument (dmitry)
2010-01-25 16:46:55 +00:00
Johannes Schlüter 42a4264f8e merge r292611: Added missing host validation for HTTP urls inside
FILTER_VALIDATE_URL. (iliaa)
2010-01-25 16:14:28 +00:00
Johannes Schlüter c8a83ccbb7 merge r292595: Changed stream_resolve_include_path to use zend_resolve_path
(mkoppanen)
2010-01-25 15:57:24 +00:00
Johannes Schlüter ba11bd5dcf merge r292594: fix the fix for #47409 (tony2001) 2010-01-25 14:11:32 +00:00
Johannes Schlüter 95c9768107 merge -r292574: - Update tests to reflect current behavior after fix for bug
#50185 (srinatar)
2010-01-25 14:07:05 +00:00
Johannes Schlüter 7cf2a0e138 merge r292571 fix flags handling in zend_parse_method_parameters_ex (stas) 2010-01-25 14:02:09 +00:00
Johannes Schlüter b99cab1921 merge r292566: cleanup some code, improve error handling (stas) 2010-01-25 13:59:35 +00:00
Johannes Schlüter 5ceb13932c merge r292562: -ws (jani) 2010-01-25 13:55:41 +00:00
Johannes Schlüter 9e84cce858 Merge mysql changes
292528 Unify. The typedef-ed structs in mysqlnd are always capitalized. (andrey)
293076 The internal zval cache has been removed and not been reintroduced... remove cor (uw)
293080 Tweaking test. Andrey, you once requested such a test, please have a look if it (uw)
293084 Fixing test(uw)
293085 The internal zval cache has been removed and not been reintroduced... remove cor (uw)
292986 Updating test to new libmysql feature set (first introduced in MySQL 6.0 but now (uw)
293229 Change of way the packet objects are created/initialised (andrey)
293273 add restart_psession and end_psession hooks (andrey)
293286 improve the stats subsystem. Reduce the number of macro definitions (andrey)
293287 export some calls to init/deinit code outside of the module (andrey)
293402 missed to commit to the branch (andrey)
293407 Rework the statistics macros to be reusable by external entities. (andrey)
293418 missed to commit in 5_3, here it comes, reusability of stats (andrey)
293424 remove extern defintion of a variable that is no more (andrey)
293428 cosmetics. typedef-ed types should be in capital case (andrey)
293429 removed stale export (andrey)
293430 more typedef cosmetics (andrey)
293504 make mysqlnd's tracing API more reusable (andrey)
293512 more PHPAPI for phpize-d builds (andrey)
293535 Fix build of mysqli when libmysql is used, mysqlnd_portability.h (andrey)
293537 removed redefinition of bit_uint8korr (andrey)
293539 Fix compiler warning (andrey)
293542 Fix compiler warning, copy&paste error (andrey)
293723 fix windows (andrey)
293725 Make it GCC only feature (tracing). VC7 and up do the work (andrey)
2010-01-20 17:09:28 +00:00
Johannes Schlüter 92b59f81d0 Merge 292549: Fixed bug #47409 (extract() problem with array containing word
"this"). (iliaa)
2010-01-20 16:07:10 +00:00
Johannes Schlüter c73740afec merge 292519: fix minor leak in CGI sapi (happened once per child) (tony2001) 2010-01-20 16:02:28 +00:00
Johannes Schlüter cec7da17ec Merge 292504: Where using svn now, use svn paths (johannes) 2010-01-20 15:59:56 +00:00
Sebastian Bergmann db03563e2d sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php 2010-01-05 20:46:53 +00:00
Sebastian Bergmann df23567639 sed -i "s#1998-2009#1998-2010#g" **/*.re **/*.y **/*.l 2010-01-05 20:40:23 +00:00
Sebastian Bergmann 92feaf1b39 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Sebastian Bergmann 0d91dea9d3 sed -i "s#1997-2009#1997-2010#g" **/*.re **/*.y **/*.l 2010-01-03 08:22:14 +00:00
Johannes Schlüter db569a3dc4 back to -dev 2009-12-22 22:06:47 +00:00
Johannes Schlüter f25081724b PHP 5.3.2RC1 2009-12-22 22:02:50 +00:00
Johannes Schlüter 8d662076c4 release branch 5.3.2 2009-12-22 21:43:59 +00:00
Johannes Schlüter 5927cec714 Wrap at 80 chars 2009-12-22 21:17:58 +00:00
Johannes Schlüter c764995c8e install mysqlnd headers to allow shared build of extensions 2009-12-22 19:30:09 +00:00
Andrey Hristov c95fa280ed Fix double calls to free_contents if the connection cannot be
opened. mysqlnd have no probs, external code should not have too.
In any case, double call is not needed.
2009-12-22 17:44:42 +00:00
Andrey Hristov e1251edc16 move state setting to the right place, in mysqlnd_init, no more
in mysqlnd::connect
2009-12-22 17:31:31 +00:00
Pierre Joye 9309f2bf64 - fix build and warning (introduced by my last commit) 2009-12-22 14:57:57 +00:00
Jani Taskinen 294401cfa0 - Fixed bug #50517 (EXTRA_LDFLAGS polluted by wrong entries)
# Until someone shows me use case for LDFLAGS, this is gone.
# This was wrong place to import it anyway.
2009-12-22 09:57:19 +00:00
Moriyoshi Koizumi 7d9a7dbad6 - Fix bug #46478 (htmlentities() uses obsolete mapping table for character
entity references)
2009-12-22 05:50:34 +00:00
Ilia Alshanetsky 800519fcbb Fixed bug #45599 (strip_tags() truncates rest of string with invalid attribute). 2009-12-22 02:04:12 +00:00
Derick Rethans bfa1c91d9b - Updated to version 2009.20 (2009t) 2009-12-21 20:46:12 +00:00
Sriram Natarajan 20cd29d0a2 Fixed bug #50540 (Crash within ldap_first_reference function) 2009-12-21 20:39:48 +00:00
Stanislav Malyshev baaec77e78 clean up normalizer code 2009-12-21 20:12:46 +00:00
Andrey Hristov 41ac91aecf Move this function to MYSQLND_NET as it works on the
php stream
2009-12-21 16:52:10 +00:00
Andrey Hristov ce349e3540 magic numbers to macros 2009-12-21 16:17:31 +00:00
Andrey Hristov b4477669b4 Move compression and decompression code to separate functions
which can be overloaded on purpose.
2009-12-21 16:09:13 +00:00
Jani Taskinen 4bba459d8f - Sync (and KEEP it synced!) 2009-12-21 15:44:58 +00:00
Jani Taskinen d0a956c2b7 - Tune the fix for bug #50508 and make it work with MacOSX, bug #50541. 2009-12-21 15:22:40 +00:00
Felipe Pena e83e52eba1 - New tests 2009-12-20 22:04:55 +00:00
Stanislav Malyshev ae70213177 Fixed bug #50196 stream_copy_to_stream() produces warning when source is not file 2009-12-19 01:15:30 +00:00
Stanislav Malyshev 0401c6ca2d fix bug #50196 2009-12-19 01:13:33 +00:00
Stanislav Malyshev e665b0955a Fixed bug #50394 (Reference argument converted to value in __call) 2009-12-18 19:20:33 +00:00
Stanislav Malyshev fc1e17ee76 fix regression bug #50394: Reference argument converted to value in __call 2009-12-18 19:12:11 +00:00
Jani Taskinen b7608c91e4 touch 2009-12-18 12:48:59 +00:00
Jani Taskinen 52f83608d8 - Fixed bug #50508 (compile fails: Conflicting HEADER type declarations)
# NEVER ever include nameser_compat.h, it's included in various ways in different OSes by nameser.h if needed
2009-12-18 11:02:07 +00:00
Pierre Joye dea1d412e1 - [DOC] add INTERNALDATE to imap_append (will merge to trunk later) 2009-12-17 17:28:26 +00:00
Jani Taskinen 215dd9d02c - These are 2 separate sections.. 2009-12-17 16:10:53 +00:00
Ulf Wendel e2a2205a58 Test for what Andrey has found with 16M packets 2009-12-17 14:15:28 +00:00
Andrey Hristov 028bd4ba02 refactoring : move more network related functions to
mysqlnd_net.c . Now communication is split on two levels:
- logical (functions send and receive)
- physical (functions network_read and network_write)
2009-12-17 13:29:46 +00:00
Andrey Hristov 22528b14a4 During refactoring of the function mysqlnd_stream_write_w_header() it was
found that there is a bug in the way the data is sent, although a very rare
one which will only affect very large queries which have length 16777214. The
communication will hang. A way to test it is to execute the following:
./php -r '$c=mysqli_connect("127.0.0.1","root","root","test");
$q="insert into test.tblob values(\"".str_repeat("a",256*256*256-1-34)."\")";
$c->query($q);'
2009-12-17 12:30:58 +00:00
Sriram Natarajan 4e06ca007f - Fix NEWS for bug #50496
# Update NEWS to keep resolved bugs in decreasing order (Christopher Jones)
2009-12-16 21:33:20 +00:00
Sriram Natarajan cbc6619fe3 - Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation environment.) 2009-12-16 20:49:08 +00:00
Andrey Hristov d233b0b2af call free_contents in every case, in case something is not freed
by the calling code
2009-12-16 14:38:30 +00:00
Andrey Hristov a1ef2d9fb3 Remove unneeded dereferences
(oops, committed the trunk changes from a wrong directory, which splitted
this commit).
2009-12-16 14:06:09 +00:00
Andrey Hristov b3546d1b5e move MYSQLND_NET code to a separate file.
mysqlnd_wireprotocol is about the protocol not the transport
layer
2009-12-16 12:59:38 +00:00
Pierre Joye 6ec6a9d62e - add a test case and update the skip clause 2009-12-16 10:09:34 +00:00
Andrey Hristov 5e1c95fda4 remove duplicated code 2009-12-15 17:39:30 +00:00
Andrey Hristov c101f7f542 Move code out of mysqlnd_conn::connect to mysqlnd_net::connect.
Thus mysqlnd_conn::connect() does less of what it should not do - think
about the transport level.
2009-12-15 17:33:06 +00:00
Andrey Hristov 70690e1163 remove C++ comments 2009-12-15 14:48:24 +00:00
Andrey Hristov 523471f7e8 export this function 2009-12-15 14:26:24 +00:00
Andrey Hristov 0371ef1070 refactor: move code that belongs to MYSQLND_NET out of MYSQLND 2009-12-15 13:13:51 +00:00
Ilia Alshanetsky d0f6848e66 Fixed bu #50392 (date_create_from_format() enforces 6 digits for 'u' format character) 2009-12-15 12:34:12 +00:00
Jani Taskinen 4e10081f8f - Make $sbindir be usable in C code as well (like $bindir and co.) 2009-12-15 11:17:47 +00:00
Jani Taskinen def4e7c0e6 - Allow using $sbindir as well 2009-12-15 10:55:27 +00:00
Felipe Pena c00a91a024 - Added SKIPIF 2009-12-15 00:37:43 +00:00
Felipe Pena 286f36e702 - Fixed memory leak when E_STRICT message is getted 2009-12-14 21:44:56 +00:00
Jani Taskinen 9f210d53cc - Fix test 2009-12-14 09:42:55 +00:00
Jani Taskinen 16dbf3060b - Fix test 2009-12-14 09:26:49 +00:00
Pierrick Charron c2fccc1606 - Fixed bug #50469 (Fixed typo in imagepsencodefont error string). 2009-12-14 04:09:18 +00:00
Pierrick Charron 7d4643193d - Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures) 2009-12-14 03:44:33 +00:00
Felipe Pena 35ad330849 - Improved the bug#49174 entry summary 2009-12-13 20:51:15 +00:00
Felipe Pena 85f96a8132 - Completing the phrase 2009-12-13 20:04:44 +00:00
Felipe Pena 93a406ac9c - Fixed bug #49174 (crash on queryString set) 2009-12-13 19:53:44 +00:00
Felipe Pena 4411621217 - Fixed bug #50209 (Compiling with libedit cannot find readline.h)
(patch by tcallawa at redhat dot com)
2009-12-13 17:06:47 +00:00
Felipe Pena eb3eea2669 - Fixed tests for when running using libedit 2009-12-13 16:53:24 +00:00
Ilia Alshanetsky d56c1fdf14 Fixed bug #50451 (http wrapper breaks on 2048 char long headers)
# Improvement on the fix for bug #49851
2009-12-13 15:44:22 +00:00
Felipe Pena 81ad353ec2 - Fixed bug #50464 (declare encoding doesn't work with)
# The bug (BC) only happens in this branch.
2009-12-13 15:18:58 +00:00
Felipe Pena 5eae703705 - Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault).
(Original patch by davbrown4 at yahoo dot com)
2009-12-11 22:30:46 +00:00
Pierre Joye af206a90ae - fix build, come on, it is not that hard to test before commit, is it? 2009-12-11 16:35:42 +00:00
Pierre Joye a2cf15fcc6 - #50334, add sha support for VC6 too, not merged in trunk as we don't support vc6 there 2009-12-11 16:07:57 +00:00
Pierre Joye 560ed89bfb - #50334, use our own implementations of stpncpy and mempcy, avoiding weird behaviors on certain platforms like solaris 2009-12-11 15:57:01 +00:00
Jani Taskinen b9ac76c51c - Fix test 2009-12-11 15:38:15 +00:00
Jani Taskinen 70a2b56337 fix test 2009-12-11 15:06:50 +00:00
Andrey Hristov 13c8bba00a Make MYSQLND_NET dynamically allocated structure with allocator
and deallocator. More member functions will come.
2009-12-11 11:58:57 +00:00
Jani Taskinen 35a4d5831b Fix test 2009-12-11 10:55:56 +00:00
Andrey Hristov a9295f0343 remove stale comment 2009-12-11 10:21:34 +00:00
Andrey Hristov 0c7a9b8010 Move two functions which are used in the extension as methods of
the connection. Two functions less in the global namespace.
2009-12-11 10:18:00 +00:00
Jani Taskinen 03a47e9b03 - Fix problem with SKIPIF failing to skip in some cases (deprecated warnings f.e.) 2009-12-11 07:34:06 +00:00
Christopher Jones 1aebd220f8 Add new 'fetch' test and make several small test fixes 2009-12-10 19:07:08 +00:00
Christopher Jones e435285b39 Remove text recently merged to online doc 2009-12-10 17:28:19 +00:00
Pierre Joye f59f7a3f49 - #50334, add define on win as well 2009-12-10 14:08:19 +00:00
Andrey Hristov a633de0020 bump version number 2009-12-10 11:59:14 +00:00
Andrey Hristov 00d76a8445 Add plugin storage for MYSQLND_STMT too 2009-12-10 11:18:05 +00:00
Andrey Hristov c8c250df80 Fix pdo build, forgot to remove the zval caching from pdo-mysql 2009-12-10 09:35:10 +00:00
Jani Taskinen 01eae78ec3 - not needed anymore 2009-12-10 09:23:06 +00:00
Jani Taskinen 5e7fddab93 - Fix test mess (testing the deprecated ini option is pointless when using the func does same thing) 2009-12-10 09:22:54 +00:00
Ilia Alshanetsky 47b3371122 Fixed bug #49851 (http wrapper breaks on 1024 char long headers). 2009-12-10 03:23:05 +00:00
Pierre Joye 7179910573 - [DOC] expose MPIR version when mpir is used instead of gmp 2009-12-10 02:25:47 +00:00
Andrey Hristov 06a417b6a9 Remove stub code which never actually was used for anything.
Things like this can be built on top of the core.
2009-12-09 20:38:11 +00:00
Andrey Hristov 6f598e62ff Remove the zval caching from mysqlnd. It was disabled versions ago
due to problems on windows, which were not debugged. Better have 
code that is disabled not in the core.
2009-12-09 20:21:05 +00:00
Andrey Hristov d8a8d823ce Fix compilation warnings 2009-12-09 18:11:03 +00:00
Pierre Joye 8d58b31495 - #50334, fix build for platform without endian.h (like solaris) 2009-12-09 17:40:19 +00:00
Andrey Hristov 4d2735007d Remove disabled code - threaded fetching. This can be implemented
on a upper level and by offloading it we reduce the complexity of
the core.
2009-12-09 16:57:03 +00:00
Jani Taskinen 64fb1fca1f - Add one test from HEAD 2009-12-09 13:25:10 +00:00
Ulf Wendel 671ebe958a Adapting tests to accept actual behaviour found in 5.2, 5.3 and 6.0. The behaviour is wrong according to the documentation: mysqli_connect_error() should return an empty string (not NULL), if there is no error. However, changing this would break BC and most users will not notice the difference between NULL and empty string anyway. 2009-12-09 12:06:10 +00:00
Pierre Joye bf377f6aab - #50334, add missing file 2009-12-09 10:39:03 +00:00
Jani Taskinen 6dff9d7632 FIFO 2009-12-09 10:15:34 +00:00
Pierre Joye 77afccc28c - #50334, add CRYPT_SHA* constants and tests [DOC] 2009-12-09 01:43:23 +00:00
Pierre Joye 6a9f96f267 - update 2009-12-09 00:35:30 +00:00
Pierre Joye 2e6c08b289 - drop non used code and fix warning 2009-12-09 00:32:14 +00:00
Pierre Joye 9001b4036a - #50334, crypt ignores sha512 and add support for sha256/512 to php's crypt [DOC] 2009-12-09 00:20:14 +00:00
William Martin d06e06007a Backported 5.3 tests to 5.2 and added more RecursiveIteratorIterator tests 2009-12-08 19:51:56 +00:00
Jani Taskinen c4819e9ff3 MFH: static before const 2009-12-08 17:30:22 +00:00
Ilia Alshanetsky 752b9fde5a Upgraded to Sqlite 3.6.21 2009-12-08 13:24:27 +00:00
Dmitry Stogov 76c445dd73 - Forgotten patch for trunk
- Fixed stdin filename in error messages
2009-12-08 10:16:38 +00:00
Jani Taskinen 0e218d3512 FIFO 2009-12-08 06:19:56 +00:00
Felipe Pena a94558c855 - Added MAKE_COPY_ZVAL(ppzv, pzv) macro 2009-12-08 01:57:37 +00:00
Stanislav Malyshev a9044795da ouch, that ZTS 2009-12-08 01:57:16 +00:00
Stanislav Malyshev 327cf380e8 win32 should have different test 2009-12-08 01:52:57 +00:00
Felipe Pena da22aa9aad - Fixed ZTS build 2009-12-08 01:51:34 +00:00
Stanislav Malyshev 90df6f2ca2 add "no params" check 2009-12-08 01:44:15 +00:00
Stanislav Malyshev 7beb1af8de add realpath cache inspect functions 2009-12-08 01:35:08 +00:00
Moriyoshi Koizumi 413196c574 - Take account of surrogate pairs. 2009-12-07 15:41:43 +00:00
Ilia Alshanetsky 2be6de0a50 Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension. 2009-12-07 13:43:44 +00:00
Dmitry Stogov 6ab5f53d52 Fixed bug #49866 (Making reference on string offsets crashes PHP) 2009-12-07 08:47:18 +00:00
Dmitry Stogov 7a96fdff4c Fixed bug #50351 (performance regression handling objects, ten times slower in 5.3 than in 5.2. foreach statement should not initiate GC) 2009-12-07 08:14:48 +00:00
Jani Taskinen 4963d99213 - Fix NEWS 2009-12-07 07:30:41 +00:00
Pierrick Charron 99ba48dc60 Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN even in the middle of a string). 2009-12-06 21:32:58 +00:00
Ilia Alshanetsky bf550fe8da Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN). 2009-12-06 19:34:12 +00:00
Felipe Pena 30188d3c58 - Fixed bug #50162 (Memory leak when fetching timestamp column from Oracle database)
- Fixed bug #34852 (Failure in odbc_exec() using oracle-supplied odbc driver) (patch by tim dot tassonis at trivadis dot com)
2009-12-06 18:53:16 +00:00
Sriram Natarajan 77895623dc BFN 2009-12-06 16:43:46 +00:00
Felipe Pena 8afad00a16 - Fixed tests 2009-12-04 11:32:39 +00:00
Dmitry Stogov 5ab649e65f Fixed compilation 2009-12-04 07:11:37 +00:00
Stanislav Malyshev 3e6ac4fb6b protect http_session_vars from interrupt corruption
improve save_path check
2009-12-04 01:21:32 +00:00
Jani Taskinen 1f8638b1f1 bfn 2009-12-03 22:24:04 +00:00
Rob Richards 3fa1ea9731 fix bug #47848 (importNode doesn't preserve attribute namespaces)
add tests
2009-12-03 20:19:38 +00:00
Pierrick Charron e2efe4bc7b Fixed bug #45120 (PDOStatement->execute() returns true then false for same statement). 2009-12-03 15:24:43 +00:00
Felipe Pena 7914d298b4 - Fixed bug #49472 (Constants defined in Interfaces can be overridden) 2009-12-03 12:34:50 +00:00
Kalle Sommer Nielsen 1063c8346b MFT: VC10 build support 2009-12-03 11:50:32 +00:00
Andrey Hristov 0f0f5f229b I svn-commit.2.tmp (Modified) Row 2 Col 28 11:45 Ctrl-K H for help
fix compilation on windows and with other compilers who
don't like void* arithmetic
2009-12-03 10:50:02 +00:00
Pierre Joye 2386938aea - disable this debug code until it is actually fixed 2009-12-03 10:41:20 +00:00
Andrey Hristov bfc0ec1891 fix segfault introduced by Pierre in a recent commit
old code was doing something like
conn + sizeof(MYSQLND) * MYSQLND + plugin * sizeof(void) * sizeof(MYSQLND)
because `conn` is not casted to void*. `conn` has to be casted to void * and
then the whole experession will be void * and the calculations will work.
2009-12-03 09:43:26 +00:00
Jani Taskinen 28d53f8752 the order 2009-12-03 08:21:28 +00:00
Ilia Alshanetsky 6f3532a266 BFN 2009-12-03 00:11:58 +00:00
Gwynne Raskind ea03ad31b7 One change in trying to update Autoconf was missed. This makes phpize work again. 2009-12-02 17:42:58 +00:00
Jani Taskinen 572d0e32ef - Fix order 2009-12-02 12:09:06 +00:00
Andrey Hristov aead25f5f7 and the news 2009-12-02 11:59:24 +00:00
Andrey Hristov 2bc887e1d3 fix macro so that 5-byte BIT values are decoded correctly 2009-12-02 11:58:04 +00:00
Jani Taskinen 14c70e0959 - Fixed bug #50345 (nanosleep not detected properly on some solaris versions) 2009-12-02 08:54:50 +00:00
Jani Taskinen 4944354eec - Sync files 2009-12-02 08:22:05 +00:00
Rasmus Lerdorf 2bdd3538de Fix broken build.
This constant is not in older versions of MySQL.
2009-12-01 21:39:19 +00:00
Felipe Pena 9b8f2525aa - Fixed bug #49660 (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)
- Added LIBXML_PARSEHUGE constant to overrides the maximum text size of a
  single text node when using libxml2.7.3+. (Kalle)
[DOC]
2009-12-01 02:05:28 +00:00
Jani Taskinen af3adf8504 - Touché filés 2009-11-30 22:39:59 +00:00
Jani Taskinen 19d320ea05 - Fixed bug #50340 (php.ini parser does not allow spaces in ini keys) 2009-11-30 22:38:32 +00:00
Gwynne Raskind b2cc8c69dc The old Darwin hack is BROKEN and INCORRECT. It works only for Darwin 9, not 10, and uses an ugly CFLAGS hack that messes with the entire build. This version sets one cached value to the correct result for Darwin 9 and 10. It's cleaner, has no side effects, has nothing to do with Autoconf versions, and works for everyone. 2009-11-30 21:38:44 +00:00
Jani Taskinen 50a24392e9 - Fix tests assuming wrong ini options and extensions that might not be there 2009-11-30 20:31:52 +00:00
Arnaud Le Blanc c9016a4383 news 2009-11-30 15:43:36 +00:00
Jani Taskinen 39f3ede145 bfn 2009-11-30 15:16:50 +00:00
Jani Taskinen c1aa547b18 - Fixed bug #50231 (Socket path passed using --with-mysql-sock is ignored when mysqlnd is enabled) 2009-11-30 15:11:29 +00:00
Dmitry Stogov b26c9d400d Fixed bug #50168 (FastCGI fails with wrong error on HEAD request to non-existant file) 2009-11-30 14:43:22 +00:00
Dmitry Stogov 2ad406e518 Fixed bug #50159 (wrong working directory in symlinked files) 2009-11-30 14:21:23 +00:00
Jani Taskinen d261e6f4a2 - Restore configure.in before the madness started 2009-11-30 14:08:33 +00:00
Arnaud Le Blanc 7c0803a8ca merge from trunk: openssl sni support (rev 289831) 2009-11-30 13:31:53 +00:00
Dmitry Stogov 832e181304 Reverted accidental change 2009-11-30 12:27:18 +00:00
Dmitry Stogov 5c56abb6e3 Fixed bug #50261 (Crash When Calling Parent Constructor with call_user_func()) 2009-11-30 11:39:53 +00:00
Pierre Joye 2a3ec70d10 - void is NaN, you can't do math ops on void. Declarations go first. Fix TS build 2009-11-30 10:56:01 +00:00
Pierre Joye 8109abba8b - MFH: vs2010 detection support, restore /W3 2009-11-30 09:52:33 +00:00
Jani Taskinen 16450418b1 - Revert bad patch 2009-11-30 08:31:32 +00:00
Gwynne Raskind 477649cd3f re-committing: unsetting LIBS and LDFLAGS just makes it impossible to specify LDFLAGS from the environment. keeping them doesn't seem to cause any trouble 2009-11-30 08:18:44 +00:00
Gwynne Raskind f275cd0815 once and for all remove the old broken Darwin hack, replace it with the new and much cleaner and simpler one 2009-11-30 08:17:13 +00:00
Jani Taskinen f1ffc9b2e8 - Revert bad patch 2009-11-29 18:08:38 +00:00
Stanislav Malyshev 8b64f74baa proper fix for bug #50006
add modify protection to all user array sorts
2009-11-29 08:35:01 +00:00
Rasmus Lerdorf 937358ebc7 Revert attempt at supporting both autoconf 2.13 and
modern versions in the same build chain.  There are
simply too many broken things in 2.13 to make it work.
Cache handling is broken as well which is why I need
to revert the pdo_inc_path cache fix as well.

trunk is now 2.60+ only and I'll work on cleaning out
all the legacy cruft from there.
2009-11-29 06:13:22 +00:00
Stanislav Malyshev 20ee379007 fix interrupt problem in serialize() 2009-11-29 04:38:46 +00:00
Rasmus Lerdorf deec59ab2c Last attempt to get this stuff right before punting it
and being stuck on 1996 autoconf for eternity
2009-11-29 03:32:54 +00:00
Rasmus Lerdorf 7cdd773081 More work on the autoconf 2.13->2.60+ transition code.
2.13 should be working again with one weird libtool issue
left to solve.  It doesn't seem directly related to this
stuff.
2009-11-28 23:06:54 +00:00
Gwynne Raskind 8d169e42de socket location needs to be checked before mysqlnd in order for --with-mysql-sock to work with mysqlnd 2009-11-28 21:11:39 +00:00
Gwynne Raskind 21a6e1f962 unsetting LIBS and LDFLAGS just makes it impossible to specify LDFLAGS from the environment. keeping them doesn't seem to cause any trouble 2009-11-28 19:48:38 +00:00
Gwynne Raskind d271615ba4 Remove the now-unnecessary (and wrong anyway) Darwin hack 2009-11-28 19:19:11 +00:00
Rasmus Lerdorf c9ab4df521 This macro needs to come after AC_INIT 2009-11-28 18:56:20 +00:00
Rasmus Lerdorf 6961cd023a Ok, new attempt. Require autoconf-2.60 in this branch.
This simplifies things quite a bit by entirely getting
rid of the m4 diversions which were messing things up.
Now we are using the built-in autoconf diversions the
way they were intended and the HELP output order is
preserved through the AC_PRESERVE_HELP_ORDER macro 
which was introduced in autoconf-2.59c

The next thing to clean up are the template warnings
and I want to get to the bottom of the cache warning
we generate as well.  Now that I fixed the _cv_ stuff, 
I am not sure that is still a valid warning.
2009-11-28 17:56:03 +00:00
Jani Taskinen c4d350632b - Use correct revision 2009-11-28 00:47:42 +00:00
Jani Taskinen 2e5546d71e - Fixed bug #50266 (conflicting types for llabs) 2009-11-28 00:38:05 +00:00
Jani Taskinen e8e213ca01 - No dots here 2009-11-28 00:35:56 +00:00
Jani Taskinen b55675e517 - Fix bad merge (Sorry Ilia..) 2009-11-28 00:06:54 +00:00
Rasmus Lerdorf befa23748a Fix bug #50315 2009-11-27 23:41:13 +00:00
Jani Taskinen 47a9c71dcc - Fixed bug #49935 (Deprecated warnings make "make test" to fail) 2009-11-27 23:34:36 +00:00
David Soria Parra 7957efe4d4 Use extended base if we build again gmp 4.2.0 which is usually available. 2009-11-27 22:24:44 +00:00
Jani Taskinen 9cfacabe55 - Re-fixed bug #47104 (Linking shared extensions fails with icc) 2009-11-27 12:50:29 +00:00
Jani Taskinen 2457e0bbc8 - Restore sanity in the NEWS. (duplicate, wrong order, etc..) 2009-11-27 09:20:43 +00:00
Ilia Alshanetsky eae259b7ea Fixe build 2009-11-27 03:02:01 +00:00
Andrey Hristov 1cf1cb3015 fix debug windows build as well as remove a compilation warning
(a header not included)
2009-11-26 11:10:47 +00:00
David Soria Parra 99c43e1b93 Also allow base 62 for gmp_init as requested in (#50283) 2009-11-25 23:38:34 +00:00
David Soria Parra 579a6e39de Really use 62 as the upper boundary as requested and not 32. 2009-11-25 18:15:25 +00:00
Ilia Alshanetsky 23f4da9113 Fixed bug #50195 (pg_copy_to() fails when table name contains schema). 2009-11-25 14:28:00 +00:00
Jani Taskinen bf7ed5eff5 - Fixed bug #49677 (ini parser crashes with apache2 and using ${something} ini variables) 2009-11-25 12:35:42 +00:00
Jani Taskinen afc44b981e ws 2009-11-25 12:26:10 +00:00
Jani Taskinen 2dddaac042 *sigh* 2009-11-25 07:48:43 +00:00
Pierre Joye 3d650105dd - merge NEWS from 5.3.1 2009-11-25 07:40:13 +00:00
Jani Taskinen 711e06d47e - Do not forget NEWS for 5.2.. 2009-11-25 07:21:38 +00:00
Rasmus Lerdorf b442bc3b79 The constructor generates that next line of output, so the expected
output had these 2 lines in the wrong order.  Test your tests!
2009-11-25 05:44:27 +00:00
Rasmus Lerdorf 4507292dfc And there is no 23,24,25 in this test at all. Perhaps these lines were
added to the wrong file by mistake?  Those were the same ones missing from
pdo_mysql___construct_options.phpt
2009-11-25 05:38:33 +00:00
Rasmus Lerdorf 04927191c7 Unless I am completely misreading this test case, these 3 lines at the
end should be in the expected output.
2009-11-25 05:29:57 +00:00
Rasmus Lerdorf 064a419827 Another test that doesn't work as root 2009-11-25 04:00:55 +00:00
Rasmus Lerdorf 978452be20 These tests don't work when run as root 2009-11-25 03:53:50 +00:00
Rasmus Lerdorf c072199d1e . 2009-11-25 02:42:03 +00:00
Felipe Pena 74d4059fb1 - Fixed bug #50285 (xmlrpc does not preserve keys in encoded indexed arrays) 2009-11-25 02:03:02 +00:00
Rasmus Lerdorf 58ae9eeb11 Missed a few - now it really works with autoconf-2.64+ 2009-11-25 01:36:41 +00:00
Rasmus Lerdorf 5a2b41a627 Someone strap down Jani and give him a sedative please.
This makes our toolchain work with the latest versions
of autoconf and avoids a lot of end-user grief.
2009-11-25 01:30:06 +00:00
Felipe Pena bb179ad150 - Fixed bug #50255 (isset() and empty() silently casts array to object) 2009-11-24 21:54:12 +00:00
Jani Taskinen 5c77b94e60 - Fix news 2009-11-24 14:14:13 +00:00
Andrey Hristov 4ebc0fdfbc Update charset table 2009-11-24 13:59:56 +00:00
Rasmus Lerdorf 99f469f707 Fix null deref found by Michael Maclean 2009-11-24 13:57:39 +00:00
David Soria Parra 18f32db810 Implement feature request #50283 (allow base in gmp_strval to use full range: 2 to 62, and -2 to -36) 2009-11-24 13:33:35 +00:00
Felipe Pena 2e35533fc6 - Fixed bug #50282 (xmlrpc_encode_request() changes object into array in calling function) 2009-11-24 11:32:31 +00:00
Jani Taskinen ebc1b9f13d Fixed bug #50267 (get_browser(null) does not use HTTP_USER_AGENT) 2009-11-24 00:18:16 +00:00
Felipe Pena a83156d5c1 - Added test for bug #50261 2009-11-23 23:07:07 +00:00
Jani Taskinen 5f8df17097 - Upgraded bundled libtool to 1.5.26 2009-11-23 21:53:30 +00:00
Olivier DOUCET db8c6d5dcf Adding IMAP tests (PHP 5.3) 2009-11-23 21:48:57 +00:00
Rasmus Lerdorf eab96b63ca Need the PCNTL extension loaded since that is where the SIGKILL constant comes from 2009-11-23 21:24:20 +00:00
Rasmus Lerdorf daf47a8519 This will only get a permission defined error if not running as root. 2009-11-23 21:13:26 +00:00
Rasmus Lerdorf 8af473e496 Don't try to remove an empty output_obj here.
This gets rid of the annoying:
rm: invalid argument: `'
I was seeing.
(I really shouldn't be hacking libtool)
2009-11-23 16:51:45 +00:00
Ilia Alshanetsky 755318926e Fixed bug #50240 (pdo_mysql.default_socket in php.ini shouldn't used if it is empty). 2009-11-23 15:45:04 +00:00
Rasmus Lerdorf f76c5282ae When Ilia fixed bug #49470 and removed the '/' as a valid
email char, he forgot to make the corresponding change in
filter test 033.
2009-11-23 14:54:57 +00:00
Rasmus Lerdorf c79d16d40b Pierre added certinfo to the curl info array, but that is
only available in newer versions of curl and this test
doesn't test for it.
2009-11-23 14:43:52 +00:00
Ilia Alshanetsky 0ebe3a7690 Extend the previously added large string concatenation validation 2009-11-23 04:12:36 +00:00
Jani Taskinen f395a2e34f - Fixed error_log() to be binary safe when using message_type 3 (message appended to file). 2009-11-22 18:31:01 +00:00
Pierre Joye 09cd363e35 - add tests dir 2009-11-22 12:33:14 +00:00
Felipe Pena f1d5433959 - Fixed bug #50258 (typos in error strings) 2009-11-21 19:43:00 +00:00
Brian Shire 0639396ac1 MFH: Fix phar regex test when '.php' is part of the path, instead be more specific with '.php$' regex. 2009-11-21 05:40:16 +00:00
Pierrick Charron 84ab9cd30e Fixed bug #50219 (soap call Segmentation fault on a redirected url). 2009-11-21 01:22:32 +00:00
Christopher Jones e53f363548 Mention account access so we can refer account-requestors to this README 2009-11-20 21:52:02 +00:00
Ilia Alshanetsky 51c17c413c Don't ignore the 2nd parameter to PDO's quote() method that identifies the data type 2009-11-20 18:54:08 +00:00
Andrey Hristov 5143fe41e2 Compressed protocol support + extensibility for mysqlnd 2009-11-20 08:12:14 +00:00
Christopher Jones 4e010297f1 New test 2009-11-19 17:44:46 +00:00
Christopher Jones ebb7a0d077 Refactor test 2009-11-19 16:49:58 +00:00
Ilia Alshanetsky 63e4efe784 Fixed bug #50207 (segmentation fault when concatenating very large strings
on 64bit linux).
2009-11-19 14:04:34 +00:00
Jani Taskinen a1269238fe - Fix news 2009-11-18 17:59:18 +00:00
Jani Taskinen 9a12e9a1f9 - Fixed "make test" in phpize builds when ini file(s) contain extension directives 2009-11-18 17:52:22 +00:00
Jani Taskinen b741b026a1 - Fixed bug #50185 (ldap_get_entries() return false instead of an empty array when there is no error).
# This is also revert of bad patch to bug #48469 and fixes it properly.
2009-11-18 17:44:58 +00:00
Ilia Alshanetsky b7bb8aa545 Fixed bug #50212 (crash by ldap_get_option() with LDAP_OPT_NETWORK_TIMEOUT). 2009-11-18 13:37:45 +00:00
Uwe Schindler bdef3ee350 Fix bug #50140: With default compilation option, php symbols are unresolved for nsapi 2009-11-17 21:17:49 +00:00
Rasmus Lerdorf 0ab68199d4 News entry for post_max_size fix 2009-11-17 20:41:47 +00:00
Rasmus Lerdorf 2e9c3ed919 Make it possible to disable post_max_size 2009-11-17 20:33:51 +00:00
Felipe Pena 5dd6b9ffa9 - Fixed bug #50145 (crash while running bug35634.phpt) 2009-11-17 11:18:40 +00:00
Felipe Pena c8faf7e13b - Added CG(encoding_declared) initialization 2009-11-16 22:52:00 +00:00
Derick Rethans 171f72061d - Updated to version 2009.19 (2009s) 2009-11-16 15:57:13 +00:00
Ilia Alshanetsky 2e13e89bd1 Simpify the max_file_uploads handling code 2009-11-16 13:34:57 +00:00
Felipe Pena f61a06350a - Switching to TSRMLS_FETCH version 2009-11-16 10:36:27 +00:00
Felipe Pena 5411bb32a8 - Fixed bug #49936 (crash with ftp stream in php_stream_context_get_option())
(patch by Pierrick)
2009-11-15 20:30:57 +00:00
Felipe Pena 64f530d182 - Improve test 2009-11-15 17:05:48 +00:00
Felipe Pena 8b456901f5 - Fixed bug #50158 (FILTER_VALIDATE_EMAIL fails with valid addresses containing = or ?).
(Patch by Pierrick)
2009-11-15 16:53:40 +00:00
Felipe Pena 4bafbf58f8 - Fixed bug #49521 (PDO fetchObject sets values before calling constructor)
(patch by Pierrick)
2009-11-15 16:20:37 +00:00
Jani Taskinen 3a9f74967d - Nuke ws 2009-11-15 00:31:42 +00:00
Rasmus Lerdorf 4e6b9899a5 Fix bug #49868
As far as I can tell this was a copy-paste induced bug when I added
the reset_signals flag to zend_set_timeout.
2009-11-15 00:21:31 +00:00
Jani Taskinen f1cf3fb185 - Temporary hack to fix bug #49816 (works fine in HEAD which has working output buffering..) 2009-11-15 00:13:19 +00:00
Christopher Jones 5fc8120bd6 New test 2009-11-14 23:28:53 +00:00
Felipe Pena fa2bb07a47 - Fixed bug #50174 (Incorrectly matched docComment) 2009-11-14 19:17:22 +00:00
Greg Beaver d7f50ac2c4 fix PHP Bug #49938: Phar::isBuffering() returns inverted value 2009-11-13 00:58:11 +00:00
Greg Beaver 2c248d1b50 fix completely random ordering of bugs in NEWS (what happened here?) 2009-11-13 00:41:37 +00:00
David Coallier 10ca1684cf - MFH: Added test for bug 49910 for phar 2009-11-12 17:47:17 +00:00
Christopher Jones c95b8ab1df Add auroraeos's article URL. Add IRC channels 2009-11-12 17:36:37 +00:00
Uwe Schindler d80507b7d9 As I am working on it, further improvement for bug #50087 2009-11-12 17:13:05 +00:00
Uwe Schindler 47189cac7b Fix bug #50087: NSAPI performance improvements 2009-11-12 15:19:35 +00:00
Johannes Schlüter 473d75475a Fix #50063 (safe_mode_include_dir fails) 2009-11-12 15:05:03 +00:00
Jani Taskinen a12240f5c7 bfn 2009-11-12 09:07:51 +00:00
Rasmus Lerdorf 4ce641d759 NEWS entries for mysqli crash fix bug 2009-11-12 08:26:43 +00:00
Rasmus Lerdorf c6502213b4 Fix bug #49098 2009-11-12 01:09:16 +00:00
Felipe Pena 48b6597dd3 - Fix typo 2009-11-12 00:44:43 +00:00
Felipe Pena 8f0a451747 - Fixed bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault) 2009-11-12 00:10:00 +00:00
Greg Beaver 01d9f2c9ce fix PHP Bug #49910: no support for ././@LongLink for long filenames in phar tar support 2009-11-11 21:02:59 +00:00
Christopher Jones 9933df614a Sigh. Fix grammar of title 2009-11-11 19:44:53 +00:00
Felipe Pena dcf91e6266 - Fixed bug #50146 (property_exists: Closure object cannot have properties) 2009-11-11 18:59:37 +00:00
Felipe Pena eea23b2794 - Fixed bug #50152 (ReflectionClass::hasProperty hehaves like isset() not property_exists)
[5_2 is OK]
2009-11-11 18:52:12 +00:00
Ilia Alshanetsky 34bd384898 typo fix 2009-11-11 13:49:21 +00:00
Christopher Jones d91f464e00 Add test for long fixed bug 2009-11-10 22:48:37 +00:00
Rasmus Lerdorf 315b9956b6 Fix bug #50129 2009-11-09 17:21:15 +00:00
Jani Taskinen 91cc127ce4 - Fix bad section names (extra - in the end..) 2009-11-09 17:08:48 +00:00
Derick Rethans 983e02ffb2 - Updated to version 2009.18 (2009r) 2009-11-09 15:39:15 +00:00
Rasmus Lerdorf 95a522a72c Fix bug #50124 2009-11-09 15:13:07 +00:00
Ilia Alshanetsky 6585a5af32 Upgraded bundled sqlite to version 3.6.20 2009-11-09 01:54:23 +00:00
Rasmus Lerdorf 188f1abfd4 Fix bug #50115 2009-11-08 15:18:10 +00:00
Felipe Pena 99497dea70 - Added SKIPIF 2009-11-08 15:02:54 +00:00
Felipe Pena 8f11dc62d5 - Fixed bug #50090 (Typo in IteratorIterator constructor) 2009-11-07 21:27:15 +00:00
Scott MacVicar 065167bdae Fix a typo 2009-11-06 09:02:52 +00:00
Christopher Jones 8883a631b9 Add pecl mail list 2009-11-06 02:09:47 +00:00
Christopher Jones f634f06f8d Update and fix grammar 2009-11-05 23:03:28 +00:00
andy wharmby 203da56982 Fix tests 2009-11-05 22:44:02 +00:00
Ilia Alshanetsky 9d095a6011 Make sure that max_file_uploads is set to 20 by-default in all places 2009-11-05 13:29:34 +00:00
Ulf Wendel d7f1cfe6a4 Fixing test: of course, libmysql won't care about open_basedir, but mysqlnd should 2009-11-05 12:14:08 +00:00
Ulf Wendel ea3ef35f19 Fixing test: it didn't do a select_db and gave a false-positive with libmysql 2009-11-05 11:51:21 +00:00
Jani Taskinen c4b9737695 - Missing entry 2009-11-05 11:33:32 +00:00
Dmitry Stogov cf4dc24743 Avoid invoking setitimer when timeouts have been disabled (Arvind Srinivasan) 2009-11-05 10:38:56 +00:00
Dmitry Stogov 10b30b51bc Fixed unnecessary invokation of setitimer when timeouts have been disabled (Arvind Srinivasan) 2009-11-05 09:33:19 +00:00
Matteo Beccati fa67c860e0 - Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).
# Removed usage of the memory address when generating prepared statemend names
# as uniqueness can't be enforced. Used a statment counter instead.
2009-11-04 19:32:27 +00:00
Matteo Beccati e6f4503f29 - Reverting previous fix for bug #49985
# Unmerged changes from revision 289924
2009-11-04 19:16:39 +00:00
Ulf Wendel 5ed0015f62 mysqli won't accept empty string for socket, skip test of mysqli.default_socket if test run does not use socket 2009-11-04 16:56:32 +00:00
Ulf Wendel 5ce96c2b3b Skipping if MySQL old password algorithm is in use as it seems to be the case on gcov.php.net 2009-11-04 16:09:07 +00:00
Ilia Alshanetsky 41611fd003 Fixed bug #50073 (parse_url() incorrect when ? in fragment). 2009-11-04 13:44:10 +00:00
Ulf Wendel 973d7badd5 Adding CLEAN sections and making tests portable between PHP 5 and PHP 6 by replacing string(n) with %unicode|string%(n) and similar. 2009-11-04 12:33:49 +00:00
Guenter Knauf 04448f215b added timezone define for NetWare. 2009-11-03 21:26:39 +00:00
Guenter Knauf 824692fab8 removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
2009-11-03 21:21:34 +00:00
Ulf Wendel 4a95aa3989 Fix for bug #49965 . Let mysqli_options() try to cast option values to the appropriate type. 2009-11-03 14:56:04 +00:00
Scott MacVicar e048c24d27 BFN 2009-11-03 12:23:54 +00:00
Scott MacVicar f03b175f7c Update PCRE to 8.00 2009-11-03 12:15:03 +00:00
Pierre Joye 26e3082abc - fix lenght for alloc and cpy (Kanwal) 2009-11-03 10:48:12 +00:00
Pierre Joye 826ca288e7 - Fixed #50052, Different Hashes on Windows and Linux on wrong Salt size 2009-11-02 20:46:52 +00:00
Felipe Pena 574b0882a1 - Fixed bug #49244 (Floating point NaN cause garbage characters). (patch by Sjoerd) 2009-11-02 17:37:32 +00:00
Derick Rethans ca8f7d9467 - Updated to version 2009.17 (2009q) 2009-11-02 16:12:20 +00:00
Ilia Alshanetsky 03ddb4f2b5 Fixed compiler warnings 2009-11-02 13:33:24 +00:00
Felipe Pena 779ce8fd00 - Fixed bug #49908 (throwing exception in __autoload crashes when interface is not defined) 2009-11-01 21:26:03 +00:00
Felipe Pena be32cb2268 - Fixed bug #50006 (Segfault caused by uksort()) [5_2 only] 2009-11-01 17:30:55 +00:00
Felipe Pena 8e91d46481 - Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class) 2009-11-01 15:12:34 +00:00
Takeshi Abe 94cb01177a Fixed a possible memory leak in case that FT_Glyph_To_Bitmap() fails 2009-11-01 05:04:35 +00:00
Stanislav Malyshev f7420d58da report collator_get_sort_key 2009-10-30 17:27:55 +00:00
Kalle Sommer Nielsen df0252a399 Set WINVER to Windows 2000 like in config.w32.h.in 2009-10-30 14:20:15 +00:00
Ilia Alshanetsky 1e50b1892a Fixed bug #50023 (pdo_mysql doesn't use PHP_MYSQL_UNIX_SOCK_ADDR)
# Original patch by six at aegis-corp dot org
2009-10-29 13:33:51 +00:00
Ilia Alshanetsky 8dae9275fc Lower the max upload default to 20 2009-10-28 13:04:42 +00:00
Stanislav Malyshev af0bfc8859 fix version 2009-10-27 23:21:00 +00:00
Jani Taskinen 1376b76e8c - You add, remove, fix or implement. Introduce yourself to someone else. 2009-10-27 22:15:19 +00:00
Felipe Pena 8ce58b2490 - Fixed bug #50018 (Typo in spl_limit_it_seek()) 2009-10-27 21:57:26 +00:00
Felipe Pena 361d6789f1 - Fixed memory leak in openssl_pkcs12_export_to_file() 2009-10-27 21:37:03 +00:00
Pierre Joye 1431ba235b - Fixed crash in com_print_typeinfo when an invalid typelib is given 2009-10-27 19:16:55 +00:00
Ilia Alshanetsky e2211cee86 Introduced a max_file_uploads INI setting, which is set to limit the
number of file uploads per-request to 100 by default, to prevent possible
DOS via temporary file exhaustion.
2009-10-27 16:13:48 +00:00
David Soria Parra e8359d3f90 - Fixed bug #49142 (crash when exception thrown from __tostring()) 2009-10-27 13:02:36 +00:00
Pierre Joye 89fec084f1 - #48752, crash during date parsing with invalid date 2009-10-27 10:41:45 +00:00
Stanislav Malyshev f22ef52836 add test 2009-10-26 22:37:26 +00:00
Stanislav Malyshev 65c1421f3f add collator_get_sort_key() 2009-10-26 22:35:48 +00:00
Derick Rethans 8b2735632e - Updated to version 2009.16 (2009p) 2009-10-26 14:09:23 +00:00
Ilia Alshanetsky ff5a2ce931 Fixed bug #49921 (Curl post upload functions changed). 2009-10-26 12:57:01 +00:00
Ulf Wendel 58f7c5f578 Updating test - no error message any more. Maybe the PDO core has changed... whatever, one issue less 2009-10-26 11:48:47 +00:00
Ulf Wendel ee36281037 Updating test, mysqlnd support init commands 2009-10-26 11:41:30 +00:00
Ilia Alshanetsky 42626ae6fa - Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction). 2009-10-26 02:02:28 +00:00
Jani Taskinen 70e8b40fc7 - Fixed bug #49990 (SNMP3 warning message about security level printed twice). 2009-10-25 20:17:04 +00:00
Pierre Joye bcf7db5f92 - #49986, fix ICU DLLs path 2009-10-24 19:52:23 +00:00
Johannes Schlüter 0a8fc25b7d Fix #49972 (AppendIterator undefined function crash) 2009-10-23 16:47:35 +00:00
Ulf Wendel 08db32e073 Fix: log slow queries in stats regardless of mysqlnd.log_mask setting. 2009-10-23 12:44:05 +00:00
Ilia Alshanetsky 855e8802bb Fixed test 2009-10-22 19:39:08 +00:00
Andrey Hristov 7b5ce9ab49 Don't forget to update the length too 2009-10-22 17:36:12 +00:00
Andrey Hristov f2814dd0df Have the lengths also to skip many calls to strlen 2009-10-22 17:07:55 +00:00
Ulf Wendel 629d8fe47e Updating mysqlnd version number. 2009-10-22 16:10:02 +00:00
Ulf Wendel 00654b8a06 Fixing stats, updating test to accept new stats 2009-10-22 16:05:33 +00:00
Andrey Hristov 1aad525c6e Move definition 2009-10-22 15:17:03 +00:00
Andrey Hristov a692479d21 Count number of affected_rows for normal and PS queries 2009-10-22 14:30:51 +00:00
Ulf Wendel d356459971 There subtle differences between Linux and Win. mysqlnd is a bit more verbose on Win... silencing to make the test pass 2009-10-21 18:57:45 +00:00
Pierre Joye 26270b4fd7 - fix leak in DL on error (windows) 2009-10-21 06:42:08 +00:00
Ulf Wendel 8df115c25e Making test a bit more portable 2009-10-20 17:54:57 +00:00
Ulf Wendel 03c3c1edb3 Fixing test 2009-10-20 17:03:32 +00:00
Ulf Wendel 3258a6572d libmysql is still 'buggy' - skip test with libmysql 2009-10-20 14:11:43 +00:00
Ulf Wendel 3fb67347ea Well, hacking around to cope with mysql version specific behaviour if using libmysql... 2009-10-20 13:58:57 +00:00
Antony Dovgal f298e6ce6e fix crash on empty doc_root 2009-10-20 12:57:44 +00:00
Ulf Wendel 87a4f09cbf Skipping tests if InnoDB is available but disabled. I wonder what InnoDB status comes next... 2009-10-20 12:41:58 +00:00
Ulf Wendel 57c1b63c2d Fixing typo in SKIPIF and partly skipping tests if using remote MySQL because LOAD LOCAL INFILE will fail 2009-10-20 12:31:04 +00:00
Ulf Wendel 0efa2445ad Making test pass when MySQL runs on Win* 2009-10-20 08:41:11 +00:00
Ulf Wendel 9bb4db8781 Bail if connect.inc gets included twice. Including twice is most likely a 'bug'. See also http://news.php.net/php.cvs/60720 2009-10-20 08:23:06 +00:00
Pierre Joye 5e0f3731ac - MFH: fix realloc usage 2009-10-19 23:41:14 +00:00
Pierre Joye 0304ec7900 - Fix ACL support and add support for ACL for TS SAPI. Be sure to get the impersonated token when the impersonation has been done. Add the SID as part of the key for the cache (so each SID gets its cache and not previous requests run under other SID) 2009-10-19 23:32:07 +00:00
Johannes Schlüter f5a5d321ed Fix test to remove temporary files 2009-10-19 21:50:08 +00:00
Johannes Schlüter 4a8de304e2 Merge #289581 (Fixed PDORow and PDOStatement crashes when instantiating throught
Reflection (Felipe)
2009-10-19 21:43:34 +00:00
Johannes Schlüter 8dcb351345 Merge NEWS for merged stuff from PHP_5_3 to PHP_5_3_1 2009-10-19 21:16:07 +00:00
Ulf Wendel eb0e09f5dc Using require[_once] instead of include. Adding logic to connect.inc to detect multiple inclusions of connect.inc which leads to a Fatal error because of my_mysqli_connect() function redefinition. Some tests did include connect.inc twice -> run-tests - even the one from trunk - did not detect Fatal error in SKIPIF -> false-positive test result... 2009-10-19 20:07:25 +00:00
Pierre Joye 3766730f3c - we don't distribute the crt9 dll, don't try to add it 2009-10-19 19:58:45 +00:00
Pierre Joye 97595a14a5 - add custom DLL to the package and fix the path to the deps bin (needs absolute path in some cases) 2009-10-19 19:02:12 +00:00
Derick Rethans afaa4ed8ad - Updated to version 2009.15 (2009o) 2009-10-19 16:29:13 +00:00
Ulf Wendel 344d6803ec mysqlnd is a bit more verbose than libmysql - silence mysqlnd here for easier comparison of test results. 2009-10-19 16:07:10 +00:00
Jani Taskinen fc4352e2d8 - It is not const in PHP_5_2 but it is in HEAD and PHP_5_3 2009-10-19 15:34:50 +00:00
Ulf Wendel f610cdd9a2 MySQL server and metadata - a sad story... trying to make the test pass with a few more server versions 2009-10-19 12:55:11 +00:00
Jani Taskinen 21d12bc17e fn 2009-10-19 12:37:17 +00:00
Ulf Wendel d01d398bad Fixing host info for TCP/IP and aligning mysqlnd and libmysql 2009-10-19 12:09:48 +00:00
Stanislav Malyshev a226082475 improve fix for #49767 and #47627 - make PHP report
"no script" on 404 again
2009-10-16 23:34:31 +00:00
Ulf Wendel 3eeaf566e0 Extending mysqlnd statistics/monitoring. Now counting COM_* commands. 2009-10-16 13:02:01 +00:00
Nuno Lopes 4750dc35de ignore php_mysqlnd_config.h file 2009-10-16 10:51:29 +00:00
Scott MacVicar cd5e3b1632 Add metadata support to the bundled version of libsqlite on Windows, part of bug #49206.
Will commit the new feature part separately.
2009-10-16 02:22:48 +00:00
Scott MacVicar 76d875278c Part fix for bug #49224 2009-10-16 02:10:52 +00:00
Scott MacVicar 5af006d640 Update libsqlite to 3.6.19 2009-10-16 01:56:36 +00:00
Ulf Wendel d8dc47d58f Making mysqlnd emit no warnings when fetching pooled persistent connections that have timed out or are unusable for any other reason - bug #49761 2009-10-15 20:46:08 +00:00
Ulf Wendel ab4670ee53 Fixing problems when calling connect (again and again) on a valid connection handle. Most of the patch comes from Andrey. 2009-10-15 15:49:40 +00:00
Pierre Joye e4adfe4f61 - #48779, fix another use case where / usage may differ 2009-10-15 13:09:25 +00:00
Ilia Alshanetsky ef1731590a Fixed bug #49855 (import_request_variables() always returns NULL). 2009-10-15 12:26:54 +00:00
Ilia Alshanetsky 31729738c7 Fixed bug #49847 (exec() fails to return data inside 2nd parameter, given output lines >4095 bytes). 2009-10-14 01:32:07 +00:00
Stanislav Malyshev 0e38a3d303 oops, that doesn't belong to this patch 2009-10-13 20:54:28 +00:00
Stanislav Malyshev dd15b8810c add safeguard for UpdateIniFromRegistry on NULL arg 2009-10-13 20:10:07 +00:00
Stanislav Malyshev 207e75b2cd fix crash for bug #47627 2009-10-13 19:58:59 +00:00
Derick Rethans 5c9ac94eab - Updated to version 2009.14 (2009n) 2009-10-13 08:16:35 +00:00
Moriyoshi Koizumi 20737bac6a - Bug #49785: take 5. What the hell happened to me... 2009-10-13 05:18:37 +00:00
Felipe Pena 5d34329dab - BFN 2009-10-12 19:23:07 +00:00
Felipe Pena 16be0343d7 - Fixed possible crash when calling SQLiteDatabase::{ArrayQuery, SingleQuery} methods using Reflection 2009-10-12 19:04:00 +00:00
Felipe Pena b394a75ad5 - Fixed PDORow and PDOStatement crashes when instantiating throught Reflection 2009-10-12 17:09:11 +00:00
Pierre Joye e5d4b019b9 - #48779, improve fix, drop usage of _tolower and use zend_strtolower 2009-10-12 14:40:27 +00:00
Moriyoshi Koizumi 884cf3f1c0 - Bug #49785: take 4 - typo. this flaw is unharmful since the return value of get_next_char() is only used when UTF-8 is specified to the third argument. 2009-10-12 14:29:45 +00:00
Pierre Joye ed3e96197d - check max colors while loading gd2 palette image (patch by Tomas Hoger) 2009-10-12 10:01:37 +00:00
Moriyoshi Koizumi 1835a63dfd - A couple more fix for my previous fix.
(one of the fix by Arnaud Le Blanc. Thanks!)
2009-10-11 23:52:33 +00:00
Pierre Joye 112379ba24 - fix possible issue in TS environment (we don't have to do that anymore anyway in 5.3+) 2009-10-11 21:04:35 +00:00
Pierre Joye 4d63bd1132 - #48779, don't loop twice over the path chars 2009-10-11 20:50:53 +00:00
Felipe Pena 8952155898 - Fix compiler warning 2009-10-11 15:23:09 +00:00
Felipe Pena 994307d429 - Fixed build and comment-style 2009-10-09 20:01:16 +00:00
Garrett Serack 8e5a00e546 - changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case insensitive (garretts) 2009-10-09 19:43:00 +00:00
Moriyoshi Koizumi 8a22597b65 - More tests to go. 2009-10-09 17:13:05 +00:00
Moriyoshi Koizumi 9d19866476 - Fixed bug #49785 (insufficient input string validation of htmlspecialchars()). 2009-10-09 10:02:38 +00:00
Pierre Joye f88c96a7f3 - missing define 2009-10-08 20:59:50 +00:00
Pierre Joye 878ba27e60 - typo 2009-10-08 20:40:48 +00:00
Pierre Joye 02a046b1d9 - [DOC] add enchant_broket_set_dict_path and enchant_broker_get_dict_path
- add constants ENCHANT_MYSPELL and ENCHANT_ISPELL
2009-10-08 20:28:21 +00:00
Ulf Wendel a1d3a3224e Avoid buffer resizing and let the initial buffer allocation happen a couple of lines later with conn->m->set_client_option(conn, MYSQLND_OPT_NET_CMD_BUFFER_SIZE, ...). Andrey, I leave it to you to change the default size to 128k. 2009-10-08 16:33:17 +00:00
Jani Taskinen b2ff362a5c - Fixed bug #49809 (time_sleep_until is not available on solaris) 2009-10-08 14:21:53 +00:00
Ulf Wendel 4e6a1c2754 Fixing pconnect statistics. 2009-10-08 11:40:16 +00:00
Matteo Beccati 9ee8dd90a3 - Fixed bug #48764 (PDO_pgsql::query always uses implicit prepared statements if v3 proto available)
# original patch by Mark Kirkwood
2009-10-07 17:40:16 +00:00
Andrey Hristov 309fced64d Increase the minimal size of the command buffer, which is used
for sending queries and in the future commpressed patch for reading
almost all packets from the wire instead of using stack buffers.
2009-10-07 17:33:51 +00:00
Ilia Alshanetsky b6b56ba87a Fixed bug #49800 (SimpleXML allow (un)serialize() calls without warning).
# original patch by wmeler at wp-sa dot pl
2009-10-07 12:46:29 +00:00
Christopher Jones 264d6db5a6 bump ver 2009-10-06 23:21:11 +00:00
Christopher Jones 2769ae0444 1. Introduce connection attribute functions:
oci_set_module_name
         oci_set_action
         oci_set_client_info
         oci_set_client_identifier
      
       These functions set values that are visible and used by the
       database.  They aid tracing, authentication and auditing.

    2. Introduce connection attribute function:

         oci_set_edition

       Oracle 11g R2 "editions" allow multiple versions of DB objects
       to exist at one time.  By setting different editions, two
       different versions of an application can run concurrently,
       making upgrades or A/B testing easier.

    3. Introduce OCI_NO_AUTO_COMMIT as an alias for the OCI_DEFAULT
       constant (which is not the default value) used by oci_execute().

    4. Allow the oci_set_prefetch value to be 0.  This is important in
       some cases using REF CURSORS in Oracle 11gR2.

    5. Set the DRIVER_NAME attribute of Oracle Database 11gR2
       connections to aid application tracing.  The value used is to
       "PHP OCI8" followed by the OCI8 version number.  Note the
       version number may get truncated in DB views such as
       v$session_connect_info.

    6. Generate an error if an invalid resource type is used in
       oci_bind_by_name

[DOC] Documentation will be added for the changes
2009-10-06 22:36:32 +00:00
Etienne Kneuss ef2b799a28 Fix bug #49263 (Offset error when unserializing self-references in SplObjectStorage) 2009-10-06 13:34:56 +00:00
Andrey Hristov 06523621dd revert the last change 2009-10-06 12:53:01 +00:00
Andrey Hristov d9382399fc count the queries 2009-10-06 10:33:23 +00:00
Jani Taskinen d7b5703eab pff 2009-10-06 10:00:53 +00:00
Christopher Jones 76b321c350 Fix odd little diff in some environments. No need for trunk merge 2009-10-05 22:57:48 +00:00
Christopher Jones 7c7cc5d785 Fix diff when full connection string used. Clean up helper files 2009-10-05 22:51:21 +00:00
Ilia Alshanetsky a3430a6b24 Fixed bug #49757 (long2ip() can return wrong value in a multi-threaded applications).
# original patch by Florian Anderiasch
2009-10-05 14:45:54 +00:00
Dmitry Stogov ffb07732f7 Fixed bug #49627 (error_log to specified file does not log time according to date.timezone) 2009-10-05 13:56:49 +00:00
Felipe Pena 8172c388b0 - Fix some arginfos (thanks Philip)
- Added arginfo info. for void params
2009-10-03 20:45:29 +00:00
Pierre Joye f86cde26fb - drop unused var and fix example 2009-10-03 10:19:06 +00:00
Christopher Jones 2d64d1ff72 Oracle 11.2 (and beyond) compat changes 2009-10-02 22:39:28 +00:00
Christopher Jones de0592a3a3 refactor tests 2009-10-02 20:16:59 +00:00
Christopher Jones 460a4ceaff Fix skipifs to accept Oracle 11.2 2009-10-02 04:19:48 +00:00
Sriram Natarajan 0f57b15e23 - Fixed bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes). 2009-10-02 00:13:53 +00:00
Jani Taskinen a71da78442 pff, no idea what is merged where by who and when and wtf.. 2009-10-01 15:55:05 +00:00
Christopher Jones 9d48ec4f51 Add PECL bug #16842 2009-10-01 14:56:53 +00:00
Pierre Joye e0b392f028 - fix #49732, fix crash when timestamp conversion fails 2009-10-01 13:55:16 +00:00
Ulf Wendel 5cb8e9b22a Updating test because of http://news.php.net/php.cvs/60561 2009-10-01 08:56:28 +00:00
Christopher Jones 8f65525ce6 Add xmltype_02.phpt. Add XFAIL to xmltype_01 for PHP 6 2009-10-01 06:22:32 +00:00
Christopher Jones 8fca6e46eb Eliminate type warnings. This change is not needed in other branches 2009-10-01 06:06:41 +00:00
Christopher Jones 609804cd44 PECL Bug #16842 (oci_error return false when NO_DATA_FOUND is raised) 2009-10-01 05:51:11 +00:00
Andrey Hristov 2f81bcd44b Fix ZTS build 2009-09-30 23:34:56 +00:00
Andrey Hristov ba5c40b2ad Use mnd_ wrappers wherever possible. Needed for
statistics.
2009-09-30 23:13:43 +00:00
Andrey Hristov b9dcc28c24 Fix trace output. DBG_RETURN should be used in traced
functions.
2009-09-30 22:26:19 +00:00
Ilia Alshanetsky d35c2b14dd Fixed bug #48805 (IPv6 socket transport is not working). 2009-09-30 20:48:41 +00:00
Ulf Wendel 9408303390 Fixing a leak in mysqlnd when passing invalid fetch modes to mysqlnd. 2009-09-30 14:39:33 +00:00
Dmitry Stogov 7a535b807c pcntl_exec() should inherit environment in case it's not provided as an argument 2009-09-30 13:04:28 +00:00
Pierre Joye a4cbecd20c - restore W3 flag to get usefull errors (unused vars, etc.) 2009-09-30 11:53:29 +00:00
Ilia Alshanetsky 809dbcda08 Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after fclose). 2009-09-30 02:34:17 +00:00
Ulf Wendel e56e60c3a0 Fixing test 2009-09-29 16:37:50 +00:00
Rafael Machado Dohms e91fffb24a Fixing tests for head and wrong SKIPIF blocks 2009-09-29 14:34:06 +00:00
Rasmus Lerdorf 80bdbc8f66 Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak. 2009-09-29 14:14:02 +00:00
Rasmus Lerdorf 8c15aa2314 Add missing open_basedir check in posix_mkfifo 2009-09-29 14:02:50 +00:00
Rasmus Lerdorf 99f30c1b6a Fix date_sunrise/date_sunset tests 2009-09-29 13:56:51 +00:00
Rafael Machado Dohms 9ba46557e9 Adding tests for bug #49692 2009-09-28 22:57:41 +00:00
Kalle Sommer Nielsen 94b320b268 NEWS for Rasmus' bug fix 2009-09-28 15:07:37 +00:00
Rasmus Lerdorf b3de24c9b8 Fix for bug #49698 2009-09-28 13:29:53 +00:00
Ulf Wendel 91315a9307 Fixing test 2009-09-28 10:42:36 +00:00
Ulf Wendel fbfd13310b Allow setting of default connection flags through the environment variable MYSQL_TEST_CONNECT_FLAGS 2009-09-28 10:39:42 +00:00
Ilia Alshanetsky 5edef9d2dd Fixed test 2009-09-28 03:14:46 +00:00
Felipe Pena b6a1b37889 - Fixed tests 2009-09-26 17:59:33 +00:00
Felipe Pena 5132913dd3 - Fixed tests 2009-09-26 16:54:08 +00:00
Rasmus Lerdorf 5afa8a23bb Refix bug #49558 as per bug #49676 2009-09-26 00:53:59 +00:00
Ulf Wendel 8621a06eed Trying to respect time limit to please Andrey who must be using slooow hardware... 2009-09-25 13:21:44 +00:00
Andrey Hristov 3828ca158e Fix mysqli_stmt_attr_set in libmysql mode.
mysql_stmt_attr_set returns my_bool instead of int.
If it was int, then 0 is success and !0 is failure, but
for my_bool 0 (FALSE) is failure and !0 is success.
2009-09-25 12:25:54 +00:00
Andrey Hristov 5d3152b181 Fix a crash in the rare case when a persistent connection
is found dead, after CHNG_USER. mysql->mysql will be NULL
and segfault will follow.
2009-09-25 11:38:19 +00:00
Ulf Wendel bd69506171 Large package to check how compression handles package queues. 2009-09-25 10:56:17 +00:00
Andrey Hristov 9b44cbb490 Remove unused variable 2009-09-25 10:55:06 +00:00
Ulf Wendel a5e4c6f795 Replacing MYSQL_TEST_COMPRESS env var with more generic MYSQL_TEST_CONNECT_FLAGS to be able to test all connection flags. Fixing some test. 2009-09-25 10:54:16 +00:00
Andrey Hristov eea0660def Fix error code checking for mysql_stmt_attr_set. There
is a test that checks this.
2009-09-25 10:52:29 +00:00
Andrey Hristov 80f629ed9f Fix possible crash when conn is NULL 2009-09-25 10:37:44 +00:00
Felipe Pena 22876972a5 - Fix test 2009-09-25 02:07:41 +00:00
Felipe Pena 20c5df8cce - Fixed mem leak 2009-09-25 01:46:58 +00:00
Jani Taskinen 4a95cb8938 fn 2009-09-24 22:40:15 +00:00
Ilia Alshanetsky eb2d54822b Make tempnam() return FALSE on error as documented 2009-09-24 18:59:28 +00:00
Sriram Natarajan 92c08b1224 - Fixed bug #49571 (CURLOPT_POSTREDIR not implemented). 2009-09-24 18:20:49 +00:00
Jani Taskinen 2c90fb8ea2 - Fix the build issue with php_mysqlnd_config.h ending up in wrong build directory 2009-09-24 18:01:17 +00:00
Rob Richards c3d66dbfed Fixed bug #49647 (DOMUserData does not exist) 2009-09-24 13:18:22 +00:00
Ulf Wendel c01b505a44 Proxying as many connect calls as possible to make testing of the compression protocol @ mysqlnd easier. By setting the environment variable MYSQL_TEST_COMPRESS you can tell the tests to set the MYSQLI_CLIENT_COMPRESS flag upon connect. 2009-09-24 12:51:03 +00:00
Rob Richards 9b923dd6ce fix memleak 2009-09-24 12:40:59 +00:00
Antony Dovgal 5e810ee5e4 save LDFLAGS in EXTRA_LDFLAGS before unsetting
this patch makes sure that LDFLAGS are taken into account when
configuring the build
2009-09-24 10:43:13 +00:00
Ulf Wendel 7b50b0794d Fixing test 2009-09-24 09:40:24 +00:00
Ulf Wendel 057a62fc52 Coverage for the OO variants of some functions 2009-09-24 08:19:56 +00:00
Ilia Alshanetsky 7eeff10cc0 Fixed unused var 2009-09-23 23:14:17 +00:00
Moriyoshi Koizumi 0c974164e2 - Fixed bug #49354 (mb_strcut() cuts wrong length when offset is within a
multibyte character).

(This bug was introduced by the commit by r202895. Please double-check the
 specification of the function you are going to *fix*.)
2009-09-23 15:22:47 +00:00
Dmitry Stogov 4b1c7c5615 Fixed ext/standard/tests/streams/stream_get_contents_002.phpt 2009-09-23 10:25:54 +00:00
Dmitry Stogov 6f32199f75 Fixed compilation error 2009-09-23 08:33:23 +00:00
Felipe Pena 788031f093 - Fixed bug #49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set ...") 2009-09-23 02:08:19 +00:00
Ilia Alshanetsky 420a3abc6a Fixed compiler warning 2009-09-23 00:18:32 +00:00
Felipe Pena 5596b05449 - Fixed bug #49630 (imap_listscan function missing)
# Missing PHP_FE(), though nowdays it is used through of two aliases. (imap_scan() and imap_scanmailbox())
2009-09-22 18:18:57 +00:00
Ulf Wendel 381ebe751b mysqlnd supports INIT_COMMAND and so we can add it to PDO_MYSQL @ mysqlnd 2009-09-22 15:31:35 +00:00
Andrey Hristov ac93b60f68 MFH:Fix handling of BIT fields for non-PS. We need
macros from mysqlnd to be able to convert a bit
stream to a number.
2009-09-22 15:08:11 +00:00
Dmitry Stogov 38cdb16dd2 Fixed tests which fail from time to time because of race conditions ("echo" command didn't wait for all the data php tried to send and as result php got a SIGPIPE) 2009-09-22 14:52:47 +00:00
Andrey Hristov 452aca97e3 MFH:Check for the different types and create the
corresponding configuration file, so it can be used
by mysqli, even if mysqlnd is not enabled at all.
2009-09-22 14:44:11 +00:00
Andrey Hristov dcb5c5b0a4 MFH: Fix handling of BIT fields in mysqli, when libmysql is used
We need to use macros from mysqlnd to be able to read the
bit fields, as they are specially encoded. mysqlnd is always
there, 5.3+, so its macros can be used, even if mysqlnd is
not compiled as library of choice.
2009-09-22 13:59:29 +00:00
Nuno Lopes 24090104ef allow tests to pass when a random username is used.
patch by Olivier Doucet
2009-09-22 12:30:21 +00:00
Nuno Lopes fb86d5b462 spread some svn:ignore love 2009-09-22 12:12:43 +00:00
Ulf Wendel 26b4248799 Fixing test 2009-09-22 11:58:46 +00:00
Dmitry Stogov bb81ef5d71 Fixed test (it failed from time to time because of very small timeouts) 2009-09-22 10:15:10 +00:00
Jani Taskinen 4cce432eeb - Move tests in the right location 2009-09-22 09:41:39 +00:00
Ulf Wendel 75d415efbe Fixing test 2009-09-22 08:42:44 +00:00
Dmitry Stogov 17aff0eb25 Fixed test (removed "bad" locale) 2009-09-22 08:22:29 +00:00
Dmitry Stogov 42b62e7ca6 Fixed ext/spl/tests/arrayObject_magicMethods2.phpt 2009-09-22 07:54:06 +00:00
Ulf Wendel 77f44b7926 Fixing test. There is nothing we can do about the MySQL Client Library allocate huge 4GB buffers for some SQL types. 2009-09-22 07:11:50 +00:00
Ulf Wendel 5c67cdf62b Fixing test. Can't wait to see the new run-tests materialize for detecting skip section parse errors. 2009-09-22 06:59:04 +00:00
Ilia Alshanetsky d223d65aad Fixed build with older version of libcurl 2009-09-22 01:17:16 +00:00
Ulf Wendel 6ef632d129 Fixing test 2009-09-21 15:59:22 +00:00
Ulf Wendel e94d475ad0 Fixing test 2009-09-21 15:24:47 +00:00
Dmitry Stogov 883b992ea7 Fixed tests (removed irrelevant check which makes test to fail from time to time) 2009-09-21 15:23:25 +00:00
Dmitry Stogov d12c66770f Fixed tests ("none" is an alias of "false" and it can't be used as a string value of ini option) 2009-09-21 14:32:20 +00:00
Ulf Wendel e4f41b1f9f Moving test code around to get test failures down without testing less. Users of the MySQL Client Lib should always call stmt_bind_result after execute - not before. 2009-09-21 14:20:05 +00:00
Dmitry Stogov c36b27db63 Fixed memleak in tests/lang/engine_assignExecutionOrder_001.phpt 2009-09-21 13:01:17 +00:00
Ulf Wendel 9afd024715 Fixing test by calling it a known limit. We keept the test failing as a reminder to think about how to handle BIT(32) and up but none of us has an idea. Thinks work fine up to BIT(31) - the limitation should be documented. 2009-09-21 12:02:30 +00:00
Ulf Wendel 47b209a3cd Fixing test 2009-09-21 11:54:15 +00:00
Dmitry Stogov d49abc2736 Fixed tests 2009-09-21 11:38:14 +00:00
Dmitry Stogov 623fe9aaf9 Fixed tests 2009-09-21 11:30:38 +00:00
Dmitry Stogov b4ba7fb96e Fixed memory leak 2009-09-21 11:22:13 +00:00
Ulf Wendel dc1e7d6d6d Not nice but neither the MySQL Client Library not mysqlnd are supposed to detect invalid flags. Therefore: fixing test 2009-09-21 10:16:44 +00:00
Ulf Wendel 1a3b7774e6 Fixing mysqli_result_references_mysqlnd.php 2009-09-21 10:06:13 +00:00
Dmitry Stogov 7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Ulf Wendel a0a8c5832f Fixing mysqli_get_client_stats.phpt. More testing for MYSQLI_INIT_COMMAND 2009-09-21 09:35:23 +00:00
Ulf Wendel 025e670f54 Fixing test: references has to be collected even if the users disables the collection of statistics. It is needed for memory management. 2009-09-21 08:59:00 +00:00
Ulf Wendel a77ee71cf0 Fixing test - the standard test table will not accept NULL values for column id 2009-09-21 08:36:14 +00:00
Dmitry Stogov acc71e71bc Fixed tests 2009-09-21 08:28:53 +00:00
Kalle Sommer Nielsen 1dfc3ac4a4 Fix NEWS 2009-09-21 03:20:31 +00:00
Pierre Joye 6711276b3c - fix ACL cache for read check 2009-09-19 20:54:34 +00:00
Hannes Magnusson f7096da972 And now use proper colspanning 2009-09-18 23:06:21 +00:00
Hannes Magnusson 07618b1edd Fix typo in comment (danbrown) 2009-09-18 22:26:44 +00:00
Hannes Magnusson e3134c3139 Throw some credit around 2009-09-18 22:01:58 +00:00
Andrey Hristov 967239727e MFH:Fix for bug#48909 Segmentation fault in mysqli_stmt_execute 2009-09-18 14:33:08 +00:00
Andrey Hristov 8aae3baa45 MFH:Fix for bug#48754 mysql_close() crash php when no handle specified 2009-09-18 10:49:31 +00:00
Andrey Hristov c2e66884e1 MFH, a fix not included by the fix committed by Ulf.
pemalloc and then efree - too bad!
Sorry for committing in two passes, my big tree is already patched
with compressed.
2009-09-17 15:13:14 +00:00
Ulf Wendel 1388912ded better coverage for mysqli_info 2009-09-17 07:11:25 +00:00
Sriram Natarajan fbc335e5d1 - Fixed bug #49572 (use of C++ style comments causes build failure) 2009-09-17 02:45:25 +00:00
Felipe Pena fff0a24656 - Fixed ZTS build 2009-09-16 18:01:10 +00:00
Sebastian Bergmann ceaf590530 Merge ReflectionMethod::setAccessible() to PHP 5.3.2, approved by Johannes. 2009-09-16 17:24:46 +00:00
Ulf Wendel e6cf6693e6 Fix (by Andrey) and test for bug #49442 . Don't use efree() for memory allocated with malloc()... If a connection gets created by mysqli_init(), mysqlnd makes it 'persistent'. 'Persistent' means that mysqlnd uses malloc(). mysqlnd does use malloc() instead of ealloc() because it is unknown if the connection will become a true persistent connection in the sense of ext/mysqli. It is unknown if the user wants a persistent connection or not until the user calls mysqli_real_connect(). To avoid tricky conversions mysqlnd uses malloc(), which sets a private persistent flag in the mysqlnd structures. A precondition for the crash to happen was that the private persistent flag is set. The flag is also set when creating a real persistent connection (in the sense of ext/mysqli) and so the bug can happen with mysql_init()/mysqli_real_connect() and mysql_connect('p:<host>', ...). Therefore we test both cases. Note the (tricky?) difference between the implementation detail'mysqlnd private persistent flag = use malloc()' and persistent connections from a user perspective. Although mysqlnd will always set its private persistent flag and use malloc() for connections created with mysqli_init() it is still up to the user to decide in mysqli_real_connect() if the connection shall become a (true) persistent connection or not. 2009-09-16 17:03:44 +00:00
Ulf Wendel 20005db2a0 Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library (libmysql) use different networking APIs. mysqlnd does use PHP streams whereas libmysql uses its own wrapper of the operating level network calls. PHP sets by default a read timeout of 60s for streams - php.ini, default_socket_timeout. This default applies to all streams that set no other timeout value. mysqlnd has not set any other value and therefore it connections of long running queries can have been cut off after default_socket_timeout seconds resulting in a 2006 - MySQL Server has gone away error message. The MySQL Client Library sets a default timeout of 365 * 24 * 3600 seconds (1year) and waits for other timeouts to happen, e.g. TCP/IP timeouts. mysqlnd now uses the same very long timeout. The value is configurable through a new php.ini setting: mysqlnd.net_read_timeout. mysqlnd.net_read_timeout gets used by any extension (ext/mysql, ext/mysqli, PDO_MySQL) that uses mysqlnd. mysqlnd tells PHP Streams to use mysqlnd.net_read_timeout. Please note that there may be subtle differences between MYSQL_OPT_READ_TIMEOUT from the MySQL Client Library and PHP Streams. E.g. MYSQL_OPT_READ_TIMEOUT is documented to work only for TCP/IP connections and, prior to MySQL 5.1.2, only for Windows. PHP streams may not have this limitation. Please check the streams documentation, if in doubt. 2009-09-16 15:00:54 +00:00
Jani Taskinen fb9c4bd709 - What a mess.. 2009-09-16 06:56:37 +00:00
andy wharmby e509cc4283 Fix SKIPIF sections 2009-09-15 21:44:08 +00:00
Rasmus Lerdorf d032060ea8 Fix bug #49558
And as Colin mentioned in the bug report, this means date_sunrise()
and date_sunset() have been off by 26 seconds in most cases until now.
2009-09-15 20:28:42 +00:00
Ilia Alshanetsky f611b66025 Upgraded bundled sqlite to version 3.6.18. 2009-09-15 16:54:11 +00:00
Pierre Joye 15398c4ed5 - #49253, add support for libcurl's CERTINFO option 2009-09-15 15:47:06 +00:00
Moriyoshi Koizumi b91e3db105 - WS fix (spaces to tabs) 2009-09-15 00:09:13 +00:00
Pierre Joye ada5eb95ad - Fix #48746, improve fix to support all possible cases (see latest comment in the report) 2009-09-14 18:46:56 +00:00
Ilia Alshanetsky 62d78d7ccc Fixed certificate validation inside php_openssl_apply_verification_policy 2009-09-14 12:50:30 +00:00
Moriyoshi Koizumi 6a0402413d - Looks like bug #48697 has already been fixed in RC1. 2009-09-14 04:11:29 +00:00
Felipe Pena 2c388a4eaa - Fixed warnings (Kalle) 2009-09-13 14:42:36 +00:00
Ilia Alshanetsky 9e76501f1e Fixed test 2009-09-13 13:14:11 +00:00
andy wharmby e4c38fc1f0 Add missing SKIPIF 2009-09-11 21:57:04 +00:00
Moriyoshi Koizumi 8f9acfedb3 - Fix bug #49536 (mb_detect_encoding() returns incorrect results when strict_mode is turned on.)
(patch by komura, thanks!)
2009-09-11 21:26:18 +00:00
Ulf Wendel 617b4e9bd1 Fix for bug #49357 (MySQLi extension fails to recognize POINT (spatial) colums).
Do yourself a favour and use mysqlnd. mysqlnd has no isuses here.

If you insist on using the MySQL Client Library (libmysql) I strongly recommend to use mysqli_stmt_store_result() when fetching geometry data using prepared statements. When streaming data, which is the default for prepared statements, ext/mysqli will have to make a guess on the size of the result buffer it needs. The guess is based on a length reported by the MySQL CLient Library (libmysql). The MySQL Client Library reports 4GB (!) for a POINT - a conservative and safe guess. Consequently, ext/mysqli will try to allocate 4GB of RAM. The true (maximum) size of the column is not available before buffering the result on the client using mysqli_stmt_store_result(). If you call mysqli_stmt_store_result(), the result buffers will not get bigger than needed. However, store_result()/buffering is usually not what you want when you ask for prepared statements.
2009-09-11 13:38:47 +00:00
Ulf Wendel 5dfd12ddb7 Stepping back to PHP 5.2.x and earlier logic of allocating even huge pieces of memory for large BLOB types to avoid data truncation. This fixes the test failure of 005.phpt when using MySQL Client
Library (libmysql). The test does pass with mysqlnd because mysqlnd does not have any issues here.
2009-09-11 12:28:47 +00:00
Ulf Wendel c4c11fd38a Fixing a crash which must have existed since PHP 5.0. At least the crash can be reproduced with PHP 5.0.6. The crash happens only when using the MySQL Client Library (libmysql) - it does not happen
when using mysqlnd.
2009-09-11 12:16:56 +00:00
Moriyoshi Koizumi b39126de9a - Fix bug #49528 (UTF-16 strings prefixed by BOM wrongly converted). 2009-09-11 08:22:19 +00:00
Jani Taskinen ccd6e501d1 - Simplified a bit and fixed possible memory corruption and definate leak. 2009-09-10 16:19:42 +00:00
Jani Taskinen 0f1b93a1ca - Fix skips 2009-09-10 15:05:34 +00:00
Ilia Alshanetsky f0c6eaa024 Fixed test 2009-09-10 02:15:08 +00:00
Felipe Pena 8c74835795 - Possible fix for bug #49344 on Windows (pdo_mssql fails to connect,throws PDOException SQLSTATE[] (null) (severity 0)) 2009-09-10 01:20:42 +00:00
Ulf Wendel 416ff5872d Andrey fixed the bug but the test was somewhat borked. Fixing test. 2009-09-09 18:31:00 +00:00
Ulf Wendel 31573498d8 Some extra test coverage for http://bugs.php.net/bug.php?id=48754 . 2009-09-09 17:16:24 +00:00
Ulf Wendel f51e935e96 Tests for http://bugs.php.net/bug.php?id=49357 (libmysql only) . The simple fix suggested in the bug system is not good enough, therefore no fix yet. 2009-09-09 17:10:29 +00:00
Ulf Wendel 5f260e14b2 Next attempt to fix http://bugs.php.net/bug.php?id=48745. Patch by Andrey. 2009-09-09 17:03:03 +00:00
Derick Rethans 95b3863579 - Updated to version 2009.13 (2009m) 2009-09-08 14:03:53 +00:00
Ilia Alshanetsky 62557f1d81 Fixed tests 2009-09-07 14:18:46 +00:00
Ilia Alshanetsky 6d0b9484d9 Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters). 2009-09-07 02:35:25 +00:00
Pierre Joye 3e359ee5b4 - fix #40013, php_uname() doesnt return nodename (MFH) 2009-09-06 22:01:18 +00:00
Felipe Pena b4ee727353 - Fixed bug #49483 (preg_replace 'subject' parameter listed as optional) 2009-09-06 17:41:34 +00:00
Pierre Joye d198853416 - revert last commit, breaks the build and needs test case(s) 2009-09-06 15:56:58 +00:00
Moriyoshi Koizumi e3c94d503a - Fix leaks. 2009-09-06 14:43:09 +00:00
Pierre Joye b24e1609a1 - don't hide previous declaration 2009-09-05 21:16:05 +00:00
Pierre Joye 7f36b2ead4 - don't hide early declaration 2009-09-05 19:00:05 +00:00
Felipe Pena 5c9579c27f - Drop unused var 2009-09-05 18:22:16 +00:00
Pierre Joye eb3801f5b0 - add test for #48746 2009-09-05 18:10:31 +00:00
Pierre Joye 3dd3cbb662 - fix #49274, filter_var does not accept object without a toString implementation 2009-09-05 17:35:26 +00:00
Jani Taskinen f723d368b3 - Fixed bug #49182 (PHP CGI always outputs the shebang line) 2009-09-05 17:07:14 +00:00
Pierre Joye a2cffa2590 - #49464, fix build 2009-09-04 19:53:39 +00:00
Jani Taskinen 4361f2370a I have no idea. This might or might not fix a bug in some branch. At least it works. 2009-09-04 11:02:40 +00:00
Sriram Natarajan ac2d3990f2 - Fixed bug #49447 (php engine need to correctly check for socket API
return status on windows). (Sriram Natarajan)
2009-09-04 07:59:48 +00:00
Pierre Joye 542c087a86 - be sure that we use the user token by default (Christian Wenz) 2009-09-04 06:59:08 +00:00
Johannes Schlüter bcde6a023c This will become 5.3.2, the NEWS file will be merged once 5.3.1 is out 2009-09-03 21:35:17 +00:00
Pierre Joye 511c923785 - #27051, improve fix on xp/2k3 2009-09-03 19:16:50 +00:00
Dmitry Stogov 4016bfcd71 Fixed bug #46074 (Bus error during running PHP CLI under IRIX 6.5.30) 2009-09-03 14:33:11 +00:00
Sebastian Bergmann 853c6de65b Make invokeArgs() error messages consistent with invoke(). 2009-09-03 14:02:51 +00:00
Pierre Joye 8f8220917e - Fix sanity check for the color index in imagecolortransparent 2009-09-03 09:45:56 +00:00
Pierre Joye a8c40d5b3a - #48746, len includes null already 2009-09-02 22:59:58 +00:00
Pierre Joye 4417646d72 - be sure to get all crt dbg errors in stderr 2009-09-02 20:02:17 +00:00
Ilia Alshanetsky 556dde6a34 Fixed return value to comply with tests 2009-09-02 13:07:44 +00:00
Pierre Joye da9aee9703 - #27051, we need the thread token here, not the process 2009-09-02 01:59:17 +00:00
Ilia Alshanetsky bfd9f29773 Fixed typo 2009-09-02 00:14:46 +00:00
Pierre Joye ddab8be51e - #27051, create process as impersonated user 2009-09-01 22:51:31 +00:00
Pierre Joye ad2bb4bcb1 - fix TS build 2009-09-01 19:41:51 +00:00
Pierre Joye 39178112fc - readdir/scandir entry 2009-09-01 17:53:00 +00:00
Pierre Joye b6882eddf6 - #48746, revert previous about volume. Fix volume support to allow all mounted points (with or without drives) 2009-09-01 17:50:59 +00:00
Pierre Joye 12a7305e21 - #48746, fix regression in readdir/scandir and mounted points or junctions on windows 2009-09-01 17:46:17 +00:00
Antony Dovgal 580c51215f add -g along with -O0 2009-09-01 15:13:02 +00:00
Patrick Allaert 74560ac75e Merging last tests made in HEAD 2009-09-01 13:41:18 +00:00
Jani Taskinen b3a23c7d88 fix typo 2009-08-31 21:19:29 +00:00
Jani Taskinen 6bb0603c4f - Fixed zlib.deflate compress filter to actually accpet level parameter. 2009-08-31 21:18:55 +00:00
Zoe Slattery b964306fd7 add missing skipifs 2009-08-31 19:22:29 +00:00
Antony Dovgal 66990d357c nuke duplicated tests 2009-08-31 15:32:39 +00:00
Ilia Alshanetsky 6a73387877 Fixed bug #49361 (wordwrap() wraps incorrectly on end of line boundaries). 2009-08-31 12:28:46 +00:00
Antony Dovgal fe7e08432e export le_socket from ext/sockets 2009-08-31 08:41:03 +00:00
Zoe Slattery 4cc35aeaaf The last of the 2009 testfest tests 2009-08-30 18:18:50 +00:00
Pierre Joye ceb607af13 - Fixed leak on error in popen/exec (and related functions) 2009-08-30 17:13:45 +00:00
Ilia Alshanetsky 30b7102746 Bug #49391 ldap.c utilizing deprecated ldap_modify_s 2009-08-30 15:33:59 +00:00
Zoe Slattery b08e82a736 More tests from 2009 testfest 2009-08-30 12:19:50 +00:00
Zoe Slattery d84163c639 bc math tests from testfest 2009 2009-08-30 11:10:20 +00:00
Zoe Slattery c0c141d0cf server for ftp tests 2009-08-30 09:31:54 +00:00
Zoe Slattery 6a22ec3eda More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery 94039c35b9 Fixed to allow for http etc 2009-08-30 08:18:53 +00:00
Antony Dovgal f97132fe1a fix tests 2009-08-29 19:18:27 +00:00
Pierre Joye 45c58fc449 - Fix #48746, mounted volume support & resolution 2009-08-29 12:21:47 +00:00
Jani Taskinen 99d3fe5a0c - Fix news 2009-08-29 01:16:30 +00:00
andy wharmby 037f617a60 New basic network function tests. Tested on Windows, Linux and Linux 64 bit 2009-08-28 22:46:43 +00:00
Zoe Slattery 0e4ce3bcca More tests from 2009 testfest 2009-08-28 14:31:19 +00:00
Andrey Hristov 9bf747605d Fix for bug#48745
mysqlnd: mysql_num_fields returns wrong column count for mysql_list_fields
2009-08-28 09:30:16 +00:00
Pierre Joye 5b39f5ca24 - fix VC6 build 2009-08-27 14:45:41 +00:00
Andrey Hristov 955a611211 Forgot to save the file. Here comes the entry 2009-08-27 13:26:46 +00:00
Andrey Hristov 67c7a37d9b Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd) 2009-08-27 13:16:39 +00:00
Andrey Hristov 43d33e8a99 Fix for bug#46614 Extended MySQLi class gives incorrect empty() result 2009-08-27 12:41:14 +00:00
andy wharmby 39fd3a2b3c Fix tests. Add missing SKIPIF sections so test do not run when POSIX extension not available. 2009-08-27 12:21:19 +00:00
Pierre Joye 17a4191575 - Fix for #48746, fix mounted volume and junctions when used from vista or later, they are actually prepended with \??\ 2009-08-27 09:39:01 +00:00
Rasmus Lerdorf b73fe4a9b6 This needs to be larger to avoid an overflow on the bit-shifting in this function 2009-08-27 05:05:42 +00:00
Pierre Joye 137b9210f2 - fix #49372, segfault in php_curl_option_url 2009-08-26 22:24:10 +00:00
Pierre Joye 5d017c3e2d - silent warning (fix for #28038) 2009-08-26 21:59:54 +00:00
Pierre Joye 43b4d73dc2 - update 2009-08-26 20:58:06 +00:00
Pierre Joye 0c366503a6 - fix #48746, regression with file operaiton on path with junctions 2009-08-26 20:44:05 +00:00
Pierre Joye 46ba563fe1 - update 2009-08-26 20:03:49 +00:00
Pierre Joye bae3df7505 - fix #44683, popen crashes when an invalid mode is passed (works on 2k8/vista/win7) 2009-08-26 19:57:01 +00:00
Pierre Joye 48d031aa6e - fix build 2009-08-26 19:17:32 +00:00
Zoe Slattery 1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Pierre Joye c7167ced0b - fix test and use __DIR__ as usual 2009-08-26 16:07:05 +00:00
Ilia Alshanetsky 19f11e401d Fixed variable clobbering 2009-08-26 15:29:06 +00:00
Pierre Joye b4b9615c0b - add win32 version 2009-08-26 14:09:45 +00:00
Dmitry Stogov 60ef4a1ef6 Fixed bug #47273 (Encoding bug in SoapServer->fault) 2009-08-26 14:05:48 +00:00
Pierre Joye 9fe6294cdf - fix test 2009-08-26 09:59:20 +00:00
Pierre Joye bea1685a21 Improved readlink, supress \??\ and use the drive syntax only 2009-08-25 23:51:04 +00:00
Pierre Joye ef582b5397 - update news for my last TSRM fixes 2009-08-25 23:22:52 +00:00
Andrey Hristov 2dcfcf7387 MFH: fix of the fix 2009-08-25 14:32:10 +00:00
Andrey Hristov 27cbcc6078 MFH:
Fix bug#48198 error: 'MYSQLND_LLU_SPEC' undeclared
Possibly fix also :
Bug #48780      mysqlnd compile failure
Bug #46952      mysqlnd compile failure with suncc
2009-08-25 14:25:01 +00:00
Ilia Alshanetsky cc8cacd80e Fixed a compiler warning (variable clobbering) 2009-08-25 12:47:28 +00:00
Pierre Joye eeb9429de5 - be sure that the directory flag is set when we save a path in the cache 2009-08-25 09:32:31 +00:00
Pierre Joye 056f0aea30 - fix #49047, touch may fail on directory 2009-08-25 09:16:53 +00:00
Pierre Joye 4c85f48c89 - fix test when part of the path is a symlink 2009-08-25 00:22:11 +00:00
Pierre Joye 3db4fe36a4 - fix test 2009-08-25 00:14:23 +00:00
Pierre Joye ebd24fc10f - sigh. that too (separate fix). 2009-08-24 20:33:36 +00:00
Pierre Joye 063196c8aa - that part was for a separate fix 2009-08-24 20:32:11 +00:00
Pierre Joye 55d26cab56 - split atime and mtime 2009-08-24 20:27:52 +00:00
Pierre Joye 39ba13c3ad - fix test 2009-08-24 19:19:43 +00:00
Pierre Joye 64918d5168 - fix test 2009-08-24 18:44:59 +00:00
Pierre Joye 30c4b8ff29 - fix test 2009-08-24 18:43:21 +00:00
Ilia Alshanetsky 64b3f7d45b Don't clober variables 2009-08-24 18:40:13 +00:00
Pierre Joye e877e1280c - fix object dir usage (ie: relative path called from a symlinked dir), also fix nmake test for similar cases 2009-08-24 14:18:19 +00:00
Rafael Machado Dohms 609a573b23 Adding tests for imagecolorallocatealpha 2009-08-24 02:50:19 +00:00
Mikko Koppanen e4c11010f1 Fixes a memory leak in ssl streams. The context was not properly freed 2009-08-22 02:31:23 +00:00
Antony Dovgal 193bbbbd59 fix build broken by the fix for bug #49306 2009-08-21 07:46:43 +00:00
Jani Taskinen 767abb9b66 - Fixed bug #49286 (php://input (php_stream_input_read) is broken) 2009-08-20 12:40:15 +00:00
Jani Taskinen 5e733571b3 - WS + CS + sync 2009-08-20 12:17:32 +00:00
Ilia Alshanetsky 019f4f2c22 Fixed bug #49306 (inside pdo_mysql default socket settings are ignored). 2009-08-20 12:13:38 +00:00
Jani Taskinen e1f42c3bbb - Fixed bug #49289 (bcmath module does not compile with phpize configure). 2009-08-20 11:19:20 +00:00
Pierre Joye 05f86b6edb - revert fix for #43327, it breaks system&co functions 2009-08-20 09:03:19 +00:00
Pierre Joye 897083659e - fix NEWS 2009-08-19 18:45:13 +00:00
Pierre Joye b64e5e6bd0 - fixed #43327, wrong return value from mail(), if sendmail_path is wrong 2009-08-19 18:43:46 +00:00
andy wharmby e90f0eda2d New basic test for md5(). Tested on Windows, Linux and Linux 64 bit 2009-08-19 08:39:33 +00:00
Stanislav Malyshev d6ba6c69fb fix crash when unexpectedly passed by-ref parameter is modified 2009-08-18 20:51:49 +00:00
Garrett Serack 827469c94e - Fixed bug #28038 (Sent incorrect RCPT TO commands to SMTP server) 2009-08-18 18:58:33 +00:00
Pierre Joye 26f27ad7a8 - fix NEWS 2009-08-18 15:18:50 +00:00
Garrett Serack ad3f197c55 added missing NEWS entry for bug #49223 2009-08-18 14:38:41 +00:00
Ilia Alshanetsky e6fd4c1fc0 NULL the value after free 2009-08-18 12:44:32 +00:00
Dmitry Stogov f1ab855cfe Fixed ability to call user functions from user opcodes without recursion 2009-08-18 10:12:32 +00:00
Stanislav Malyshev a515259047 cleanup parameter parsing 2009-08-18 00:41:43 +00:00
andy wharmby e9a960bba6 New str_replace() tests. All tested on Windows, Linux and Linux 64 2009-08-17 22:41:30 +00:00
Stanislav Malyshev fa2310b177 fix parameter parsing for SNMP 2009-08-17 22:15:18 +00:00
Garrett Serack 6cec8d8ed3 - Fix for bug #49223 Inconsistency using get_defined_constants(true) 2009-08-17 21:28:22 +00:00
Jani Taskinen 918dea038b - Fix news 2009-08-17 20:14:25 +00:00
Dmitry Stogov b06436f171 Fixed bug #49144 (import of schema from different host transmits original authentication details) 2009-08-17 18:23:48 +00:00
Jani Taskinen 5ae549c8fd - Fixed bug #49236 (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). 2009-08-17 17:57:40 +00:00
Jani Taskinen db53d49623 - Fixed bug #49248 by fixing bug #48994 properly 2009-08-17 17:30:32 +00:00
Jani Taskinen 46bd9ed597 - Try disabling zlib.output_compression always for images. (zlib extension might be compiled as shared and not same time as the main PHP binary) 2009-08-17 16:54:39 +00:00
Ilia Alshanetsky 229212c5ca Fixed typo 2009-08-17 14:50:34 +00:00
Derick Rethans 718b7d160d - Updated to version 2009.12 (2009l) 2009-08-17 14:46:58 +00:00
andy wharmby 6c56fd6898 New basic tests for uniqid(). Tested on Windows, Linux and Linux 64 bit 2009-08-17 14:22:02 +00:00
andy wharmby 1cfc27bb8c New basic string tests - includes back-porting a few existing tests back to 5.2. All tested on Windows, Linux and Linux 64 2009-08-17 10:37:30 +00:00
Dmitry Stogov f694c09a35 Fixed bug #49269 (Ternary operator fails on Iterator object when used inside foreach declaration). (Etienne, Dmitry) 2009-08-17 07:40:43 +00:00
Ilia Alshanetsky 4687f6e0ba MFB: Added missing sanity checks around exif processing. 2009-08-16 14:32:32 +00:00
Felipe Pena 88056c6bac - Improved param. parsing for ldap_read(), ldap_search() and ldap_list() 2009-08-15 00:52:31 +00:00
Gwynne Raskind c336c2e5d0 fix broken test (spurious tab characters caused run-tests to spaz) 2009-08-14 09:44:45 +00:00
Dmitry Stogov 85560842c2 Fixed crash in usort() and uasort() in case user comparison function modifyes th
e array.
2009-08-14 06:20:21 +00:00
Rasmus Lerdorf 5ca166b1d2 FIx test after Stas' explode() fix 2009-08-14 01:42:11 +00:00
Etienne Kneuss 6e164aa35a Fix several recursion problems when var_dump'ing self-referencing objects 2009-08-13 22:07:05 +00:00
Felipe Pena a8604e2c20 - Fix ZTS build 2009-08-13 20:10:18 +00:00
Stanislav Malyshev e52517d610 standardise and clean up string functions parameter parsing 2009-08-13 06:44:50 +00:00
Christopher Jones de65a02f1c refactor & WS for local test config change 2009-08-12 14:54:16 +00:00
Scott MacVicar ce24f04694 Fix build on platforms where crypt isn't always available 2009-08-12 09:18:41 +00:00
Scott MacVicar fbcfcfd8e6 Use the correct tense for the NEWS entries 2009-08-12 08:40:05 +00:00
Sriram Natarajan c35177b6a4 - Simplify default flags for Sun C compiler. 2009-08-11 23:45:35 +00:00
Scott MacVicar a090cd733a Fix BC break in mime_content_type() 2009-08-11 23:05:13 +00:00
Stanislav Malyshev b73ac1a57a fix potential memory issue on serialization
# When internal class uses zend_mangle_property_name it's malloc()
# so it should be freed with free()
2009-08-11 22:46:07 +00:00
Scott MacVicar 777fb4f911 Update NEWS entry with some stuff I missed. 2009-08-11 22:45:21 +00:00
Scott MacVicar f8d8723ff1 Update libsqlite to 3.6.17. 2009-08-11 22:22:21 +00:00
Scott MacVicar 050653466f Merge chanes from head to improve DNS on OSX and allow usage of bind9 stuff with the bind8 compatibility layer. 2009-08-11 22:07:35 +00:00
Scott MacVicar 6ffe4b2eff We should check /usr/local/include last 2009-08-11 21:40:15 +00:00
Pierre Joye 73fbaa9ee0 - remove double include 2009-08-11 17:08:23 +00:00
Pierre Joye f578a07128 - fix news 2009-08-11 15:12:38 +00:00
Pierre Joye 33a93474df - fixed bug #49072, feof never returns true for damaged file in zip 2009-08-11 15:12:00 +00:00
Scott MacVicar 94976f4694 Search /usr/include too for those wanting to use a system PCRE. 2009-08-11 12:03:29 +00:00
David Soria Parra 495a5ab005 Add actions for the gitclean target. 2009-08-11 02:21:09 +00:00
Rasmus Lerdorf 5f962f0e38 Oops, didn't mean to remove the -0 here 2009-08-10 23:18:07 +00:00
Kalle Sommer Nielsen 4f3d67ea89 Don't build sqlite as threadsafe if we are doing an NTS build 2009-08-10 16:58:53 +00:00
Etienne Kneuss 4881a9cff4 Fix endless recursion of var_dump() over self-referencing closures 2009-08-10 15:18:13 +00:00
Pierre Joye 80696a6f77 - fix and improve dns' AAAA support on windows 2009-08-10 08:05:11 +00:00
Rasmus Lerdorf 4a607c147d Tweak a few tests that failed on OSX 2009-08-10 06:53:49 +00:00
Ilia Alshanetsky ecfe3ae047 BFN 2009-08-09 15:36:17 +00:00
Rasmus Lerdorf a2c564b9e6 Make these socket tests less Linux-specific 2009-08-09 14:50:51 +00:00
Rasmus Lerdorf ecb9a94472 The system error here may not be "Filename too long". On OSX, for example,
it is "Invalid ioctl" in this case.
2009-08-09 14:20:54 +00:00
Ilia Alshanetsky 3189707681 Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies wrong type in declaration) 2009-08-09 13:15:45 +00:00
Rasmus Lerdorf d02332b43f Skip this test on osx because ceil(-0.5) doesn't return -0 like
everywhere else because of weird optimizations.
2009-08-09 05:16:17 +00:00
Andi Gutmans 4f34f5b0e3 - MFH 2009-08-09 04:46:30 +00:00
Rasmus Lerdorf 53349c7769 Doing a strnatcasecmp(chr(128),chr(255)) is completely non-sensical.
Logically one might think that chr(128) would collate before chr(255) except
this is a case-insensitive comparison and internally we toupper() both args.
toupper(chr(128)) is 128.  There is no upper-case equivalent of this char.
toupper(chr(255)) is 120 so chr(255) collates before chr(128) in this
case-insensitive comparison.  And these are rather bogus characters to feed
to a natsort test anyway.
2009-08-08 14:48:47 +00:00
Rasmus Lerdorf 124a0a5a69 Restore intra-string whitespace collapsing broken in the previous change. 2009-08-08 14:39:34 +00:00
Pierre Joye 4668ca80b5 - [DOC] Fixed #49183 patch for VC6, NAPTR is only available in VC9+ build 2009-08-08 13:01:13 +00:00
Rasmus Lerdorf 2ee8b65e4e Oops, true/false are not defined on Linux. They are on OSX. 2009-08-07 17:32:31 +00:00
Rasmus Lerdorf 934a9037c8 Only skip leading 0's - fixes a test I broke a while ago 2009-08-07 17:14:19 +00:00
Jani Taskinen d5fd4ecc48 - Generated files 2009-08-07 15:45:56 +00:00
Jani Taskinen 6e18b9718d - Fixed bug #48719 parse_ini_*(): scanner mode is not checked for sanity) 2009-08-07 15:44:37 +00:00
Jani Taskinen 7af570b685 - Generated files.. 2009-08-07 14:22:49 +00:00
Jani Taskinen 46505193b2 - Fixed bug #48660 (parse_ini_*(): dollar sign as last character of value fails) 2009-08-07 14:21:38 +00:00
Pierre Joye 35ad8e6c46 - Fixed #49183, dns_get_record does not return NAPTR records 2009-08-07 13:31:09 +00:00
Jani Taskinen 46a94ebaa6 - Fix test 2009-08-06 13:54:21 +00:00
Rasmus Lerdorf 6704038c73 More eol crap 2009-08-06 13:31:03 +00:00
Rasmus Lerdorf 97b1247f2f Fix more tests messed up by svn 2009-08-06 13:26:43 +00:00
Rasmus Lerdorf 50957fe3a5 Fix test 2009-08-06 13:08:13 +00:00
Jani Taskinen d35dc78dd3 - Remove duplicate section 2009-08-06 12:40:36 +00:00
Ilia Alshanetsky 92cb2b634f Make test more generic 2009-08-06 12:23:35 +00:00
Jani Taskinen a93fef41c2 - Fix CS and remove extra strlen() call 2009-08-06 11:11:15 +00:00
Jani Taskinen b124f39010 - Missing svn:ignore 2009-08-06 11:05:07 +00:00
Jani Taskinen dc74c5136e - Restore PHP-5.2 behaviour when passing null inside object scope to get_class() 2009-08-06 11:02:25 +00:00
Rasmus Lerdorf 889e8990a2 The user argument cannot be NULL here - fixes 2 tests 2009-08-06 10:56:00 +00:00
Scott MacVicar c54f6df978 Fix bug #48575 - Use dlopen() just like all the other *nixes instead of OSX specific code. 2009-08-06 01:33:54 +00:00
Scott MacVicar af5df4c813 Change dns.h to php_dns.h, part of my dns cleanup 2009-08-05 23:20:17 +00:00
Kalle Sommer Nielsen d46ca6d3b5 MFH: Fixed compiler warnings in ext/date 2009-08-05 21:25:39 +00:00
Scott MacVicar f1521e18c0 res_search is already checked within ext/standard/config.m4
also check for arpa/nameser_compat.h, OSX puts some old defines in there (not used yet)
2009-08-05 20:01:33 +00:00
Ilia Alshanetsky 5a40aa7217 Minor tweak 2009-08-05 19:45:13 +00:00
andy wharmby 8275f0d254 Basic test for is_resource() and isset() functions. tested on Windows, Linux and Linux 64 2009-08-05 16:10:46 +00:00
andy wharmby e0b0c49ae3 Add new use-case to parse_str() test. Tested on Windows, Linux and Linux 64 2009-08-05 08:54:27 +00:00
andy wharmby 3eaa521ed9 Fix tests 2009-08-04 23:16:25 +00:00
Jani Taskinen b312b3af2e - Revert bad fix for bug #49122 and only enable this when mysqlnd is used 2009-08-04 14:49:33 +00:00
Jani Taskinen b053fb5af6 - Add test (yes, it fails still :) 2009-08-04 12:16:40 +00:00
Jani Taskinen 5d757fddf5 - Fixed bug #48608 (Invalid libreadline version not detected during configure) 2009-08-04 11:20:49 +00:00
Jani Taskinen ca8a41215f - Retouch without my path in the #line directives 2009-08-04 11:15:37 +00:00
Antony Dovgal bb8d9fa656 cosmetic fix 2009-08-04 09:27:15 +00:00
Antony Dovgal 307a2259e9 fix memleak and possible segfault in HTTP fopen wrapper 2009-08-04 09:24:48 +00:00
Jani Taskinen 35f0411352 - Generated files 2009-08-04 02:58:29 +00:00
Jani Taskinen d03720480f - Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW) 2009-08-04 02:56:26 +00:00
Jani Taskinen a845f681bb - Fix title 2009-08-04 02:55:24 +00:00
Jani Taskinen 206cc46aab - Generated files 2009-08-04 02:35:38 +00:00
Jani Taskinen 1c2b8b6abb - cosmetics 2009-08-04 02:34:32 +00:00
Jani Taskinen ea98d7a72e - Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII strings as option keys) 2009-08-04 02:34:04 +00:00
andy wharmby 4d8d8d73db New basic tests for get_defined_constants(), get_loaded_extensions() and get_resource_type() functions. Tested on Windows, Linux and Linux 64 bit 2009-08-03 23:12:43 +00:00
andy wharmby cfc417af37 Add missing SKIPIF sections to tests 2009-08-03 22:40:58 +00:00
Felipe Pena 6bebbf1086 - Fixed bug #49095 (proc_get_status['exitcode'] fails on win32) 2009-08-03 19:05:56 +00:00
Jani Taskinen 08f8621a9f - Fixed bug #48994 (zlib.output_compression does not ouput HTTP headers when set to a string value)
# also fixes bug #35936 (ini.zlib.output-compression Documentation :)
2009-08-03 18:15:30 +00:00
Felipe Pena d744463d33 - CS 2009-08-03 15:58:18 +00:00
Andrey Hristov cac5325aac test 2 2009-08-03 14:50:10 +00:00
Andrey Hristov af22257ba4 test 2009-08-03 14:46:11 +00:00
Felipe Pena 80ec45861a - Improved. No ugly copy. (Tony) 2009-08-03 13:26:15 +00:00
Felipe Pena 1648ab5750 - Re-fix stream_is_local() memory leaks 2009-08-03 13:16:24 +00:00
Jani Taskinen 952a193f94 - Fixed bug #48400 (imap crashes when closing stream opened with OP_PROTOTYPE flag) 2009-08-03 13:02:53 +00:00
Jani Taskinen e3d23b959f - Fixed bBug #48873 (Using both --with-libedit and --with-readline cause unknown option warning)
# This isn't worth of NEWS entry, it's just cosmetic
2009-08-03 11:21:44 +00:00
Jani Taskinen 96498c468c - These tests fail if mbstring is enabled, not because of bad libc.. 2009-08-03 10:23:23 +00:00
Uwe Schindler 847f637497 MFH: Fix bug #46020: With Sun Java System Web Server 7.0 on HPUX, #define HPUX 2009-08-03 10:13:49 +00:00
Antony Dovgal 24086c42b6 revert bogus memleak fix causing Valgrind to scream 2009-08-03 08:45:28 +00:00
Rasmus Lerdorf 12bad6796f Fix a few more tests 2009-08-03 05:17:53 +00:00
Rasmus Lerdorf f42081c6a2 Given that we have a DB connection by the time we get here,
mysql_affected_rows() cannot return false.
2009-08-03 04:57:31 +00:00
Rasmus Lerdorf 8af64e6f34 Fix broken json tests in all branches 2009-08-03 04:01:57 +00:00
Rasmus Lerdorf 7e32cc59f7 Give this test more headroom since it needs to allocate a 90M block 2009-08-02 23:08:21 +00:00
Rasmus Lerdorf 1a6cda905a Fix test on 32-bit 2009-08-02 22:37:07 +00:00
Etienne Kneuss 8fd8c65df6 Addref on clone as well 2009-08-02 21:21:46 +00:00
Antony Dovgal 9a7bf0436a fix test 2009-08-02 20:49:20 +00:00
Greg Beaver d6a608f7e1 fix Bug #43857 2009-08-02 19:11:15 +00:00
Jani Taskinen 4397aa9881 - More and more missing svn:ignore entries. 2009-08-02 01:48:27 +00:00
Jani Taskinen 8c88903798 - More missing svn:ignore entries 2009-08-02 01:16:41 +00:00
Jani Taskinen fb61eaf34a - Missing svn:ignore 2009-08-02 01:10:26 +00:00
Jani Taskinen 7b411d7cdf - Fixed bug #49122 (undefined reference to mysqlnd_stmt_next_result on compile with --with-mysqli and MySQL 6.0) 2009-08-02 01:07:38 +00:00
Jani Taskinen 938c1230df - Add missing svn:ignore 2009-08-02 00:27:51 +00:00
Felipe Pena 96d24a59e5 - Fixed paths 2009-08-01 23:26:02 +00:00
Felipe Pena 085067a9aa - Fixed bug #49125 (Error in dba_exists C code)
patch by: jdornan at stanford dot edu
2009-08-01 23:10:11 +00:00
Felipe Pena c75f162165 - Fixed ReflectionClass::getStaticProperties() to do not return the private properties from parent class;
behavior already adopted in ReflectionClass::getDefaultProperties() and ReflectionClass::getProperties().
2009-08-01 20:44:00 +00:00
Felipe Pena ade24c7e35 - Fixed bug #49132 (posix_times returns false without error)
patch by: phpbugs at gunnu dot us
2009-08-01 18:22:31 +00:00
Felipe Pena 8ad9bd1930 - Fixed tests 2009-08-01 15:46:50 +00:00
Derick Rethans e4e7e2b8ee - Added a function to print all CVs from the local scope. 2009-08-01 12:55:36 +00:00
Jani Taskinen be6338014a - Fixed bug #43510 (stream_get_meta_data() does not return same mode as used in fopen) 2009-08-01 03:17:31 +00:00
Jani Taskinen adf8f72f14 - Fixed bug #49092 (ReflectionFunction fails to work with functions in fully qualified namespaces) 2009-08-01 01:45:22 +00:00
Jani Taskinen 0b03346bf8 - Added test for bug #49074 2009-08-01 01:01:43 +00:00
Jani Taskinen edbf332cea - Fixed bug #49074 (private class static fields can be modified by using reflection) 2009-08-01 00:48:04 +00:00
Rasmus Lerdorf 8608857c1a Fix bug #48880
The ini entry was being corrupted because it wasn't being set
on the ACTIVATE and DEACTIVATE stages.
2009-07-31 21:09:45 +00:00
Garrett Serack f56d6b67b5 - Updated fix for bug #48911 (embed sapi misses SAPI_API)
#- Windows didn't need SAPI_API
2009-07-30 20:20:56 +00:00
Felipe Pena f8ee7db001 - Fixed bug #49108 (2nd scan_dir produces seg fault) 2009-07-30 12:06:40 +00:00
Jani Taskinen 96a053288f - Fixed compile failure with older openssl libs (< 0.9.8), fixes bug #49012 2009-07-30 11:32:08 +00:00
Jani Taskinen 10a7066591 - Fix test 2009-07-30 10:53:04 +00:00
Stanislav Malyshev 9fd8469e94 fix for bug #49000 2009-07-30 05:01:53 +00:00
Kalle Sommer Nielsen fa09704cea Test case for bug #42434 2009-07-30 03:54:27 +00:00
Felipe Pena b16441622e - Added missing entries from me 2009-07-30 00:18:48 +00:00
Felipe Pena 99013d8321 - Fixed memleak in stream_is_local() 2009-07-29 19:09:17 +00:00
Greg Beaver 93054e9b38 oops, released as beta instead of stable, Gwynne: svn rm tags/RELEASE_2_0_0 fails, perhaps this can be allowed? 2009-07-29 16:29:30 +00:00
Felipe Pena 9e253ac6e7 - Fixed memleak on Phar::mungServer() 2009-07-29 16:17:57 +00:00
Derick Rethans 24b973cafc - Fixed bug #45554 (Inconsistent behavior of the u format char). 2009-07-29 15:34:59 +00:00
Johannes Schlüter 3e0d13859a Remove .project files (doesn't exist in trunk) 2009-07-29 13:51:52 +00:00
Ilia Alshanetsky 06a2acc527 Fixed bug #45141 (setcookie will output expires years of >4 digits). 2009-07-29 13:44:16 +00:00
Greg Beaver e29bccaae2 make phar tests pass in php 5.2, prepare for release of pecl/phar 2.0.0, merge Gwynne's TSRM fix to phar_object.c to other branches 2009-07-29 10:14:04 +00:00
Greg Beaver 5c4609021f sync run-tests.php with revision 286499 changes making php 6 tests with EXPECTF that can have arbitrary binary data in output work 2009-07-29 10:06:55 +00:00
Jani Taskinen 4fbc6a54ec - Fix news 2009-07-29 09:10:52 +00:00
Moriyoshi Koizumi 7ce2bff511 * Fix bug #48645 (mb_convert_encoding() doesn't understand hexadecimal html-entities) 2009-07-29 04:44:08 +00:00
Stanislav Malyshev 9e445b043b report fix for bug #49065 2009-07-29 00:18:19 +00:00
Stanislav Malyshev d1a16fc86d fix extension functions disabling (bug #49065) 2009-07-29 00:17:10 +00:00
Hannes Magnusson cc23b8d600 MFH: Fixed bug #44144 & add test 2009-07-28 22:25:31 +00:00
Jani Taskinen f48cab06ff - Fixed bug #48971 (Missing ZEND_NS_NAMED_FE macro) 2009-07-28 21:12:42 +00:00
Jani Taskinen 907763a20a - Fixed bug #48911 (embed sapi misses SAPI_API) 2009-07-28 21:07:43 +00:00
Kalle Sommer Nielsen b5b8303194 Fixed bug #42434 (ImageLine w/ antialias = 1px shorter)
- patch by wojjie at gmail dot com
2009-07-28 20:35:06 +00:00
Sriram Natarajan 34d8ee27cc - 48182 ssl handshake fails during asynchronous socket connection 2009-07-28 19:28:08 +00:00
Jani Taskinen 48a514673a - Skip some tests in 32bit systems, add cleanups where missing 2009-07-28 19:16:02 +00:00
Derick Rethans d936dd1802 - Updated to version 2009.11 (2009k) 2009-07-28 15:25:16 +00:00
Rasmus Lerdorf ee01362c98 Get rid of this platform-specific test 2009-07-28 14:56:08 +00:00
Dmitry Stogov ff766c1de2 Fixed bug #48912 (Namespace causes unexpected strict behaviour with extract()) 2009-07-28 12:35:27 +00:00
Antony Dovgal 421b6e0f2c configure dependency has to be optional as well 2009-07-28 08:59:08 +00:00
Antony Dovgal 75fc702162 fix segfault in session/tests/031.phpt by adding optional extension
dependency (php_hash_hashtable has to be initialized when setting
session.hash_function)
2009-07-28 08:54:23 +00:00
Takeshi Abe 59ff212783 added test for #43073 2009-07-27 22:11:43 +00:00
Takeshi Abe 366c261cce MFH: fixed #48732 (TTF Bounding box wrong for letters below baseline) and #48801 (Problem with imagettfbbox) 2009-07-27 15:06:28 +00:00
Felipe Pena 28add3cbf3 - MFH: Cosmetic changes 2009-07-27 14:11:53 +00:00
Jani Taskinen 2539da79ba - HEAD and PHP_5_2 have it like this, PHP_5_3 should not be different! 2009-07-27 09:23:06 +00:00
Kalle Sommer Nielsen 82cfb15677 Fixed bug #48872 (string.c: errors: duplicate case values) (Only in PHP_5_3) 2009-07-27 07:14:40 +00:00
Scott MacVicar 87dbefa03b MFH: Add error constant when json_encode detects an invalid UTF-8 sequence. 2009-07-27 03:43:38 +00:00
Felipe Pena 837732acc5 - Fix ZTS build 2009-07-26 23:44:59 +00:00
Jani Taskinen e2d044db40 - Regenerated 2009-07-26 23:22:27 +00:00
Jani Taskinen 8877a37f3e - Fixed bug #49064 (--enable-session=shared does not work: undefined symbol:
php_url_scanner_reset_vars). (Jani)

# Note: This does not exist in PHP_5_2. Merged there as well to keep these files synced.
2009-07-26 23:20:34 +00:00
Jani Taskinen ae492897c6 - Removed unused code (replaced long time ago by url_scanner_ex.* 2009-07-26 22:59:46 +00:00
Antony Dovgal d132b9985d fix test 2009-07-26 19:59:04 +00:00
Antony Dovgal 6d04f1a141 fix test 2009-07-26 19:53:23 +00:00
Antony Dovgal 3af4a22a3c fix test 2009-07-26 19:51:24 +00:00
Antony Dovgal 2fffc2b06c fix test 2009-07-26 19:45:38 +00:00
Rasmus Lerdorf 0e2af69d55 Not binary 2009-07-26 19:29:11 +00:00
Ilia Alshanetsky 899cb30275 Fixed bug #49026 (proc_open() can bypass safe_mode_protected_env_vars
restrictions).
2009-07-26 15:14:18 +00:00
Greg Beaver 1d50248937 make cache_list tests pass in php 6 2009-07-26 03:07:23 +00:00
Greg Beaver e8d80c8bfd fix buildFromIterator with filesystem iterator in php 6 2009-07-26 02:43:14 +00:00
Greg Beaver 96dd763df4 fix generation of phar.phar in php 6, fix remaining tests broken by PHP 6 (and not by spl/other stuff in php6) 2009-07-26 02:18:50 +00:00
Rasmus Lerdorf a37d7529ba The test for bug #46739 doesn't actually need the remote
responder, so get rid of the skipif in PHP 5, and it was
broken in PHP 6 because the keys in the curl_info array 
were not unicode.  All internally-generated arrays should
have unicode keys.
2009-07-26 02:12:38 +00:00
Greg Beaver 66908185b7 fix basic phar test issues, failing tests phar_oo_009.phpt and phar_buildfromiterator10.phpt are due to bugs in Spl 2009-07-26 01:24:12 +00:00
Greg Beaver 732f4af082 re-organize slightly, fix more php6-only compile warnings in php_stream_copy_to_mem 2009-07-26 01:03:47 +00:00
Greg Beaver 571dfc1e49 fix zip front controller tests for php6 2009-07-26 00:39:40 +00:00
Greg Beaver 39125fdd47 fix tar front controller tests for php6 2009-07-26 00:35:17 +00:00
Greg Beaver 7761a39314 fix more tests for php6 2009-07-26 00:28:50 +00:00
Greg Beaver cfbd6d852f more php6 fixes for phar, fix more tests 2009-07-25 23:45:45 +00:00
Kalle Sommer Nielsen 42afb1f209 BFN #48189 2009-07-25 23:40:22 +00:00
Kalle Sommer Nielsen 310bfadf3c Fixed bug #48189 (ibase_execute error in return param) 2009-07-25 23:37:47 +00:00
Jani Taskinen bc8155d737 - Fix tests to be more comptatible AND to test what they are supposed to test 2009-07-25 22:20:18 +00:00
Felipe Pena badd102c83 - Opss, fix the fix... 2009-07-25 21:56:31 +00:00
Felipe Pena 7c30b3c2dc - Fix test 2009-07-25 21:52:33 +00:00
Rasmus Lerdorf 5471bd7f6a Fix dumb typo in the skipif 2009-07-25 21:37:04 +00:00
Jani Taskinen 555b177c83 - Fix this again :) 2009-07-25 21:07:02 +00:00
Jani Taskinen 1f0c710ef2 - Add missing EXPERIMENTAL note (this thing REALLY is experimental at best..) 2009-07-25 20:58:51 +00:00
Jani Taskinen 776cb8a669 - Fixed bug #48637 ("file" wrapper is overwritten when using --with-curlwrappers)
# Also fixes bug #48603, basically same issue.
2009-07-25 20:44:19 +00:00
Felipe Pena 57140f7db0 - Making Valgrind happy 2009-07-25 20:39:01 +00:00
Derick Rethans ee084018e7 - Updated to version 2009.11 (2009k) 2009-07-25 15:14:28 +00:00
Jani Taskinen 5e22b47d05 - Fix bad environment usage 2009-07-25 14:52:52 +00:00
Jani Taskinen 1ca46f5ddd - Fix test when responder is something like lighttpd 2009-07-25 14:49:17 +00:00
Jani Taskinen 57d04afff0 - Fix test 2009-07-25 14:20:38 +00:00
Jani Taskinen 4f760d11f8 - Fixed bug #49052 (context option headers freed too early when using --with-curlwrappers) 2009-07-25 13:00:25 +00:00
Jani Taskinen ee992d9ff7 - Fix tests .oO(why are there so many things broken in this branch..?) 2009-07-25 00:43:42 +00:00
Jani Taskinen dad7c68b27 - Fix test 2009-07-25 00:35:25 +00:00
Greg Beaver 7d114c2e7f merge from HEAD changes to test 2009-07-24 23:55:49 +00:00
Greg Beaver e8756a3c3c begin work on making phar php6-ready 2009-07-24 23:53:24 +00:00
Moriyoshi Koizumi 4390903e75 - MFH (using svn merge; it seems I won't need to repeat the commit message anymore) 2009-07-24 23:48:58 +00:00
Greg Beaver aa65955c8c update test to work in php 6 2009-07-24 22:09:36 +00:00
Greg Beaver 96740db9ab fix PHAR_ARG_INFO #define to work with PHP major versions > 5 2009-07-24 21:27:51 +00:00
Jani Taskinen 2d549b7bdf - Fixed bug #48835 (Deprecated php.ini options in old php.inis makes "make test" to fail) 2009-07-24 20:24:12 +00:00
Jani Taskinen d6091b2521 - Fix test 2009-07-24 19:51:55 +00:00
Jani Taskinen 4892c04168 - Missing svn:ignore 2009-07-24 19:44:07 +00:00
Greg Beaver cd23986a7a fix --CLEAN-- of all.phpt, remove unnecessary check in phar_convert_again.phpt, and fix signature generation and checking for zip to also include central directory up to the signature, implement better check for end-of-zip at signature verification 2009-07-24 19:40:41 +00:00
Greg Beaver d68cc96ebd merge unmerged changes between branches, remove unnecessary test for zip signature failure in badparameters.phpt 2009-07-24 17:07:05 +00:00
Derick Rethans fb5d7e4748 - Added - to the list of "unsafe" characters so that the pecl dir can have the
- character in the name.
2009-07-24 16:30:48 +00:00
Greg Beaver e1962da708 fix minor memory leak 2009-07-24 16:21:40 +00:00
Greg Beaver 42e0e5dfb7 fix signature generation/validation for zip archives by phar extension, fix a few edge cases where memory was leaked on error conditions by missing efree() 2009-07-24 15:42:17 +00:00
Rafael Machado Dohms f7873d0aee Adding tests for imagesetthickness, basic and errors for both params, and complementing imagetruecolortopalette with out of bound params 2009-07-24 03:06:05 +00:00
Jani Taskinen b991dfdb1f - Fixed tests to be more portable 2009-07-23 19:06:56 +00:00
Jani Taskinen cce5a75b26 - Add missing svn:ignore property 2009-07-23 17:38:03 +00:00
Greg Beaver 115e370d6e fix PHP Bug #48377: error message unclear on converting phar with existing file 2009-07-23 17:04:24 +00:00
Greg Beaver 09b8bbc97f new phar test for zip with data descriptor in local file header 2009-07-23 16:40:47 +00:00
Greg Beaver 1723b16898 fix PHP bug #48791: open office files always reported as corrupted 2009-07-23 16:30:27 +00:00
Jani Taskinen af0c2c4760 - Fix test 2009-07-23 16:25:07 +00:00
Greg Beaver 01659b8b7c fix php bug #48783: make install will fail saying phar file exists 2009-07-23 15:48:04 +00:00
Greg Beaver 3bf5d05047 fix PHP bug #48740: PHAR install fails when INSTALL_ROOT is not the final install location 2009-07-23 15:40:10 +00:00
Jani Taskinen 6dc86facd0 - Fixed bug #48802 (printf() returns incorrect outputted length) 2009-07-23 14:54:04 +00:00
Jani Taskinen 855034b955 - Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference) 2009-07-23 14:42:46 +00:00
Ilia Alshanetsky b89985ac55 Fixed bug #49014 (dechunked filter broken when serving more than 8192 bytes in
a chunk)         

# Original patch by andreas dot streichardt at globalpark dot com
2009-07-23 12:18:40 +00:00
Greg Beaver 4744223055 fix Bug #49021: phar tar signature algorithm reports as Unknown (0) in getSignature() call 2009-07-22 20:21:39 +00:00
Greg Beaver 667c59abd6 Fix Bug #49020: phar misinterprets ustar long filename standard 2009-07-22 19:51:37 +00:00
Greg Beaver fb3adb16fc don't package up subversion directory in phar.phar 2009-07-22 18:37:32 +00:00
Greg Beaver d967e29541 fix php bug #49018 (phar tar stores long filenames with prefix/name reversed) 2009-07-22 18:13:38 +00:00
Patrick Allaert 9b9363af5b MFH: The exact error message might differ (it's "Not owner" on Solaris) (r265951) 2009-07-22 12:20:56 +00:00
Rasmus Lerdorf 7bba051009 Fix bug #49003 by tweaking the fix to bug #44929 slightly.
A 0 followed by any punctuation is now significant instead
of just 0's in front of a period.
2009-07-21 21:15:48 +00:00
Sriram Natarajan 27dccf7ac0 - Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()). 2009-07-21 20:32:32 +00:00
Ilia Alshanetsky 160c88cfa1 Fixed bug #48962 (cURL does not upload files with specified filename). 2009-07-21 15:56:08 +00:00
Zoe Slattery 9ff94c82df Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Jani Taskinen d671793295 - There is only one Makefile that needs removing 2009-07-21 13:57:33 +00:00
Jani Taskinen 36b94bea86 - Fixed problem with vcsclean which caused it not to really clean whole tree 2009-07-21 12:01:26 +00:00
Johannes Schlüter 569869855e CVS->SVN 2009-07-20 14:34:09 +00:00
Gwynne Raskind 3832578522 revert Nuno's commit of my patch 2009-07-20 11:48:04 +00:00
Jani Taskinen c0aab038ba Fixed bug #48929 (Double \r\n after HTTP headers when "header" context option is an array) 2009-07-20 10:54:37 +00:00
Jani Taskinen a56e81fe13 - Removed unused parts 2009-07-20 10:51:40 +00:00
Kalle Sommer Nielsen 5c1d0c3eab Fix Windows build 2009-07-20 04:31:07 +00:00
Rafael Machado Dohms 12ef53b204 Removing deprecated test replaced by individual tests for imageistruecolor and imagetruecolortopalette 2009-07-20 03:48:55 +00:00
Rafael Machado Dohms 23a423aea0 Separating and complementing imageistruecolor and imagetruecolortopalette tests 2009-07-20 03:47:29 +00:00
Felipe Pena 00054412e4 - Fixed bug #48057 (Only the date fields of the first row are fetched, others are empty)
patch by: info at programmiernutte dot net
2009-07-20 00:17:24 +00:00
Felipe Pena 2507033c79 - Fixed bug #48980 (Crash when compiling with pdo_firebird) 2009-07-19 23:33:50 +00:00
Felipe Pena 9f8ff2f968 - Revert my mistake 2009-07-19 22:46:03 +00:00
Felipe Pena a0e5576f23 - Fixed module check (Related to bug #48785) 2009-07-19 20:53:26 +00:00
Felipe Pena cdf9cf3033 - Fixed bug #48773 (Incorrect error when setting PDO::ATTR_STATEMENT_CLASS with ctor_args)
[HEAD only]
2009-07-19 18:55:31 +00:00
Pierre Joye 4028b77c34 - #49763 entry (and test commit in multiple branches :) 2009-07-19 17:02:03 +00:00
Felipe Pena 0c9a16ffb7 - New tests 2009-07-19 16:31:43 +00:00
Christopher Jones defb5d1f7d MFH: Bug #48722 (Update OCI8 --enable-sigchild warning) 2009-07-19 16:27:59 +00:00
Christopher Jones 085daea052 make it easier for maintainers to set un/pw in environments that don't pass shell variables 2009-07-19 16:08:24 +00:00
Christopher Jones ce919053f3 Fix expected output to match final PHP 5.3 deprecated behavior 2009-07-19 16:06:19 +00:00
Christopher Jones 4c12299c08 Reduce Oracle version-dependent diffs. Make PHP 5/6 compatible 2009-07-19 16:05:08 +00:00
Pierre Joye 38bb4c1099 - MFB: Fix #48763, create corrupt archive 2009-07-19 15:32:09 +00:00
Pierre Joye f031901b1b - WS 2009-07-19 15:20:48 +00:00
Nuno Lopes 7655762e40 ignore a few generated files 2009-07-19 14:57:28 +00:00
Nuno Lopes 4526eee6db Add support for proc_open()'s bypass_shell feature for Unix systems (slightly modified patch from Gwynne) 2009-07-19 14:52:27 +00:00
Felipe Pena ea2abdc378 - Removed unnecessary strlen() call and if statement. 2009-07-19 14:36:16 +00:00
Felipe Pena 91841e0987 - New test 2009-07-19 03:36:46 +00:00
Felipe Pena d49b4fa597 - Tests related to bug #48770 2009-07-19 03:25:49 +00:00
Rafael Machado Dohms d7276e46e1 Commiting imagecreatetruecolor tests for PHP_5_3 branch 2009-07-19 01:42:08 +00:00
Pierre Joye a134024ea3 - let try to be smart, read the bug report.... 2009-07-18 17:06:21 +00:00
Zoe Slattery 98c8c6738a Added comment to XFAIL 2009-07-18 17:00:53 +00:00
Zoe Slattery 3c3c9d544e Adding explanation 2009-07-18 16:53:54 +00:00
Zoe Slattery d93cf1f610 removing empty XFAIL sections 2009-07-18 16:41:16 +00:00
Zoe Slattery d09ab2ab42 Removing unnecessary SKIPIF sections 2009-07-18 13:46:08 +00:00
Zoe Slattery 546a927dc8 fixing paths in INI section 2009-07-18 13:14:21 +00:00
Rasmus Lerdorf 15b0218437 Fix TTF Files 2009-07-18 03:18:36 +00:00
andy wharmby fbea458808 New cURL tests. Tested on Windows, Linux and Linux 64 bit 2009-07-17 20:46:30 +00:00
andy wharmby f3d407964e Fix cURL tests 2009-07-17 20:44:50 +00:00
Alexey Zakhlestin d3e8085c28 removing test. this one tests system-specific behavior, not something implemented in php 2009-07-17 17:17:57 +00:00
Alexey Zakhlestin edb55a4166 fixed tests. money_format() is implemented in underlying system, not in php. So, we shouldn't test for actual values returned. They are different between systems 2009-07-17 15:56:36 +00:00
Gwynne Raskind 2673b9be38 MFH: fix crash when session hash function generated long hashes with hash_bits_per_character larger than 4 2009-07-17 14:21:59 +00:00
Felipe Pena c803fbe66c - Fix test 2009-07-17 14:04:06 +00:00
Gwynne Raskind c08473090c MFH: document the hash name functionality available since 5.3 2009-07-17 13:22:56 +00:00
Jani Taskinen eb4446a812 - Add missing file exts 2009-07-17 12:31:58 +00:00
Jani Taskinen 5e76a611df - Fixed bug #48947 (vcsclean does not remove all created files) 2009-07-17 12:14:21 +00:00
Jani Taskinen 8503b66cb6 CS 2009-07-17 11:49:50 +00:00
Jani Taskinen 785f1bd170 - Fixed bug #47481 (natcasesort() does not sort extended ASCII characters correctly) 2009-07-17 11:13:51 +00:00
Zoe Slattery 4e0b75042a fix tests 2009-07-17 09:28:19 +00:00
Zoe Slattery 6917639217 fix tests 2009-07-17 09:04:52 +00:00
Zoe Slattery 29b557ae61 fix tests 2009-07-17 08:18:27 +00:00
Rasmus Lerdorf 4fdd6bacb7 Multi-branch test commit to see if email notifications are working 2009-07-17 04:26:33 +00:00
Stanislav Malyshev 326cb1bb0f fix memleak 2009-07-17 00:48:59 +00:00
Felipe Pena f4f825a7a5 - MFH: Fixed bug #48893 (Problems compiling with Curl) 2009-07-17 00:25:54 +00:00
Felipe Pena 520591607e - MFH: Fixed bug #48762 (IPv6 address filter still rejects valid address) 2009-07-16 23:29:36 +00:00
Jani Taskinen ecdd8ebbb9 MFH 2009-07-16 12:25:17 +00:00
Gwynne Raskind 24f9b1bd1e one more attempt at ridding us of some of those annoying mime types 2009-07-16 08:10:50 +00:00
Gwynne Raskind ad3dd7a718 MFH: dropped some more mime types, svnclean -> clean for multiple VCS 2009-07-16 04:50:06 +00:00
Felipe Pena 2adf42f890 - Removed trailing zeros on double to string conversion (noticed on #48924) 2009-07-16 00:59:34 +00:00
Rasmus Lerdorf 0f004989e9 Buffer handling fixes 2009-07-16 00:04:59 +00:00
Stanislav Malyshev 67f846c4c3 fix ini_restore problem 2009-07-16 00:02:19 +00:00
Stanislav Malyshev 1db1d4ccc8 fix freed mem reference 2009-07-15 23:55:50 +00:00
Rasmus Lerdorf 33c42127f6 MFH 2009-07-15 19:09:15 +00:00
Pierre Joye 6f9c84f844 - cvs > svn 2009-07-15 17:08:50 +00:00
Pierre Joye 9c18f65572 - cvs > svn 2009-07-15 16:52:21 +00:00
Alexey Zakhlestin 3e326b91e7 fix tests corrupted by svn's eol-style=native 2009-07-15 13:44:14 +00:00
Alexey Zakhlestin 07ae04de31 MFH: fix broken test 2009-07-15 10:06:38 +00:00
Felipe Pena aabf4dc30f - MFH: Fixed bug #48913 (Too long error code strings in pdo_odbc driver) 2009-07-15 02:36:08 +00:00
Felipe Pena 0225d5ef80 - MFH: Fixed bug #48913 (Too long error code strings in pdo_odbc driver) 2009-07-15 02:32:43 +00:00
Felipe Pena bffd08072c - MFH: Fixed bug #48899 (is_callable returns true even if method does not exist in parent class) 2009-07-15 01:11:24 +00:00
Gwynne Raskind 912131b304 kill bad mime types 2009-07-14 21:51:40 +00:00
Gwynne Raskind 1020d90072 MFH: CVS->SVN 2009-07-14 21:49:44 +00:00
Stanislav Malyshev 41d1c12978 fix build 2009-07-14 18:57:55 +00:00
David Soria Parra 758eca1145 MFH: - cvs->svn 2009-07-14 09:55:55 +00:00
Stanislav Malyshev c7eb83def9 add intl option 2009-07-13 23:57:20 +00:00
David Soria Parra 0391dea5be MFH: Fix date warning by setting the default timezone to UTC 2009-07-13 23:56:38 +00:00
Pierre Joye 81461c78ef - remove app/js mime 2009-07-13 22:02:28 +00:00
Rasmus Lerdorf 5e118fdc1a cvs->svn 2009-07-13 19:16:13 +00:00
Rasmus Lerdorf fe8bed8394 svn propdel svn:mime-type build/buildcheck.sh
cvs->svn
2009-07-13 17:36:49 +00:00
Pierre Joye 06033b5845 - rename to svn 2009-07-13 16:10:59 +00:00
Pierre Joye 95601a1f16 - rename to svn 2009-07-13 16:10:29 +00:00
Pierre Joye dffe3d8d21 - cvs to svn changes 2009-07-13 16:02:34 +00:00
Gwynne Raskind 2b62ffdba7 fix a huge number of wrong MIME types. UGH. 2009-07-13 12:15:13 +00:00
Pierre Joye 8faa7980f3 - remove ZendEngine* detection, we always have Zend now (svn) 2009-07-13 00:26:52 +00:00
Gwynne Raskind 627061c6a3 cvsclean -> svnclean 2009-07-12 19:43:27 +00:00
Ilia Alshanetsky c71358379d Fixed a possible crash inside OnUpdateErrorLog() when restoring an empty value
Avoid pointless safe_mode/open_basedir checks on OnUpdateMailLog() if value is empty
2009-07-12 16:38:14 +00:00
Rasmus Lerdorf 28356530cd Test commit 2009-07-12 14:16:30 +00:00
Rasmus Lerdorf 1f53affe7a MFB cvs->svn 2009-07-11 04:24:45 +00:00
David Soria Parra 098d0fcf55 MFH: Get rid of PHP 4 related buildconf and moving around directories. As we switched to svn ZE2 is in Zend by default. 2009-07-11 01:55:41 +00:00
Ilia Alshanetsky ba0e26f2c1 Fixed typo 2009-07-09 16:50:45 +00:00
Stanislav Malyshev 14f163fd80 report fix 2009-07-09 00:27:28 +00:00
Stanislav Malyshev 4bb8672039 fix mail.log openbasedir interaction with .htaccess 2009-07-09 00:21:17 +00:00
Felipe Pena fb235dc07f - MFH: Fixed bug #48854 (array_merge_recursive modifies arrays after first one) 2009-07-08 18:23:08 +00:00
Pierre Joye ddb869d674 - skip on windows 2009-07-08 10:42:06 +00:00
Pierre Joye e98be67b11 - windows version 2009-07-08 10:41:50 +00:00
Pierre Joye 528ede93df - windows version 2009-07-08 10:14:49 +00:00
Pierre Joye d8b465caae - skip on win, different error msg 2009-07-08 10:13:27 +00:00
Pierre Joye 8f7ce3ae3d - fix test (mtime only is changed) 2009-07-08 09:59:33 +00:00
Ilia Alshanetsky c16b7585f6 Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into symlinked
directories).

[DOC]

To avoid breaking how existing code works a new constant is introduced for
the RecursiveDirectoryIterator() that directs the code to follow symlinks.
This constant RecursiveDirectoryIterator::FOLLOW_SYMLINKS can be passed a
flag to the constructor to trigger symlink following.
2009-07-08 03:06:59 +00:00
David Soria Parra 2331863a5c MFH: Reset TZ environment variable. Some tests assume that it's not set. 2009-07-07 23:05:17 +00:00
Pierre Joye ba035b47fd - #46682 2009-07-07 22:17:54 +00:00
Pierre Joye 7a41848cc6 - #46882, touch() atime field returns different value 2009-07-07 22:13:32 +00:00
Pierre Joye f6016c64e5 - fixed, remove xfail 2009-07-07 22:04:42 +00:00
Pierre Joye 18174e18c9 - fix tests, 5.3 supports these things now on windows. Also shorter tests would be REALLY nice (or use iteration numbering) 2009-07-07 21:50:38 +00:00
Stanislav Malyshev e865c0b4ee merge errors support 2009-07-07 21:25:46 +00:00
Jani Taskinen 87f9d62861 - Fixed bug #48247 (Infinite loop and possible crash during startup with errors) 2009-07-07 16:42:11 +00:00
Pierre Joye c408f289be - #45905 2009-07-07 15:17:36 +00:00
Jani Taskinen 8ac02f5926 Check your editors, this is ascii only file! 2009-07-07 12:19:05 +00:00
David Soria Parra 8af2635eab MFH: Adjust tests. The order in which notices appear is platform dependend as the function call ordering in parameter lists is not defined in C. 2009-07-07 12:11:53 +00:00
Ulf Wendel 759cc732cf MFH. Fixing tests to run with SQL_MODE=ANSI_QUOTES as well. 2009-07-07 11:32:17 +00:00
Pierre Joye c79f7e3f6b - WS 2009-07-07 10:54:44 +00:00
Pierre Joye b38fde4694 - #45905, imagefilledrectangle() clipping error 2009-07-07 10:49:38 +00:00
Felipe Pena 4f0c8ef124 - MFH: New tests (WurzbrugUG testfest) 2009-07-07 01:17:46 +00:00
Ilia Alshanetsky 0e05af63ed MFB: Fixed bug #48808 (FILTER_VALIDATE_EMAIL allows some invalid e-mail
syntaxes)
2009-07-07 00:44:20 +00:00
Felipe Pena 44bf860516 - MFH: Fixed compiler warning 2009-07-07 00:02:34 +00:00
Stanislav Malyshev 387fbb2d4e fix protos 2009-07-06 23:48:27 +00:00
Pierre Joye 43be94f2be - forgot to add the author of the initial patch 2009-07-06 23:47:16 +00:00
Pierre Joye 4645ef2a49 - #48116 2009-07-06 23:38:03 +00:00
Stanislav Malyshev bfdeea808a add test 2009-07-06 23:28:16 +00:00
Pierre Joye f37fabb803 - #48116, restore 0.x compability, thx config.cache. 2009-07-06 23:26:23 +00:00
Pierre Joye c82245dea7 - #48116, fix build against openssl 1.0 2009-07-06 23:02:18 +00:00
andy wharmby 6e96ae79a3 Fix test 2009-07-06 19:35:01 +00:00
Pierre Joye 4186a6e57c - #48771 2009-07-06 17:48:02 +00:00
Ulf Wendel be7dd36297 MFH. Enabling test as requested by the skipif comment... it does pass when slightly modified. 2009-07-06 15:53:14 +00:00
Ulf Wendel 4786cfa4bf MFH. Fixing mysqlnd version test to run some four previously skipped tests. There is no proper way to check the mysqlnd version. The best one can do is adapt the tests to what PHP 5.3 and PHP 6.0 return today. 2009-07-06 15:45:19 +00:00
Ulf Wendel 556feffbd4 MFH. Adapting (old) tests to current PHP 6 semantics - s/unicode.semantics test/version_compare 2009-07-06 15:08:13 +00:00
Ulf Wendel f611876b2e MFH. Adding --CLEAN-- sections to all ext/mysqli tests 2009-07-06 14:39:10 +00:00
Pierre Joye fa38267833 - MFH: #48771, rename() between drives error: No error 2009-07-06 08:56:23 +00:00
Ilia Alshanetsky dac8acd1c1 MFB: Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain
components).
2009-07-05 16:08:05 +00:00
Zoe Slattery b37019f963 fix test 2009-07-05 14:46:08 +00:00
Felipe Pena fc4e43ec3c MFH:
- Added missing methods' arginfo (for void params)
- Fixed arginfos:
  - MultipleIterator::__construct
  - MultipleIterator::setFlags      (Thanks Philip!)
  - SplFixedArray::__construct
2009-07-04 20:31:27 +00:00
Antony Dovgal 5725982614 stop polluting my /tmp dir 2009-07-03 14:02:28 +00:00
Ulf Wendel b90a412302 MFH. ... to play with large data sets. Currently its only 10MB in size to keep the test runtime short. However, its easy to increase, if you want to test large data sets 2009-07-03 12:14:39 +00:00
Jani Taskinen 0f60a5d540 Nuke "hotfix", fix the real issue.. 2009-07-03 11:42:11 +00:00
Patrick Allaert 17aa260703 MFH: Tests for ext/ldap from PHPBelgium TestFest 2009-07-03 09:21:31 +00:00
Ulf Wendel f31fc6df21 MFH. Global s/ini_get('unicode.semantics')/version check/ . Early PHP 6 times are gone. I hope unicode logic will not change any more 2009-07-03 08:42:46 +00:00
Ulf Wendel 26e9c79d4c MFH. Fixing borked test, again new run-tests.php has found it... Fails with HEAD, passes with 5.3 2009-07-03 08:25:25 +00:00
Jani Taskinen a6cbd01d99 - Fixed bug #48782 (CFLAGS killed during configure) 2009-07-03 07:59:53 +00:00
Ulf Wendel 5ac0398f73 MFH. Fixing borked test - thanks again new run-tests.php tool (and team). 2009-07-03 07:50:10 +00:00
Felipe Pena 8715a7f12e - New tests (DutchUG testfest) 2009-07-03 00:09:08 +00:00
Stanislav Malyshev 9937006ac5 bugfix 2009-07-02 22:36:16 +00:00
Ilia Alshanetsky 305f4984d2 MFB: Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns
on files that have been opened with r+).
2009-07-02 13:42:16 +00:00
Lukas Smith 84dcca9f48 MFH: removed references to track_vars, since this option doesnt exist since ages 2009-07-02 13:34:38 +00:00
Ulf Wendel 5147f6cf8d MFH. Adding CLEAN sections, fixing some SKIPIF sections. Cool new run-tests.php, Zoe (and other) - its a great help to detect stinky SKIPIF and CLEAN 2009-07-02 10:05:37 +00:00
Gwynne Raskind 9adf2ed4aa call-time pass-by-reference is deprecated in 5.3 2009-07-02 10:05:15 +00:00
Gwynne Raskind bfad6f6cee Don't use short tags in tests 2009-07-02 10:03:14 +00:00
Gwynne Raskind b26cd6839a Fixed a stray 'in the test 2009-07-02 10:02:38 +00:00
Ulf Wendel ed05c54d2e MFH - Test for bug #48754 2009-07-02 07:42:48 +00:00
Stanislav Malyshev b755935771 cleanup Locale::lookup 2009-07-02 00:43:26 +00:00
Felipe Pena 634f233cc0 - MFH: New tests (NorwayUG testfest) 2009-07-02 00:04:52 +00:00
Stanislav Malyshev 838d359641 typo 2009-07-01 20:31:26 +00:00
Kalle Sommer Nielsen dc69d9228a MFH: Fix test on Windows 2009-07-01 20:27:11 +00:00
Stanislav Malyshev 96f2a45df3 update API files 2009-07-01 20:25:38 +00:00
Stanislav Malyshev 09c10856f6 fix proto 2009-07-01 20:17:31 +00:00
Kalle Sommer Nielsen 485f28aae9 MFH: Fixed #45280 (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle) 2009-07-01 18:44:56 +00:00
Kalle Sommer Nielsen e536b2700a MFH: Fixed memory leak if zero parameters are passed, Thanks Felipe 2009-07-01 17:43:16 +00:00
Kalle Sommer Nielsen 937809f447 BFN #48757 2009-07-01 17:38:52 +00:00
Kalle Sommer Nielsen 21d61978dc MFH: Fixed bug #48757 (ReflectionFunction::invoke() parameter issues) 2009-07-01 17:38:03 +00:00
Ulf Wendel b6bd0f6806 MFH - Changing tests to run with both PHP 6 and PHP 5.3 to make future MFH easier. Basically three changes over all files: a) s/unicode(/%unicode|string% b) s/[u/[%u|b% c) s/unicode.semantics/version_compare 2009-07-01 15:33:31 +00:00
Ulf Wendel b5455f7a7d MFH - Adding XFAIL for some tests which expect the zval cache of mysqlnd to be on. It has been disabled for the PHP 5.3.0 release. Adding INI sections to ensure that statistics are collected. Adding tests that check if statistics collection can be disabled 2009-07-01 12:52:58 +00:00
Felipe Pena d9061f95fa - Fix test 2009-07-01 12:15:00 +00:00
Felipe Pena 3d7b3c8bb2 - Fixed tests 2009-07-01 02:32:55 +00:00
Felipe Pena db6f5e67a8 - MFH: New tests (SaoPaulo UG testfest) 2009-07-01 00:56:01 +00:00
Stanislav Malyshev 2361b4ea2a fix json shared build on Windows 2009-06-30 17:52:21 +00:00
Christian Seiler b4a43d0d94 MFH: spl_autoload_unregister/spl_autoload_functions and closures 2009-06-30 17:14:37 +00:00
Derick Rethans 9dfb40ea8c - MFH: Fixed bug #47351 (Memory leak in DateTime). 2009-06-30 16:17:30 +00:00
Greg Beaver 5dd3306551 fixed bug #48681 (openssl signature verification for tar archives broken) 2009-06-30 14:49:12 +00:00
Lukas Smith 74b8bc2e99 MFH: expanded the section about how to create the changelog 2009-06-30 14:24:25 +00:00
Scott MacVicar 27a1ce801c MFH Fix bug #48284 - adler32 is in the wrong order. Changed to match what zlib produces. 2009-06-30 13:21:53 +00:00
Ilia Alshanetsky ae2c5ee7d4 MFB: Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
TMPDIR).
2009-06-30 12:20:35 +00:00
Felipe Pena 0e294f2121 - MFH: Fixed bug #48709 (metaphone and 'wh') 2009-06-30 11:46:20 +00:00
Kalle Sommer Nielsen 51f8b64752 MFH: Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo)
# Note, this does not go in 5.2 because the inet ports for VC6 are not in that branch
2009-06-30 11:39:15 +00:00
Felipe Pena aafaa9c019 - New test 2009-06-30 11:37:42 +00:00
Lukas Smith f0a55e20d5 MFH: formatting fix for the re-releasing section 2009-06-30 11:37:24 +00:00
Felipe Pena 5a8169902a - MFH: Fixed bug #48709 (metaphone and 'wh') 2009-06-30 11:34:31 +00:00
Scott MacVicar ded5d566ad MFH Upgrade libsqlite to 3.6.16, fixes a possible error with triggers 2009-06-30 11:17:14 +00:00
Johannes Schlüter 52c9cad8e4 Back to -dev 2009-06-29 16:33:25 +00:00
Johannes Schlüter ba04122ae2 Fix grammar (thanks Christian Hoffmann) 2009-06-29 13:04:29 +00:00
Johannes Schlüter e6646ab7cf The php.ini files we ship were renamed 2009-06-29 10:03:24 +00:00
Johannes Schlüter d4671b904d Improve wording and drop outdated link 2009-06-29 09:37:06 +00:00
Johannes Schlüter dec83ec4d2 MFH: Fixed bug #48539 (pdo_dblib fails to connect, throws empty PDOException
"SQLSTATE[] (null)")  (Felipe)
2009-06-29 09:36:03 +00:00
andy wharmby d73094aed4 Basic test for max() on 64 bit platforms. Tested on Linux 64 bit 2009-06-29 07:52:23 +00:00
andy wharmby 54ba44da0a Fix tests 2009-06-29 07:45:11 +00:00
andy wharmby 93a16cf13a Basic tests for sleep() and usleep(). Tested on Windows, Linux and Linux 64 bit 2009-06-29 07:31:10 +00:00
Johannes Schlüter 81761e636d Fix path 2009-06-28 21:52:51 +00:00
Johannes Schlüter ccb33c060f MFH Add missing ini entries (Mikko) 2009-06-28 17:56:18 +00:00
Johannes Schlüter 6d68dbc331 MFH: Add ibase settings 2009-06-28 16:41:17 +00:00
Johannes Schlüter db256c502e Drop debug switches from UPGRADING, they need --enable-debug and aren't ment for users 2009-06-28 16:14:30 +00:00
Johannes Schlüter 3840317d40 MFH: Add two ini settings and remove ini setting which is commented out in code 2009-06-28 15:56:19 +00:00
Johannes Schlüter 79e1cf2fe0 MFH: fix typo 2009-06-28 15:29:24 +00:00
Johannes Schlüter c9fa89534c MFH: Add missing MySQL entries 2009-06-28 15:21:19 +00:00
Christopher Jones b44e08d1e5 Record "new" ini param 2009-06-28 14:31:12 +00:00
Pierre Joye a68f6c9c28 - fix build 2009-06-28 12:04:44 +00:00
Pierre Joye f403bd2128 - MFH: fix regression introduced by the fix for #48518 (Ilia, Rasmus) 2009-06-28 09:50:14 +00:00
Pierre Joye 25c47a2522 - MF52: calloc must actually clear the requested size (Andrei) 2009-06-28 09:48:48 +00:00
Hannes Magnusson c3003002f7 Group the open_basedir entries 2009-06-27 13:33:20 +00:00
Hannes Magnusson 3ca8e5ab0f - Remove outdated version information
- Remove no-longer-existing windows dll (there could be more..)
- List missing INI directives (need to add descriptions to them and sort
  them correctly..)
2009-06-27 13:29:53 +00:00
Hannes Magnusson f88d938dfb - Added missing deprecated things
- Added missing INI settings
2009-06-27 13:23:03 +00:00
Jani Taskinen 2498962223 - clean 2009-06-26 22:18:30 +00:00
Kalle Sommer Nielsen 6f429dfccb Seems like this wasn't merged, re-add credit for Pierre here 2009-06-26 20:39:36 +00:00
Johannes Schlüter 4b4283bdc0 Bump version to 5.3.0 and API Nos. up 2009-06-26 15:44:19 +00:00
Johannes Schlüter e1ae933031 Fix trouble with memory alignment on Sparch, see #48668 (David) 2009-06-26 15:42:11 +00:00
Christopher Jones 30fce08b23 Clarifications for oci8 changes 2009-06-26 15:15:02 +00:00
Matt Wilmas c860c9896e Typo, capitalization, wording 2009-06-26 12:24:20 +00:00
Gwynne Raskind bdc3d68061 more grammar and spelling, consistent usage, suggestions for replacements 2009-06-26 11:56:51 +00:00
Hannes Magnusson f36cb429f4 Add deprecated functions 2009-06-26 10:46:50 +00:00
Pierre Joye aaae921225 - update the windows section 2009-06-26 10:20:22 +00:00
Johannes Schlüter b13ed4ea93 Fix the version number there 2009-06-26 09:32:54 +00:00
Pierre Joye db129f6e54 - some updates, typos, missing entries 2009-06-26 08:48:36 +00:00
Johannes Schlüter e782d1820b Merge 5.3.0 NEWS 2009-06-26 08:12:13 +00:00
Pierre Joye 5f2df5d064 - WS 2009-06-26 07:39:42 +00:00
Pierre Joye 68a3c3f952 - add license 2009-06-26 07:24:41 +00:00
Johannes Schlüter 9485cad688 Revert mysqlnd to RC3 state after issues with pconnects 2009-06-25 19:03:52 +00:00
Kalle Sommer Nielsen ca1bda67f2 Persistent connections with mysqli missing 2009-06-25 18:17:52 +00:00
Hannes Magnusson 43f939fae0 reduntant 2009-06-25 18:04:35 +00:00
Hannes Magnusson ceac7e4370 More missing stuff 2009-06-25 18:01:08 +00:00
Gwynne Raskind 307a90caa3 missing .cvsignore file added 2009-06-25 16:18:24 +00:00
Felipe Pena c8cb2b4e10 - BFN #48696 2009-06-25 16:16:08 +00:00
Johannes Schlüter 144ff4d6b3 MFH: Fixed bug #48696 (ldap_read() segfaults with invalid parameters) (Felipe) 2009-06-25 15:19:29 +00:00
Johannes Schlüter 6354376924 MFH: Fixed bug #48678 (DateInterval segfaults when unserialising (Ilia) 2009-06-25 15:07:36 +00:00
Felipe Pena f03c5db12e - Added note about deprecation of "#" comment-style in .INI files 2009-06-25 14:56:14 +00:00
Zoe Slattery b2bc4dd331 fix skipif 2009-06-25 14:44:01 +00:00
Matt Wilmas 57b543ee6f Fix example - it means what it says 2009-06-25 13:00:08 +00:00
Zoe Slattery 8e972386f0 fix skipif 2009-06-25 12:36:46 +00:00
Gwynne Raskind ac564608bd fix a little typo I made, bug #48685 2009-06-25 10:41:07 +00:00
Johannes Schlüter 84940122a9 MFH Fix bug #48679 - Crash in SQLite with count on an unbuffered query set (Scott) 2009-06-25 09:38:04 +00:00
Gwynne Raskind e01ff47c43 Whitespace fixes, reformatting to bring all lines to 80 cols, grammatical fixes, removed redundant information 2009-06-25 07:57:05 +00:00
Johannes Schlüter 9f9895b34d Make clearer that thesse are internal functions 2009-06-24 22:26:56 +00:00
Greg Beaver 2c924e2848 fix slightly unclear error message in generation of phar.phar 2009-06-24 22:12:47 +00:00
Hannes Magnusson 60835e3051 Missing enhancements 2009-06-24 21:16:53 +00:00
Ilia Alshanetsky 00d0ecda10 Revert patch 2009-06-24 20:08:54 +00:00
Felipe Pena e67b4072e0 BFN 2009-06-24 17:43:09 +00:00
Felipe Pena caf8d811ef - MFH: Fixed memleak when depth arg is less than zero 2009-06-24 17:39:52 +00:00
Ilia Alshanetsky c0aa23fd86 MFB: Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
TMPDIR).
2009-06-24 12:21:45 +00:00
Pierre Joye b8f295a6d3 - add readme.redist.bins as .txt 2009-06-24 11:51:05 +00:00
Pierre Joye 4092360764 -add licenses info for bundled libs, codes merged from other projects, etc., information for binary distributions (windows, linux, etc.) 2009-06-24 11:46:29 +00:00
Pierre Joye 1f10584566 - add license info 2009-06-24 11:44:46 +00:00
Dmitry Stogov e583ce82ec Fixed bug #48643 (String functions memory issue) 2009-06-24 08:53:18 +00:00
Jani Taskinen a8e42c91b0 MFH:- Fixed bug #48661 (phpize broken with non-bash shells) 2009-06-24 07:42:33 +00:00
andy wharmby 0fbf8cebd7 Fix test 2009-06-23 23:00:55 +00:00
andy wharmby 3aaaf77a0e New and fixed html tests. Tested in Windows, Linux and Linux 64. 2009-06-23 22:45:31 +00:00
andy wharmby e6f4ec2f07 New basic parse_str() tests. Tested on Windows,Linux and Lnux 64 bit. Some tests fail on PHP 6 (tagged with XFAIL) due to bug 48658 2009-06-23 22:39:44 +00:00
Hannes Magnusson 0fa4242464 Missing items 2009-06-23 19:40:31 +00:00
Johannes Schlüter aded4474fc MFH: Fix build problem (Kalle) 2009-06-23 18:14:27 +00:00
David Soria Parra 4d7e6edd63 MFH: Fix bug #48644 mysqlnd does not compile with '--enable-mysqlnd-threading' 2009-06-23 14:15:28 +00:00
Hannes Magnusson f3d8a9ad0d MFH: Fix arginfo for libxml_disable_entity_loader() and libxml_use_internal_errors() 2009-06-23 13:44:24 +00:00
Hannes Magnusson 83855c0ce7 better place for it 2009-06-23 13:37:35 +00:00
Hannes Magnusson 85cb296a09 TZ is no longer used to guess the timezone 2009-06-23 13:33:26 +00:00
Johannes Schlüter 86eaa90955 MFH The experimental warning sohuld be in the configure output... 2009-06-23 13:19:28 +00:00
Johannes Schlüter 96d5c5e931 The json header should be installed so other exts can use it 2009-06-23 13:09:34 +00:00
Hannes Magnusson 6b3f0cfc54 New function 2009-06-23 11:13:05 +00:00
Rob Richards f7b30e6578 MFH: add libxml_disable_entity_loader function 2009-06-23 10:50:09 +00:00
Kalle Sommer Nielsen 220c68d54a MFH: Move these defines to config.w32.h
Also credit Pierre for the inet_ntop()/inet_pton() implementations
2009-06-23 06:56:45 +00:00
Kalle Sommer Nielsen 3410350caa MFH:
Use %* instead of a range + WS
2009-06-23 02:14:27 +00:00
Kalle Sommer Nielsen 1f5e20c33e MFH:
* Fix deprecation warning when building deplister
* Fix some mkdir warnings if "nmake build-dist" is executed twice
2009-06-23 01:37:23 +00:00
Pierre Joye a1c1dd6ba1 - gd compat mode news 2009-06-22 22:14:37 +00:00
Pierre Joye 8a2e38ebdf - #48624 2009-06-22 21:39:36 +00:00
Takeshi Abe aa85d1dbc1 moved to PHP_5_2 2009-06-22 15:51:49 +00:00
Ilia Alshanetsky 1c4dafd84d Revert unrelated bits to the previous commit 2009-06-22 14:24:27 +00:00
Pierre Joye a7db554314 - #48624 .user.ini never gets parsed 2009-06-22 14:10:40 +00:00
Pierre Joye d1fb4d2da4 - #48619, imap_search ALL segfaults 2009-06-22 14:09:55 +00:00
Ilia Alshanetsky bc8e357482 MFB: Fixed bug #48636 (Error compiling of ext/date on netware). 2009-06-22 13:43:14 +00:00
Felipe Pena 58c717ff8f - BFN #48641 (I missed to add in the previous commit: patch by crrodriguez at opensuse dot org) :P 2009-06-22 11:44:49 +00:00
Felipe Pena 56d7a43f00 - Fixed bug #48641 (tmpfile() uses old parameter parsing) 2009-06-22 11:37:30 +00:00
Hannes Magnusson b3e9695a65 Sync with docs 2009-06-22 10:30:23 +00:00
Scott MacVicar 96be32d8ca BFN - Partially fixed in RC4, fixed properly in the next release. 2009-06-21 22:38:49 +00:00
Scott MacVicar c63b6f5d8a MFH Specific test for bug #48276 2009-06-21 22:31:41 +00:00
Scott MacVicar 25715c7660 MFH Fix bug #48276 - year is a long long so we need %lld so big endian systems print the correct value. 2009-06-21 22:19:11 +00:00
Hannes Magnusson b293b35eaa Fix proto and arginfo 2009-06-21 20:40:53 +00:00
Hannes Magnusson 6b107d99be Fixed bug#48485 (Error in documentation and upgrade guide) 2009-06-21 18:34:50 +00:00
andy wharmby ee726e4497 New lang tests. 2009-06-21 17:42:15 +00:00
Johannes Schlüter 47be72139d MFH: It's 2009 2009-06-21 16:44:50 +00:00
Ilia Alshanetsky 0ce6b61e04 BFN 2009-06-21 15:30:57 +00:00
Ilia Alshanetsky 81e5787949 Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
existing headers)
2009-06-21 15:29:16 +00:00
Johannes Schlüter ef9c23468c Merge in NEWS from 5.2 2009-06-21 11:50:37 +00:00
Takeshi Abe f1c919496b entry for bug #48555 2009-06-21 06:29:41 +00:00
Takeshi Abe c84e4181b4 MFH: fixed bug #48555 (ImageFTBBox() differs from previous versions for texts with new lines) 2009-06-21 06:09:46 +00:00
Kalle Sommer Nielsen c2131f8efb Fixed typo, its fdf, not fPdf 2009-06-21 05:41:08 +00:00
Kalle Sommer Nielsen c25893731b Missing Windows constants 2009-06-21 05:29:01 +00:00
Kalle Sommer Nielsen 97d35803d7 get_extension_funcs have been in PHP since php4 2009-06-21 01:49:52 +00:00
Kalle Sommer Nielsen 9fef343050 MFH: Fixed arginfo for array_map, patch by Matthew Fonda <matthewfonda@gmail.com> 2009-06-20 06:07:35 +00:00
Kalle Sommer Nielsen 17459bac7d MFH: Fix memleak 2009-06-19 22:15:28 +00:00
Scott MacVicar d976be4bda Make the check case sensitive, and since we can only have a constructor that matches the class name or is __construct
its probably safe to just check for __. This means we can skip lowering the function_name, which is hard to be binary
safe sine we don't store the length.

If we just did a zend_hash_exists lookup we'd be fine since its stored lowercased already :)
2009-06-19 03:29:47 +00:00
andy wharmby e64f0795e1 Fix test; remove spurious code 2009-06-18 21:53:17 +00:00
andy wharmby 7c7dd8b712 Basic tests for strftime(). Tested on Windows (all tests skip), Linux and Liinux 64 bit 2009-06-18 21:14:15 +00:00
Johannes Schlüter 9851acba7b Back to dev 2009-06-18 21:07:08 +00:00
andy wharmby 1e119743a5 Backport ob test to php 5.2 and 53. 2009-06-18 21:03:00 +00:00
Johannes Schlüter ff1bf7f766 5.3.0 RC 4 2009-06-18 21:01:03 +00:00
Greg Beaver 645226d19b fix EXPECT section of test 2009-06-18 18:12:04 +00:00
Johannes Schlüter 067276a043 Temporarily disable this optimization causing too much trouble, kept in HEAD 2009-06-18 15:07:23 +00:00
Scott MacVicar 8e3aebd550 Fix bug #48215 - Calling a method with the same name as the parent class calls the constructor instead. 2009-06-18 13:46:16 +00:00
Derick Rethans b2d3c2bf18 - Updated to version 2009.10 (2009j) 2009-06-18 09:02:51 +00:00
Zoe Slattery b928d971b5 Tests from Berlin test fest 2009-06-18 07:29:09 +00:00
Rasmus Lerdorf 269df474bf Ah, broken vimrc.. 2009-06-18 06:38:30 +00:00
Rasmus Lerdorf e70abda281 Fix bug #48592 2009-06-18 06:32:38 +00:00
Jani Taskinen dabcff916d Pierre, this can not be so hard 2009-06-17 22:51:05 +00:00
Jani Taskinen 8c7c7de858 unfuck the file, fucked up by Pierre as usual 2009-06-17 22:50:18 +00:00
Felipe Pena 7ef7c93849 - Reorder 2009-06-17 19:55:32 +00:00
Pierre Joye 99b0b22582 - fix NEWS (thx Felipe!) 2009-06-17 19:42:56 +00:00
Pierre Joye 27ea6ef77f - update with latest bits 2009-06-17 19:40:33 +00:00
Pierre Joye 6086c0866c - kill unused var 2009-06-17 19:28:52 +00:00
Pierre Joye f2457fbd56 - #47318, UMR when trying to activate user config 2009-06-17 19:22:24 +00:00
andy wharmby e5b5f13b79 New test for standard object compare handler. Tested on Windows, Linux and Linux 64 2009-06-17 19:15:19 +00:00
andy wharmby fb3132f502 New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-17 19:07:17 +00:00
Hannes Magnusson b685def15a MFB5.2: "Make this happy on gcc2" 2009-06-17 17:56:17 +00:00
Felipe Pena 31f64d6943 BFN #48578 2009-06-17 16:22:14 +00:00
Andrey Hristov 0aada07656 MFH:
Fix two problems:
- The value of mysqli_get_client_info() has been changed recently and did
not include "mysqlnd" anymore thus the test suite was thinking the build
is always libmysql. This did not kept the suite from running pconn tests
- Going back to the libc allocator because the memory arena could be on a
  persistent connections. If the build is not debug there will be no error
  but the memory will be freed and in the second use of this pconn freed
  memory will be used - not good! For now the arena doesn't take an argument
  whether it should allocate persistently or not, thus persistent is safe
  for now.

Johannes gave his +1 to commit this.
2009-06-17 16:22:13 +00:00
Felipe Pena 219c2603bb - MFH: Fixed bug #48578 (Can't build 5.3 on FBSD 4.11) (Rasmus) 2009-06-17 16:20:04 +00:00
Scott MacVicar 3e58e86d01 MFH Add SplDoublyLinkedList::prev() and fix a memory leak when the iterator pointer isn't at the end 2009-06-17 13:27:09 +00:00
Robin Fernandes 73cd7e83ee Additional class related tests. 2009-06-17 10:38:25 +00:00
Hannes Magnusson d535dec2e0 fix skipif 2009-06-17 10:18:17 +00:00
Hannes Magnusson 9900d2097c fix skipif 2009-06-17 10:14:25 +00:00
Pierre Joye 02fe289540 - fix test 2009-06-17 10:10:19 +00:00
Pierre Joye f399abb610 - missing --SKIPIF-- header 2009-06-17 10:08:01 +00:00
Rasmus Lerdorf a7cc9e7274 Need the gcc version check here too 2009-06-17 08:55:23 +00:00
Pierre Joye 2e08b57ee6 - fix build when IO_REPARSE_TAG_SYMLINK is not defined (works with 2k+) 2009-06-16 21:54:12 +00:00
Felipe Pena ef55a8a663 - Fixed tests 2009-06-16 19:49:55 +00:00
andy wharmby d7072fa367 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:39 +00:00
Andrey Hristov 30800a79b9 MFH: C-comments 2009-06-16 18:00:00 +00:00
Pierre Joye 5a3efd5b78 - fix readlink in TS SAPI 2009-06-16 16:50:13 +00:00
Rasmus Lerdorf f90425316a Tweak to make this compile with gcc2 2009-06-16 16:10:15 +00:00
Felipe Pena f9bb99055e - MFH: Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp> 2009-06-16 14:33:33 +00:00
Andrey Hristov 10ee06ca48 MFH:
Memory usage optimisation. mysqlnd is not libmysql. mysqlnd does use the
Zend allocator, which means that is easier to hit memory_limit if you
have big stored (buffered) result sets. Before with libmysql you won't
hit memory_limit because libmysql uses libc's allocator and nothing is
checked. Now, with mysqlnd the situation is stricter and it is easier to
hit memory_limit. We try to optimize for big result sets. If a result set
is larger than 10 rows we will start freeing some data to keep memory usage
after 10 rows constant. This will help in the cases where a buffered result
set is scrolled forward only and just only once, or mysqlnd will need to
decode data from the network buffers again - yes, it is a trade-off between
CPU time and memory size. The best for big result sets is of course using
unbuffered queries - for comparison : 3 Million rows with buffered take
at least 180MB, with buffered you will stay at 3MB, and unbuffered will be
just 7-8% slower.
2009-06-16 13:07:14 +00:00
Ilia Alshanetsky 34842709d6 Fixed test 2009-06-16 12:40:59 +00:00
andy wharmby c731b2287f Fix typo in test 2009-06-16 11:37:13 +00:00
Pierre Joye b4cf9d80d4 - fix title 2009-06-16 10:37:59 +00:00
Pierre Joye 1a69c562bd - fix title 2009-06-16 10:37:30 +00:00
Andrey Hristov 27270621cb MFH:
Hardwire function call instead of using callbacks. We don't actually need
callbacks, it was done for making 2 functions static, not to pollute the
global functions space but that had its price of 8 bytes overheat per
allocation, which is just too much. Also making the app member 32b instead
of 64b, which should save additional 4 byte, to the total of 12 byte per
allocation of a row buffer.
2009-06-16 09:15:38 +00:00
andy wharmby f0f302fe7f New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:39 +00:00
Andrey Hristov a2acaa7fcd MFH:
Use Zend's allocator instead of libc's and also don't try to work on
zvals that are NULLs.
2009-06-16 07:53:35 +00:00
Felipe Pena c353601a3f - MFH: Fixed bug #48562 (Reference recursion causes segfault when used in wddx_serialize_vars()) 2009-06-16 02:54:26 +00:00
Pierre Joye 8e76db4aa7 - revert last commit, should not have been applied 2009-06-16 00:17:56 +00:00
Pierre Joye a5302d870d - #47767, include_once does not resolve windows symlinks or junctions 2009-06-16 00:13:56 +00:00
Pierre Joye 18d5751a9e - Windows ACL cache support, update existing tests and add a new one 2009-06-16 00:07:05 +00:00
Felipe Pena da9b80e309 - Drop unused code 2009-06-15 17:56:08 +00:00
andy wharmby fcbfe08d60 New test for bitwise operators. Tested on Linux 64 bit 2009-06-15 17:38:44 +00:00
andy wharmby d8ce08a24b Move tests to correct directory 2009-06-15 17:34:40 +00:00
Felipe Pena aa8811982e - MFH: Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to integers) patch by David Zülke <david.zuelke at bitextender.com> 2009-06-15 17:31:02 +00:00
Patrick Allaert f78a0b585c MFH: Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent) 2009-06-15 15:18:31 +00:00
Pierre Joye c06884c960 - add TODO about int definition cleanup 2009-06-15 15:08:12 +00:00
Patrick Allaert 91a8fd7f7e MFH: Refactoring that will help fixing #48441 2009-06-15 15:04:11 +00:00
Pierre Joye 60223d6a6d - #48535, file_exists returns false when impersonate is used 2009-06-15 15:01:01 +00:00
Pierre Joye 2db291e728 - MFH: simplify, use correct type and silent warnings 2009-06-15 14:47:15 +00:00
Scott MacVicar fdfc7d05e7 BFN 2009-06-15 13:41:42 +00:00
Scott MacVicar 532674945c MFH sync SQLite 3.6.15 2009-06-15 13:23:59 +00:00
Ilia Alshanetsky bb55de47cd Simplify original fix for bug #33475 2009-06-15 12:37:37 +00:00
andy wharmby 4a110443df New POSIX extension tests from Berlin UG TestFest 2009. 2009-06-15 12:14:55 +00:00
Pierre Joye e52e1fab4c - silent warning 2009-06-15 08:32:38 +00:00
Philip Olson 380dededf4 Synced with the wiki 2009-06-14 19:15:57 +00:00
Philip Olson 7593f572ea Remove unused file (see file UPGRADING for the 5.2->5.3 guide) 2009-06-14 17:56:07 +00:00
andy wharmby 3fd133bcf3 Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
andy wharmby 1888c718cb New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 14:17:43 +00:00
andy wharmby ceca4f3615 Basic tests for function_exists() and get_defined_functions(). Tested on Windows, Linux and Linux 64 bit. 2009-06-14 13:49:16 +00:00
Ilia Alshanetsky 1c8d05069e MFB: Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE
and E_WARN if no DTD)
2009-06-14 13:13:35 +00:00
andy wharmby a6735b8b24 New json extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 12:08:27 +00:00
Greg Beaver 8fc5746d0e remove missing erealloc entry that will go in php 5.2 NEWS 2009-06-13 17:34:21 +00:00
Greg Beaver 79d05eac0d fix Bug #48541: spl_autoload_register only registers first closure, then leaks the others. Fix missing erealloc in fix for bug #40091 (PHP_5_3 only) 2009-06-13 17:30:50 +00:00
Greg Beaver df07072f7c fix criminally unclear NEWS entry by me 2009-06-13 16:43:04 +00:00
andy wharmby 642b84cd83 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-13 12:17:42 +00:00
Felipe Pena 2cb9fe1f89 - Constified method_name arg. in zend_get_user_call_function() and zend_get_user_callstatic_function() 2009-06-12 21:36:53 +00:00
Felipe Pena f9b9765ed0 - MFH: Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs) 2009-06-12 20:48:28 +00:00
andy wharmby 092562b263 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-12 18:57:09 +00:00
andy wharmby c48a3ddea8 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit 2009-06-12 17:16:01 +00:00
Kalle Sommer Nielsen 5c2a979522 MFH: Fixed static build of mbstring on Windows (makes static build of exif possible too) 2009-06-12 16:15:51 +00:00
Felipe Pena 61d723a359 - Dropped unnecessary var 2009-06-12 14:03:35 +00:00
Andrey Hristov 22c8786493 MFH:
Fix crash when tracing is enabled. Position after buffer was used also
direct usage of MYSQLND_STRING pointer instead of the "s" property of the
structure.
2009-06-12 13:24:57 +00:00
Felipe Pena 5f8ca6da95 MFH: Fixed bug #48533 (__callStatic is not invoked for private/protected methods) 2009-06-12 01:05:25 +00:00
andy wharmby c8ead0cd61 Delete duplicate test 2009-06-11 23:04:35 +00:00
andy wharmby 791b526c67 New intval() tests. Tested on Windows, Linux and linux 64 2009-06-11 22:26:51 +00:00
andy wharmby 1386f796d2 New 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored by Dave Kelsey 2009-06-11 21:17:00 +00:00
andy wharmby 13dce00cdf Add/Fix SKIPIF sections of cURL tests 2009-06-11 21:11:20 +00:00
Andrey Hristov 9a2cc0ce67 Put these in an ifdef because they are not used at all if the zval cache
is off.
2009-06-11 17:54:04 +00:00
Greg Beaver 4016894486 update NEWS about phar.phar on windows 2009-06-11 14:40:43 +00:00
Greg Beaver f7246e2086 add phar.phar creation on windows 2009-06-11 14:39:37 +00:00
Pierre Joye f2fcd8fb29 - silent warning and make it less ambiguous 2009-06-11 14:36:48 +00:00
andy wharmby ec0cff39c7 New POISX tests. Tested on Windows (all test SKIP), Linux and Linux 64 2009-06-11 12:31:00 +00:00
Johannes Schlüter 11340cf299 MFH: Use a better extension version 2009-06-11 10:18:08 +00:00
Antony Dovgal efa7b5c4c8 MFH: fix bug #48518 (curl crashes when writing into invalid file handle) 2009-06-11 09:46:43 +00:00
Antony Dovgal 0c8e557621 reapply the fix 2009-06-11 09:43:59 +00:00
Hannes Magnusson 4ed202e185 MFH: Mark spl as required and fix extension loading order
# Not needed in 5.2 as the simplexmliterator is part of spl there
2009-06-11 09:41:15 +00:00
Andrey Hristov 28c8d25dca MFH:
Protect the code when variable is NULL, which should never happen, but
anyway, you know about "never happens" :)
2009-06-11 08:52:06 +00:00
Andrey Hristov cff09ba5df MFH:
Check the pointer before calling a function on it, or we will crash.
  This is a very rare situation where the server is totally broken.
2009-06-11 08:35:47 +00:00
Andrey Hristov a3b85c28c6 Sync with PHP6 - TSRMLS_FETCH
Extract reference decrement in own function
Remove PHPAPI of a function and make it static as it is not called
externally
2009-06-11 08:30:08 +00:00
Felipe Pena 8da7275f1b - MFH: Fix the fix (Bug #46973 - IPv6 address filter rejects valid address) 2009-06-10 19:01:17 +00:00
Johannes Schlüter a8f3eeefe8 back to -dev 2009-06-10 18:39:15 +00:00
Johannes Schlüter 10d976d225 5.3.0RC3 2009-06-10 18:18:43 +00:00
Johannes Schlüter 32f91ba388 MFH Hannes said this shall not be run for RCs 2009-06-10 18:15:22 +00:00
Pierre Joye 1cc5bc31b9 - check for static lib as well 2009-06-10 15:44:51 +00:00
Antony Dovgal ea8d871a01 revert the fix for a while 2009-06-10 11:53:58 +00:00
Antony Dovgal 029f42dc63 MFH: fix arginfo for curl_multi_info_read() 2009-06-10 11:10:01 +00:00
Pierre Joye dfb8717c1e - put mpir headers in their own directory 2009-06-10 09:59:21 +00:00
andy wharmby c0977c826e Fix test - remove bogus variation 2009-06-09 20:18:31 +00:00
Pierre Joye efb976cd2c - missing ACL entry 2009-06-09 16:38:17 +00:00
Pierre Joye 2276bc5188 - #41874 2009-06-09 14:10:08 +00:00
David Soria Parra 368569c05b MFH: Fix bug #47042 (cgi sapi is incorrectly removing the SCRIPT_FILENAME for non apache).
The fix was provided by Sriram Natarajan.
2009-06-09 13:31:39 +00:00
Pierre Joye ba79cd5a23 - fix build (void alarm) 2009-06-09 09:26:02 +00:00
Pierre Joye 64934cf360 - missing include 2009-06-09 09:25:18 +00:00
Scott MacVicar 2d96aa5b22 BFN 2009-06-09 02:00:46 +00:00
Scott MacVicar fc8426ad31 MFH Fix bug #48493 - spl_autoload_register can leave the HT in an inconsistent way.
Need to point the second elements previous item to head so we can traverse upwards.
2009-06-09 01:58:07 +00:00
Scott MacVicar cf1a08e317 Move entry to 5.2 2009-06-09 00:42:51 +00:00
Pierre Joye 49666eece6 #41874, separate STDOUT and STDERR in exec functions 2009-06-09 00:25:37 +00:00
Pierre Joye c59a4a0173 - typo 2009-06-08 21:27:05 +00:00
Derick Rethans 6421bb34f8 - Updated to version 2009.9 (2009i) 2009-06-08 13:53:34 +00:00
Ilia Alshanetsky ae5a233a62 Fixed test 2009-06-08 12:31:08 +00:00
Robert Nicholson e592b4fd15 New tests for operators. These tests were auto generated to verify correctness for a number of significant values. The work was done by Dave Kelsey. 2009-06-08 11:59:32 +00:00
Andrey Hristov ec777b89f4 Merge with HEAD. Someone committed changes to HEAD and did not merge back to
the branch.
Also switch off the zval cache, for now.
2009-06-08 10:20:27 +00:00
Pierre Joye 4cb1d57fd5 - sync with 1.0.2, improve perf x86-64 (patch by Solar Designer) 2009-06-08 08:44:15 +00:00
Scott MacVicar 40521699ce MFH make SQLite3::enableExceptions() return the previous value. 2009-06-08 02:15:54 +00:00
Ilia Alshanetsky 5289261baa Fixed bug #44827 (define() is missing error checks for class constants) 2009-06-08 01:26:03 +00:00
Patrick Allaert 4aca43008f MFH: Removed credit 2009-06-07 21:27:19 +00:00
Robert Nicholson 176012df22 New tests for foreach loops. These were written by another member of the Projectzero team. 2009-06-07 21:03:48 +00:00
Matt Wilmas dca18b68d1 MFH: Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
Also simplified related array_push() test
2009-06-07 19:28:15 +00:00
Matt Wilmas 2462fce244 MFH: Changed error messages to use "cannot" instead of "can not" (meaning "also can") 2009-06-07 15:46:54 +00:00
Patrick Allaert 10b559c28c MFH: Fixed bug #48469 (ldap_get_entries() memory leaks on empty search results) 2009-06-07 13:07:58 +00:00
Matt Wilmas 1fa3b21c15 MFH: Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can")
 - "than" instead of "then" (Hint: "then" should hardly be needed;
     you're not telling the order in which to do something)

... plus removed a couple ending. dots
2009-06-06 02:40:49 +00:00
Brian Shire cb7a21a42b MFH: Make pass_two visible to extensions with ZEND_API (required for optimizer). 2009-06-05 23:20:59 +00:00
Rasmus Lerdorf 04f5d7c909 There is no always_inline attribute in gcc2 2009-06-05 22:14:21 +00:00
Matt Wilmas d55300298e MFH: Added zend_eval_stringl and made create_function(), etc. binary-safe 2009-06-05 18:50:32 +00:00
Matt Wilmas a80be6827d MFH: Fixed tests again after double->long conversion change (to match 5.2) 2009-06-05 17:15:33 +00:00
Arnaud Le Blanc 85b9327836 MFH: better fix for #48409 , #48428 , #48228 2009-06-05 11:21:31 +00:00
Greg Beaver fb86c3f7a2 MFH: fixed isset() on sub-directories (isset("blah") if file "blah/foo.php" exists) 2009-06-05 04:46:49 +00:00
Greg Beaver a8e7103bbe MFPECL: fix security vulnerability in phar's handling of long tar filenames 2009-06-04 19:59:09 +00:00
Matt Wilmas 26cde1ee2f MFH: Updated tests after double->long conversion change (basically to match 5.2)
# Let me know about other failing tests I missed
2009-06-04 18:25:06 +00:00
Matt Wilmas b907aa4331 MFH:
Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior:
 * Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit)
 * See bug #42868 (presumably-rare platform with different results in 5.2)
 * On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added,
    otherwise it's the same as 5.2
 * Use this conversion method everywhere instead of some plain (long) casts

Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit:
 * Essentially what 5.3's new conversion was doing in most cases
 * Functions with "limit" or "length" type params could be updated to use this,
    and prevent confusing overflow behavior with huge numbers (*also* in 5.2)
  - See bug #47854, for example; or even #42868 again

# Test updates coming
2009-06-04 18:20:45 +00:00
Andrei Zmievski 1787a2272a MFB 2009-06-04 18:17:43 +00:00
Etienne Kneuss b8d64e4085 MFH: Include other flags as well 2009-06-04 14:46:26 +00:00
Hannes Magnusson 2a257adda9 MFH: Fixed creating directory structure when extracting phars 2009-06-04 12:22:32 +00:00
Jani Taskinen a332541aaa MFH:- Fixed bug #48419 (non-portable STDIN fileno in cgi_main.c) 2009-06-04 11:51:43 +00:00
Jani Taskinen 29c0b397ec MFH: CS + WS changes 2009-06-04 11:47:27 +00:00
Pierre Joye e7560b8316 - typo 2009-06-04 07:41:01 +00:00
Pierre Joye 6220c88f14 - new constnats 2009-06-04 07:01:47 +00:00
Pierre Joye 0168025f4c - [DOC] add PHP_WINDOWS_NT_* and PHP_WINDOWS_VERSION_* constants (usefull for testing and features detections)
see http://msdn.microsoft.com/en-us/library/ms724451(VS.85).aspx for the explanation
2009-06-04 06:59:46 +00:00
Felipe Pena 1504c700be - Fixed tests 2009-06-04 01:15:12 +00:00
Brian Shire b39f215173 MFH: Add test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning 2009-06-03 19:37:26 +00:00
Ilia Alshanetsky 2c31cd513b Fixed bug #46386 (Digest authentication with SOAP module fails against MSSQL
SOAP services)

#original patch by lordelph at gmail dot com
2009-06-03 12:39:50 +00:00
Zoe Slattery 2e8ad7f7d1 Commiting testfest tests from tek 2009-06-03 12:30:40 +00:00
Pierre Joye 472d000289 - fix title 2009-06-03 08:31:24 +00:00
Pierre Joye 2f6f336205 - fix parameter order and return value check in windows (Venkat Raman Don, Pierre)' link 2009-06-03 07:56:53 +00:00
Kalle Sommer Nielsen f763fbb1ee MFH: config.h is in this directory, not in ext/bcmath root, fixes re-compilation for me 2009-06-03 01:19:33 +00:00
Kalle Sommer Nielsen 3dcd2b6ace MFH:
* We dont need to wrap to two lines here, its small enough to show with a standard sized cmd window
* Bump copyright year in the .rc
2009-06-03 01:14:58 +00:00
Jani Taskinen d0ef930190 MFH:- Fixed bug #48456 (CPPFLAGS not restored properly in phpize.m4) 2009-06-02 19:54:03 +00:00
Ilia Alshanetsky c1c9645128 Fixed test 2009-06-02 12:19:34 +00:00
Jani Taskinen c7172ee172 fix test 2009-06-02 08:03:07 +00:00
Nuno Lopes 95ef46c034 fix compiler warnings by moving all std includes after include of zend_config.h.
this also fixes the build with stricter compilers than gcc (like clang)
2009-06-01 17:51:53 +00:00
Arnaud Le Blanc a197c0b751 MFH: New tests
# These tests were failing on different configurations, so adding them
# all to get more chances of seeing one failing in case of problem.
2009-06-01 16:10:35 +00:00
Arnaud Le Blanc 2403a58011 MFH: better fix for #48409 , #48428 , #48228 2009-06-01 15:07:42 +00:00
Ilia Alshanetsky 083ed5b3e5 Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values) 2009-06-01 13:10:18 +00:00
Zoe Slattery 102f76b323 Engine execution order tests 2009-06-01 13:01:04 +00:00
Zoe Slattery 9dc6f2a873 Fixes to work on Windows as well as Linux 2009-06-01 09:01:06 +00:00
Etienne Kneuss 61bbd8af75 MFH: Add test for the timeout inside shutdown function 2009-05-31 21:32:42 +00:00
Stanislav Malyshev 2d6377e322 fix for #48247 2009-05-31 21:28:38 +00:00
Andrei Zmievski 77beb62c5f Fix the build. 2009-05-31 18:55:10 +00:00
Ilia Alshanetsky 7c3e7f88c4 Fixed bug #48359 (Script hangs on snmprealwalk if OID is not increasing)
# Original patch by simonov at gmail dot com
2009-05-31 14:11:04 +00:00
Jani Taskinen 7012d0967c MFH: no dots in errors 2009-05-31 13:51:08 +00:00
Jani Taskinen 686ede9c50 fix news 2009-05-31 13:20:22 +00:00
Kalle Sommer Nielsen 80bc751be1 This shouldn't have been in there 2009-05-31 11:16:46 +00:00
Andrei Zmievski efc0927f4f Expose encode/decode API. 2009-05-31 01:44:07 +00:00
Arnaud Le Blanc b4d9c79162 MFH: Take small blocks cache into account in memory_get_usage() 2009-05-30 16:42:13 +00:00
Arnaud Le Blanc bed00e15d1 MFH: Fix aliasing issue (fixes #48409 , #48428 , #48228) 2009-05-30 16:31:12 +00:00
Scott MacVicar 16398c1990 MFH: Make sure the timeout is checked in the shutdown function, patch from Etienne 2009-05-30 09:48:16 +00:00
Ulf Wendel 1ad1a2a0af MFH - Fixing tests - messages/warnings can vary by version 2009-05-29 13:37:08 +00:00
Ulf Wendel 775cc0ca20 MFH - Updating test to reflect API changes. 2009-05-29 13:23:01 +00:00
Ulf Wendel 13d92e6957 MFH - Skip test for libmysql. The MySQL C-API does not support it, mysqlnd does... 2009-05-29 13:12:39 +00:00
Andrey Hristov 0f5e7e2bf9 NEWS 2009-05-29 13:11:10 +00:00
Andrey Hristov c1d46eb502 MFH:Add support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x 2009-05-29 13:09:47 +00:00
Ulf Wendel f3f1256332 MFH - 1) The wording of a message can differ by version and by libmysql vs. mysqlnd. 2) %i is better than %s 2009-05-29 13:02:43 +00:00
Ulf Wendel 6252b5ca20 MFH - Behaviour is undefined with libmysql, accept whatever libmysql may return. With mysqlnd you get the defined value of -1 to indicate 'no value'. 2009-05-29 12:55:55 +00:00
Andrey Hristov ccf0665170 MFH:Fix for the failing mysql_stmt_execute() test. Data was cleaned after
stmt_reset() but it should stay and be freed as later as next stmt_execute()
2009-05-29 12:19:40 +00:00
Ulf Wendel 3f17909a60 MFH - 'Fixing' test to reflect a libmysql vs. mysqlnd difference. With libmysql it is not defined what mysql_stmt_store_result() shall return when one tries to store the (non-existing) result set of a failed SQL statement, http://dev.mysql.com/doc/refman/6.0/en/mysql-stmt-store-result.html . mysqlnd will detect the SQL failure and return false. libmysql will return true. If you want libmysql to change, file a bug report at MySQL... I don't think there is a good way to work around this in the extension itself. 2009-05-29 11:59:26 +00:00
Zoe Slattery 4085d06822 better fix 2009-05-29 11:46:42 +00:00
Ulf Wendel 2445a242ec MFH - Another detail where mysqlnd is superior than libmysql. The mysql_info() from libmysql does not support SELECT: http://dev.mysql.com/doc/refman/6.0/en/mysql-info.html . mysqlnd does support it. Libmysql feature request filed http://bugs.mysql.com/bug.php?id=45189 2009-05-29 11:01:06 +00:00
Ulf Wendel a027a64d73 MFH: Weaker test - libmysql/server error messages can differ by version 2009-05-29 10:34:23 +00:00
Ulf Wendel 396f5803e8 MFH - Weaker test: functions are only available if HAVE_EMBEDDED_MYSQLI is set. There is probably no proper way to check this condition in the user land. 2009-05-29 10:25:49 +00:00
Ulf Wendel 19bdbc49c3 MFH - Skip when using libmysql. Likely a regression bug - http://bugs.mysql.com/bug.php?id=45184 2009-05-29 10:15:50 +00:00
Zoe Slattery c3bcd7d365 fixing to work with older levels of libcurl 2009-05-29 09:46:11 +00:00
Andrey Hristov a3aaa2398d MFH:The option has changed the name, hence we change the test 2009-05-29 08:58:32 +00:00
Pierre Joye 469d4938fc - MF52: #42143, the constant NAN is reported as 0 on Windows 2009-05-29 08:11:36 +00:00
Andrey Hristov 133296f962 MFH:Fix a very well hidden error because of not being careful with CPP.
I usually don't make this mistake :)
2009-05-29 08:05:38 +00:00
Zoe Slattery e660f91c26 Engine execution order tests 2009-05-29 07:52:04 +00:00
Kalle Sommer Nielsen 953cf4c217 MFH: If we don't have a comment (for the 3rd argument in ARG_[ENABLE|WITH], then don't print a comment say "undefined" 2009-05-29 07:43:07 +00:00
Scott MacVicar 4044f880e8 MFH: Fix bug #48416 - Force a cache size for ereg to stop it getting out of control. Lazy LRU here. 2009-05-28 21:57:24 +00:00
Ulf Wendel 19194ff51b MFH - Asynchronous queries are mysqlnd only. If you want them with libmysql, ping JimW who works on Connector/C. 2009-05-28 18:57:34 +00:00
Ulf Wendel 2eccc6f2bf MFH - Andrey needs to have a look at this one. The bug report itself is bogus. However, the bug report shows a result set and that is wrong. 2009-05-28 18:28:08 +00:00
Andrey Hristov fe55da71bb MFH:
Forgot to commit this one, of the ANSI_QUOTES fame
2009-05-28 18:10:40 +00:00
Andrey Hristov cabce152f9 MFH:Fix again the tests for ANSI_QUOTES 2009-05-28 18:00:28 +00:00
Andrey Hristov 804f6138a6 MFH:Fix a valgrind warning as well as more trace log information 2009-05-28 17:49:29 +00:00
Andrey Hristov 76d091d5f5 MFH:Fix a problem with cursors, which did not happen with unbuffered PS for
some reason. Double free of the data, which led to valgrind warnigns.
The fix actually optimizes the code in this cases because the old code
used copy_ctor while the new one skips it because it is not needed.
Transferring data ownership and nulling works best, for PS where we
always copy the string from the result set, unlike the text protocol.
2009-05-28 16:35:41 +00:00
Ulf Wendel 4645f51360 MFH - I had accidently removed Andrey's path to work with ANSI QUOTES... fixing what I broke (part 1) 2009-05-28 15:49:14 +00:00
Ulf Wendel 7926037318 MFH - what a wonderful word. After the change in HEAD its easy to do a merge. The merge removes all UEXPECTF sections from the old days. Yes, there have been UEXPECTFs in 5_3. I hope PHP 6 won't change again over time... :-) 2009-05-28 14:33:43 +00:00
Antony Dovgal 31c2c5ffb7 fix test 2009-05-28 13:56:44 +00:00
Pierre Joye f002287eb3 - MFH: #48378, exif_read_data() segfaults on certain corrupted .jpeg files 2009-05-28 13:48:32 +00:00
Arnaud Le Blanc 23a25db653 MFH: New test 2009-05-28 13:22:28 +00:00
Arnaud Le Blanc 245f051bbe Moved to 5.2 2009-05-28 13:21:08 +00:00
Andrey Hristov 6c4e8fa4f9 MFH:
Fix a bug with mysqlnd_fetch_field(_direct()). With mysqlnd the optimised
function was called, which however, doesn't respect that during store the
raw data is not unpacked, to be lazy. The data is unpacked to zvals later,
during every row fetch. However, this way max_length won't be calculated
correctly. So, if a mysqlnd_fetch_field(_direct) call comes we need to
unpack everything and then calculate max_length...and that is expensive,
defies our lazy unpacking optimisation.
2009-05-28 11:47:48 +00:00
Andrey Hristov 90a8a7f857 MFH:Fix a test, UNSIGNED is expected 2009-05-28 10:16:41 +00:00
Arnaud Le Blanc 6a9aa30d85 MFB52: Fix "request_startup() for zlib module failed" when client does not
accepts compression and zlib.output_compression is On
# (not in HEAD)
2009-05-28 10:15:14 +00:00
Andrey Hristov 04d8609e9f MFH: Fix failures when the server is running with ANSI_QUOTES 2009-05-28 09:58:36 +00:00
Scott MacVicar 2cbe718985 BFN, though this library gets a lot of updates 2009-05-28 03:22:44 +00:00
Scott MacVicar 0062120464 MFH sync SQLite 3.6.14.2 2009-05-28 03:20:33 +00:00
Pierre Joye 2a93efcea3 - fix build, stderr cannot be used as var or struct member 2009-05-27 22:35:26 +00:00
Robert Nicholson 1d4da4fd0c Language Tests: returnByReference 2009-05-27 22:34:25 +00:00
Andrey Hristov bf1a698e51 MFH:
Less warnings by usage of proper modifier
2009-05-27 20:05:37 +00:00
Andrey Hristov 91a4502914 MFH:because we use int64_t we need corresponding printf modifiers. the type
can be different on 32 and 64 bit, thus we can't use ld and lld but
C helps us with inttypes.h and PRId64 and PRIu64 modifiers (without the %)
2009-05-27 19:57:11 +00:00
Andrey Hristov 07fc51d559 MFH: Fix tests when the server is running with ANSI_QUOTES 2009-05-27 18:18:58 +00:00
Ulf Wendel 6cf02c738b Crappy anonymous MySQL user account... trying to make the test more portable. 2009-05-27 17:54:30 +00:00
Ulf Wendel 774f562375 The test is bogus as long as there is no (proper) way to detect from the PHP userland if persistent connections do a change user or not. If they do is controlled by define at the moment. 2009-05-27 17:52:32 +00:00
Ulf Wendel b3645db1ce Testing a little further into the direction of a possible mysqlnd vs. libmysql compatibility break or a libmysql bug. It is not clearly stated in the MySQL C-API documentation what excactly happens on stmt_reset(). 2009-05-27 17:50:09 +00:00
Ulf Wendel a39d92c144 Trying to get test failures down by fixing tests. 2009-05-27 17:46:14 +00:00
Pierre Joye 45832feb40 - fix build 2009-05-27 15:16:18 +00:00
Andrey Hristov 10bc558aca MFH: Revert in regard of my_ulonglong which should be used instead of long
which can be anything.
2009-05-27 15:05:28 +00:00
Pierre Joye 7f6fa6ce1c - fix build on unix with bundled gd 2009-05-27 13:48:13 +00:00
Antony Dovgal 988b89aaa3 MFH: fix compile warnings 2009-05-27 13:42:17 +00:00
Pierre Joye f726afbfeb - [DOC] always enable imagecolormatch 2009-05-27 08:18:24 +00:00
Pierre Joye 59ec80c572 - MFH: [DOC] always enable imagerotate (bundled or system gd) 2009-05-27 07:18:05 +00:00
Kalle Sommer Nielsen e9d289289b MFH: Lets pass the built php binary to run-tests.php's -p parameter 2009-05-27 01:46:48 +00:00
Kalle Sommer Nielsen a9ddcbf162 MFH: Added configure.bat to cvsignore 2009-05-27 01:45:13 +00:00
Kalle Sommer Nielsen 4ab4b6817d MFH: Silent dl() if it fails 2009-05-27 01:38:13 +00:00
Pierre Joye a008f130cd - MFH: [DOC] - add image(filled)ellipse to the compat layer (work around a bug in debian too, function is declared but not present in the lib...) 2009-05-26 20:14:31 +00:00
Jani Taskinen 1296356489 - Test for bug #48203 2009-05-26 17:19:23 +00:00
Jani Taskinen 83748ac00d MFH: Fixed bug #48203 (crash when CURLOPT_STDERR is set to regular file) 2009-05-26 15:49:15 +00:00
Derick Rethans f10d399459 - Updated to version 2009.8 (2009h) 2009-05-26 14:26:57 +00:00
Arnaud Le Blanc f2b8b7f4e0 MFH: Fix return value of pcntl_wexitstatus() (fixes #47566,
patch by james at jamesreno dot com)
2009-05-26 14:01:39 +00:00
Pierre Joye 4988470303 - ws 2009-05-26 13:57:07 +00:00
Andrey Hristov 7ae2505cab Fix a typo, utf8 is 3 byte max, for us, for now
Add a another cset
2009-05-26 13:41:18 +00:00
Pierre Joye 704d7587b0 - enable filter constants 2009-05-26 13:35:59 +00:00
Pierre Joye 6b3e2b1910 - expose gdImageGetTrueColorPixel in bundled lib
- fix bundled lib build
2009-05-26 13:08:59 +00:00
Pierre Joye b682f42915 - [DOC] always enable imagefilter and imageconvolution, even when built against system's gd 2009-05-26 12:50:40 +00:00
Felipe Pena 8b63e5b092 - Fixed param type (%l -> %ld) 2009-05-26 12:35:46 +00:00
Felipe Pena d91344722d - MFH: Nuke unused variables 2009-05-26 12:32:00 +00:00
Jani Taskinen 9672e18acd Nuke duplicate tests 2009-05-26 10:27:08 +00:00
Jani Taskinen 694566d6c4 fix test 2009-05-26 10:12:16 +00:00
Pierre Joye c559d4fb30 - always add libgd/ 2009-05-26 08:53:13 +00:00
Pierre Joye d8b76a8411 - add a note about the actual problen so we don't forget it 2009-05-26 08:10:49 +00:00
Jani Taskinen 7811bcb155 - Added note about omitted break 2009-05-26 08:03:07 +00:00
Eric Stewart 86fed7fac7 Add tests:
DOMComment::__construct() with constructor called twice.
DOMDocumentFragment::appendXML() with unbound fragment.
DOMDocumentFragment::appendXML() with unbalanced chunks.
DOMDocumentFragment::__construct() called twice.
DOMDocumentType: basic access to all properties.
DOMDocumentType::name with invalid state.
DOMDocumentType::entities with invalid state.
DOMDocumentType::notations with invalid state.
DOMDocumentType::publicId with invalid state.
DOMDocumentType::publicId with empty value.
DOMDocumentType::systemId with invalid state.
DOMDocumentType::systemId with empty value.
DOMDocumentType::internalSubset with invalid state.
2009-05-26 06:09:18 +00:00
Jani Taskinen c3795a63e0 - Fixed bug #45202 (zlib.output_compression can not be set with ini_set()) 2009-05-26 05:54:50 +00:00
Jani Taskinen e179d7c26e ws + cs 2009-05-26 04:44:54 +00:00
Kalle Sommer Nielsen 4b95edd125 MFH: Typo 2009-05-25 19:41:13 +00:00
Pierre Joye c32cdc4fd0 - better fix for file:/// and file://localhost (thx Ilia), init file_dest when the path is an uri 2009-05-25 16:09:27 +00:00
Pierre Joye c11979a8bf - #48202, Out of memory error when passing non-existing filename, enable related tests (marked as XFAIL now) 2009-05-25 15:35:03 +00:00
Rasmus Lerdorf e00d6f1876 Removing test 2009-05-25 11:58:27 +00:00
Pierre Joye da27f4237a - MFH: enable MPIR support and the good old 4.1.x gmp for VC6. solving the lgplv3 mess 2009-05-25 10:15:19 +00:00
Eric Stewart d9c9d4cf4b Add the following new tests:
DOMCharacterData::appendData() with no arguments.
DOMCharacterData::deleteData() with count exceeding string size.
DOMCharacterData::deleteData() with no arguments.
DOMCharacterData::deleteData() with offset exceeding string size.
DOMCharacterData::insertData() with no arguments.
DOMCharacterData::replaceData() with no arguments.
DOMComment::__construct() with more arguments than acceptable.
DOMDocumentFragment::__construct().
DOMDocumentFragment::__construct() with too many errors.
DOMDocumentFragment::appendXML() with no arguments.
DOMDocumentFragment::appendXML() with children with properties.
2009-05-25 06:03:41 +00:00
Sara Golemon 00a554b4a3 MFH(r-1.103) Expand zend_symtable_update_current_key to allow specifying HashPosition 2009-05-25 01:18:00 +00:00
Greg Beaver 1c30b43e50 MFH: fix potential segfault when converting phars with metadata to other formats, add test 2009-05-24 18:50:58 +00:00
Ilia Alshanetsky 529bcf35c2 MFB: Improve fix for bug #48313 2009-05-24 16:01:48 +00:00
Felipe Pena 0873648ef0 - New tests (testfest NorthWestUG) 2009-05-23 15:38:18 +00:00
Felipe Pena 941ac63eef - MFH: Added missing param checks 2009-05-23 15:14:15 +00:00
Felipe Pena be7d45b0dc - New xsl files 2009-05-23 14:49:55 +00:00
Felipe Pena 5dfcef7ab4 - New tests (testfest BerlinUG) 2009-05-23 14:45:07 +00:00
Felipe Pena 424c018991 - Fix error message 2009-05-23 14:26:47 +00:00
Nuno Lopes 79a9229772 fix compilation of pdo_firebird and intl extension with ld --as-needed 2009-05-23 13:52:00 +00:00
Kalle Sommer Nielsen e26710bfc4 Fixed compiler warning again, uint8_t is only available with mysqlnd. This is not affecting HEAD 2009-05-23 02:58:15 +00:00
Eric Stewart 30cdf25f22 New test: DOMAttr read $name property.
New test: DOMAttr read $ownerElement with null parent.
New test: DOMAttr write non-string $value property
New test: DOMCDATASection __construct() with no arguments.
New test: DOMCharacterData - Invalid State Error when getting data out of content.
2009-05-23 01:42:37 +00:00
Eric Stewart 21cb2046ae New test: DOMAttr __construct() with no arguments. 2009-05-23 01:33:39 +00:00
Kalle Sommer Nielsen e45cdba580 MFH: Previous commit was an old version of the patch, PHP_ZTS is not a boolean but the behaviour is still correct 2009-05-22 19:47:15 +00:00
Kalle Sommer Nielsen 3de5c79f73 MFH: Don't build SQLite threadsafe on NTS builds 2009-05-22 19:41:15 +00:00
Kalle Sommer Nielsen 4d855122a5 MFH: Fix test on Windows 2009-05-22 18:27:38 +00:00
Kalle Sommer Nielsen 7852108cce MFH: Added missing SKIPIF 2009-05-22 18:22:30 +00:00
Felipe Pena ff4fd58f08 - MFH: Fixed invalid date checking 2009-05-22 12:49:40 +00:00
Felipe Pena 50038a78f5 - New test 2009-05-22 12:38:57 +00:00
Arnaud Le Blanc b33c51693b MFH: Use zend_get_property_info() in get_class_vars() (fixes #46812) 2009-05-22 11:19:30 +00:00
Kalle Sommer Nielsen ccd915ff3f getClosureThis() and $this handling in closures was removed 2009-05-22 03:32:20 +00:00
Arnaud Le Blanc 5c5dcf5e7a MFH: Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not
work with redeclared property)
(patch by Markus dot Lidel at shadowconnect dot com)
2009-05-21 16:01:37 +00:00
Arnaud Le Blanc 9aca3c04a0 MFH: set second argument of gettimeofday() to NULL (fixes #48346,
patch by adriano at guiadohardware dot net)
2009-05-21 14:21:40 +00:00
Arnaud Le Blanc 52cc098a90 MFH: Better fix for #45622 (patch by robinf at php do net) 2009-05-21 13:26:14 +00:00
Ilia Alshanetsky 44fe1bf83f Fixed bug #48207 (CURLOPT_(FILE|WRITEHEADER options do not error out when
working with a non-writable stream)
2009-05-21 12:52:05 +00:00
Jani Taskinen 2e61607c8a MFH: ws 2009-05-21 02:15:03 +00:00
Ilia Alshanetsky b683c61e60 MFB: Re-introduce the Matteo's patch and combine default & text handling
since they appear to be the same irregardless on notes inside sqlite3.h
2009-05-20 15:05:36 +00:00
Ilia Alshanetsky 52f599687a Fixed build 2009-05-20 13:10:49 +00:00
Jani Taskinen d5455551a5 - Sync with HEAD (thanks Hannes :) 2009-05-20 12:44:19 +00:00
Jani Taskinen 9a4069529c MFH: Fix non-windows builds 2009-05-20 12:15:39 +00:00
Kalle Sommer Nielsen 061f229abc MFH: Fixed shared build 2009-05-20 10:18:51 +00:00
Arnaud Le Blanc 6540730732 MFH: Fix skipif 2009-05-20 10:08:32 +00:00
Antony Dovgal 0813510d1b sync with HEAD 2009-05-20 09:26:12 +00:00
Arnaud Le Blanc 90d1875421 MFH: set default value of "precision" ini setting,
many tests depend on this
2009-05-20 09:22:50 +00:00
Arnaud Le Blanc 808acd6b64 MFH: Fix skipif 2009-05-20 09:13:29 +00:00
Arnaud Le Blanc 73553e8c77 MFH: Fixed bug #48326 (constant MSG_DONTWAIT not defined) 2009-05-20 09:05:46 +00:00
Kalle Sommer Nielsen f02ebe4a08 MFH: Fix compiler warnings in ext/mysql, ext/mysqli and ext/pdo_mysql 2009-05-20 08:30:12 +00:00
Kalle Sommer Nielsen 31a1dbe2df MFH: Fix Windows build, dns_get_record is defined in dns_win32.c, not here 2009-05-20 08:18:48 +00:00
Jani Taskinen 764fd8a423 MFH:- Fix bug #48317 (compile failure in dns.h) (thanks to Pierre for introducing this) 2009-05-19 19:39:53 +00:00
Hannes Magnusson 39ac962ffd MFH: Partial fix for bug#48333 2009-05-19 19:23:33 +00:00
Ilia Alshanetsky 5ec5e3b5f2 The \0 removal is only needed prior to 3.4.0 2009-05-19 19:15:18 +00:00
Ilia Alshanetsky 37609844de Warning fix 2009-05-19 18:42:08 +00:00
Ilia Alshanetsky 8f7b7495f2 Upgraded to 3.6.14.1 2009-05-19 18:32:46 +00:00
Kalle Sommer Nielsen 21f836ee64 MFH: Fixed compiler warnings
# (see previous commit message)
2009-05-19 18:08:57 +00:00
Kalle Sommer Nielsen 6068ce7469 MFH: Fixed compiler warning 2009-05-19 17:47:06 +00:00
Kalle Sommer Nielsen ff88b45ffc MFH: Fix compiler warnings 2009-05-19 17:38:29 +00:00
Ilia Alshanetsky 70fb8c85f1 Revert faulty warning fix 2009-05-19 16:14:13 +00:00
Kalle Sommer Nielsen 9e230424b5 Cast to unsigned char to prevent compiler warning 2009-05-19 16:06:00 +00:00
Kalle Sommer Nielsen 01fc4ed1d6 MFH: Fix compiler warnings 2009-05-19 16:03:36 +00:00
Brian Shire c80f0bf769 MFH: Fix bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning, and allow [*_-] chars at start of ini labels 2009-05-19 15:59:36 +00:00
Jani Taskinen 59bc60ffbe - Revert bad compile warning fix which causes compile failures with older glibc 2009-05-19 15:38:07 +00:00
Jani Taskinen ff18679418 MFH:- Fix test: since cURL 7.19.4 CURLINFO_CONTENT_LENGTH_* return -1 if the size is unknown 2009-05-19 14:05:39 +00:00
Jani Taskinen e36c8c49c3 MFH: Unify macros 2009-05-19 11:12:20 +00:00
Kalle Sommer Nielsen 5d3972f73a MFH: Cast to SQLUSMALLINT 2009-05-19 10:25:53 +00:00
Kalle Sommer Nielsen a58bd002d6 MFH: Fix --with-pdo-mssql build and add some warnings if header/libs are not found 2009-05-19 10:22:25 +00:00
Hannes Magnusson 45b2586666 Fix build 2009-05-19 10:00:12 +00:00
Jani Taskinen ec9b82f0f4 fix news 2009-05-19 09:41:34 +00:00
Derick Rethans d29d24427f - MFH: Get rid of the four different versions of zend_extension* and only use
zend_extension. Because of the API identifier change in PHP 5.3 you also get
  a proper warning message now.
#- [DOC]
2009-05-18 21:33:38 +00:00
Pierre Joye aedaf1aea9 - close manually the impersonation token 2009-05-18 20:56:46 +00:00
Zoe Slattery e5348b9152 Removing redundant UEXPECT 2009-05-18 19:16:30 +00:00
Ilia Alshanetsky e99d4e9adc Fixed bug #48313 (fgetcsv() does not return null for empty rows) 2009-05-18 18:45:30 +00:00
Jani Taskinen 9ece649f7c MFH: ws + sync 2009-05-18 16:10:09 +00:00
Hannes Magnusson 82c49a50f4 MFH: Print out the WARNed section 2009-05-18 14:08:23 +00:00
Hannes Magnusson ebf4c8ddb8 Fix test 2009-05-18 13:52:16 +00:00
Jani Taskinen befe469770 MFH 2009-05-18 12:51:05 +00:00
Pierre Joye 4398fbcb07 - MFH: use ZEND_ARG_ARRAY_INFO for arginfo_curl_setopt_array 2009-05-18 12:01:44 +00:00
Pierre Joye f77d46ea36 - sync with HEAD 2009-05-18 11:58:04 +00:00
Pierre Joye 52d8816cf7 - more WS 2009-05-18 11:48:31 +00:00
Pierre Joye b5b4b19b8b - MFH: add CURLPROXY_SOCKS4 2009-05-18 11:18:59 +00:00
Pierre Joye 4b0a0e5568 - WS 2009-05-18 11:17:51 +00:00
Pierre Joye 0f8d0d9f62 - should not have been commited 2009-05-18 10:32:04 +00:00
Pierre Joye 330e416563 - MFB: - disable file:// when safe_mode or open_basedir are enabled 2009-05-18 10:31:08 +00:00
Pierre Joye 10ace3fe97 - #44859, fixed support for windows ACL, drop win9x code 2009-05-17 19:44:27 +00:00
Felipe Pena 47f87a58aa - New tests (testfest BerlinUG) 2009-05-17 18:08:09 +00:00
Felipe Pena b5cec43162 - New tests (testfest BelgiumUG) 2009-05-17 16:51:59 +00:00
Felipe Pena 6f75314b84 - New tests (testfet LondonUG) 2009-05-17 15:24:08 +00:00
Arnaud Le Blanc c79528a26d MFH: Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not
update stream position of plain files)
2009-05-17 14:58:10 +00:00
Felipe Pena 7c30401aec - New tests (testfest Quebec) 2009-05-17 01:16:35 +00:00
Felipe Pena 1bcc3aac33 - New tests (testfest DutchUG) 2009-05-16 21:13:43 +00:00
Arnaud Le Blanc 8a8e036175 MFH: Test for #38802 2009-05-16 20:45:28 +00:00
Arnaud Le Blanc ac57b7078b MFH: Minimal HTTP server to test HTTP stream wrapper 2009-05-16 20:44:05 +00:00
Arnaud Le Blanc a5db3627e5 Fixed bug #38802 (max_redirects and ignore_errors)
(patch by datibbaw@php.net)
2009-05-16 20:34:48 +00:00
Arnaud Le Blanc fab1f0e754 Fix warning when inner stream of a temp:// stream is closed before
the stream ifself
2009-05-16 20:27:36 +00:00
Arnaud Le Blanc a2600facdd MFH: Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source
is a socket)
2009-05-16 20:23:06 +00:00
Felipe Pena 06a10f3789 - New tests (testfest Quebec) 2009-05-16 18:26:59 +00:00
Felipe Pena 2fa28208a6 - Added changes from testfest ParisUG && Changed line endings 2009-05-16 17:02:24 +00:00
Felipe Pena 84b1765852 - New tests (testfest ParisUG) 2009-05-16 16:37:31 +00:00
Felipe Pena 11c78461d6 - New tests (testfest DutchUG) 2009-05-16 15:13:57 +00:00
Felipe Pena 837cf07807 - New tests (testfest CataloniaUG) 2009-05-16 14:41:27 +00:00
Pierre Joye 59a6d8d5a2 - WS 2009-05-15 17:48:34 +00:00
Kalle Sommer Nielsen db137b4d69 MFH: Fix compiler warnings 2009-05-15 17:28:08 +00:00
Moriyoshi Koizumi fcede921b6 * MFH: Roll it back. 2009-05-15 17:03:03 +00:00
Christopher Jones ad07803d23 MFH: New array_multisort() test and code comment fix (Simon Westcott) 2009-05-15 16:46:22 +00:00
Kalle Sommer Nielsen 178cb9c572 Added some more comments about deprecated ini settings 2009-05-15 09:44:08 +00:00
Kalle Sommer Nielsen 105272bdec MFH: Fix arginfo 2009-05-15 09:10:55 +00:00
Scott MacVicar a6acb07d2a BFN 2009-05-14 22:03:35 +00:00
Scott MacVicar d2a7785878 MFH Allow a custom recursion depth to be specified for json_decode() 2009-05-14 22:02:08 +00:00
Jani Taskinen c0ce0e7932 - Fix the harmless patch that caused harm :) 2009-05-14 21:23:35 +00:00
Jani Taskinen 5910fcaf13 MFH 2009-05-14 21:00:15 +00:00
Moriyoshi Koizumi 6e265a738e - Add a new test for the additional delimiter of the encoding conversion filter 2009-05-14 19:06:20 +00:00
Arnaud Le Blanc 12d41f7a1f moved to 5.2 2009-05-14 19:03:59 +00:00
Moriyoshi Koizumi cc547c86df - Update the test as newer libc gets the bogus input through rather than
rejecting it.
2009-05-14 19:02:38 +00:00
Hannes Magnusson 24b0e5dfe5 Add missing file 2009-05-14 18:53:39 +00:00
Felipe Pena 63c12a8f99 - MFH: Improved fix for #42414 2009-05-14 17:24:42 +00:00
Arnaud Le Blanc eeed7e12f5 moved to 5.2 2009-05-14 16:23:58 +00:00
Jani Taskinen f0dd266bdd MFH:- Fixed bug #48256 (Crash due to double-linking of history.o) 2009-05-14 13:40:51 +00:00
Greg Beaver 7aabee2ec6 MFH: fix potential free of NULL 2009-05-14 13:36:56 +00:00
Ilia Alshanetsky c205eb5143 Fixed compiler warnings 2009-05-14 12:29:47 +00:00
Dmitry Stogov 2f8ca07d18 Fixed wrong return value 2009-05-14 08:21:54 +00:00
Matt Wilmas 464cfab1b1 Now in 5.2 (or should the entry be here as well...?) 2009-05-14 01:31:02 +00:00
Felipe Pena 3201292cd3 - New tests 2009-05-14 01:28:58 +00:00
Felipe Pena 652b77243c MFH:
- Fixed bug #42414 (some odbc_*() functions incompatible with Oracle ODBC driver)
  patch by: jhml at gmx dot net
2009-05-14 01:26:39 +00:00
Greg Beaver 475cf4d288 fix Bug #48257: PharData throws exception with non-phar tar 2009-05-13 20:25:43 +00:00
Jani Taskinen 1033af1cb3 MFH: Fixed module loading order and made request shutdown functions also to
be loaded in reverse like all other shutdowns are.
2009-05-13 18:48:20 +00:00
Kalle Sommer Nielsen f67e7f4947 MFH: Fix compiler warnings, safe_emalloc expects size_t, not double as ceil returns 2009-05-13 16:29:26 +00:00
Kalle Sommer Nielsen 18e7a82dd4 MFH: Nuke compiler warning 2009-05-13 15:55:12 +00:00
Ilia Alshanetsky 46e28fb021 Fixed bug #44996 (xmlrpc_decode() ignores time zone on iso8601.datetime)
# Original patch by kawai at apache dot org
2009-05-13 14:23:14 +00:00
Felipe Pena 539b7a2154 - MFH: Fixed bug #48240 (DBA Segmentation fault dba_nextkey) 2009-05-13 02:14:53 +00:00
Matteo Beccati c25b0a2817 MFH
- Moved test for bug #44861 to PDO commons and added support for pdo_oci
# This allows scrollable cursors to be tested with all the drivers
# that currently support them (pgsql and oci), ensuring a consistent
# behaviour. The test is skipped when using other drivers.
2009-05-12 23:40:32 +00:00
Felipe Pena db1eafa8d0 - MFH: Fixed bug #48248 (SIGSEGV when access to private property via &__get) 2009-05-12 22:55:05 +00:00
Matteo Beccati 3fb4089ba7 MFH
- Fixed bug #48188
2009-05-12 22:18:15 +00:00
Matteo Beccati 7be13beddb MFH
- Fixed bug #48070
2009-05-12 21:53:18 +00:00
Felipe Pena e753493c97 - Fixed tests on Windows 2009-05-12 19:46:58 +00:00
Ilia Alshanetsky c3e3d607b4 Fixed bug #47564 (unpacking unsigned long 32bit bit endian returns wrong
result)
2009-05-12 12:34:55 +00:00
Felipe Pena 4f068cc23b - MFH: Fix code && new test 2009-05-11 15:03:47 +00:00
Felipe Pena 85bcfa89ad - Added missing param checks 2009-05-11 14:14:52 +00:00
Ilia Alshanetsky d73b2316a1 moved to 5.2 as well 2009-05-11 12:35:19 +00:00
Ilia Alshanetsky 60d4c0308a Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
paths)
2009-05-11 12:21:26 +00:00
Pierre Joye dff4655e31 - MFH: define HAVE_PQPROTOCOLVERSION and HAVE_PG_LO_CREATE (Tim Starling) 2009-05-11 10:44:12 +00:00
Jani Taskinen 2a31dbbadf MFH:- Removed unnecessary TSRMLS_FETCH() calls 2009-05-11 08:31:15 +00:00
Jani Taskinen daae8fb6fc MFH: cs + ws 2009-05-11 07:52:49 +00:00
Kalle Sommer Nielsen 776a648f17 MFH: Fix conditional 2009-05-11 06:43:05 +00:00
Jani Taskinen 899e56337f - Fix paths 2009-05-11 05:01:37 +00:00
Felipe Pena 13a3092fce - Starting tests for this extension 2009-05-11 03:09:59 +00:00
Felipe Pena 937b429ad8 - Fixed tests 2009-05-11 01:51:07 +00:00
Jani Taskinen f3bd837434 MFH: sync 2009-05-10 23:08:52 +00:00
Jani Taskinen 1338aa26be sync with HEAD 2009-05-10 22:39:33 +00:00
Jani Taskinen 235712f3de BFN 2009-05-10 21:06:35 +00:00
Jani Taskinen 068d240da5 - Fixed bug #48200 (compile failure with mbstring.c when --enable-zend-multibyte is used) 2009-05-10 21:04:46 +00:00
Stanislav Malyshev 06000724e7 revent wrong part 2009-05-10 20:58:26 +00:00
Felipe Pena f306943799 - Fixed bug #48227 (NumberFormatter::format leaks memory) 2009-05-10 20:17:22 +00:00
Etienne Kneuss bad0b796a8 MFB: Add test for #48224 2009-05-10 20:12:56 +00:00
David Coallier 0204349438 - Removed the RETURN_TRUE to keep consistency with documentation. This function
is supposed to be "void registerPHPFunctions"
2009-05-10 19:59:47 +00:00
Stanislav Malyshev 0cb1c2797f little errors cleanup 2009-05-10 19:10:36 +00:00
Etienne Kneuss 7c41c86a02 MFB: Fix #48224 (Remove incorrect shuffle) 2009-05-10 16:45:21 +00:00
Felipe Pena a8209c5157 - Simplify test (cweiske) 2009-05-10 15:48:39 +00:00
Felipe Pena 680bc45ba5 - MFH: Fixed bug #48221 (memory leak when passing invalid xslt parameter) 2009-05-10 15:13:05 +00:00
Hannes Magnusson 64e4c69090 fix proto
# Why doesn't this exist in HEAD?
2009-05-10 13:26:38 +00:00
Felipe Pena 91bdeda644 - MFH: Fixed memory leak (patch by Christian Weiske) 2009-05-10 01:03:45 +00:00
Johannes Schlüter 021623dbf1 really delete it 2009-05-09 22:36:14 +00:00
Johannes Schlüter 037211ec08 MFH Remove bad CREDITS file 2009-05-09 22:34:45 +00:00
Etienne Kneuss bc75208538 MFH: Fix bug #47534 (RecursiveDirectoryIterator::getChildren ignoring CURRENT_AS_PATHNAME) 2009-05-09 21:06:59 +00:00
Scott MacVicar c81345bbd0 BFN 2009-05-09 20:42:44 +00:00
Jani Taskinen 8308ce2d0a - Moved to PHP_5_2 2009-05-09 20:37:47 +00:00
Scott MacVicar 2d183dcc1d MFH Update bundled libmagic to 5.03 2009-05-09 20:34:37 +00:00
Jani Taskinen 558f3861ec MFH:- Fixed bug #47468 (enable cli|cgi-only extensions for embed sapi) 2009-05-09 20:26:51 +00:00
Scott MacVicar cc33f375a6 MFH Broken test when you have a snapshot as it relies on CVS 2009-05-09 20:18:43 +00:00
Scott MacVicar 01a6919ff0 Fix bug #48206 again 2009-05-09 19:45:26 +00:00
Scott MacVicar e89c1cf7d9 MFH Fix bug #48206 - Iterating over an invalid data structure leads to a segfault 2009-05-09 19:35:09 +00:00
Hannes Magnusson ebf7a8e9a3 Fix comments 2009-05-08 11:35:12 +00:00
Arnaud Le Blanc 7d61fa216d test for #44034 2009-05-08 09:50:34 +00:00
Arnaud Le Blanc 1d13e22f41 Fix invalid read 2009-05-08 09:44:17 +00:00
Antony Dovgal c4cf7a858d MFH: fix ZTS build 2009-05-08 07:58:19 +00:00
Brian Shire 4c81aa0b50 MFH: Add missing #ifdef for curl version that does not have FTP_FILEMETHOD or IPRESOLVE options. related to fix for bug #39637 2009-05-08 03:33:06 +00:00
Matteo Beccati d33fecdde8 MFH
- Fixed bug #48185 removing no-op code
2009-05-07 23:29:54 +00:00
Felipe Pena bb31072d3e - Fix build 2009-05-07 22:42:46 +00:00
Scott MacVicar f8207707c9 BFN 2009-05-07 16:56:18 +00:00
Scott MacVicar 81e3b74188 Print warning when using loadExtension on non cli, cgi and embeded 2009-05-07 16:49:26 +00:00
Jani Taskinen 782644535f MFH 2009-05-07 13:47:43 +00:00
Jani Taskinen da7302f792 MFH 2009-05-07 13:44:23 +00:00
Zoe Slattery f2cc5467da fixing missing semi-colon 2009-05-07 13:26:00 +00:00
Ilia Alshanetsky 9861f86c9f Fixed compiler warning 2009-05-07 12:39:26 +00:00
Felipe Pena a2516cd273 - Missing title 2009-05-07 12:15:40 +00:00
Felipe Pena dcfe5d7140 - MFH: Parameter parsing changes for get_defined_constants() (Kalle) 2009-05-07 12:08:09 +00:00
Scott MacVicar 4b34028479 BFN 2009-05-07 11:29:32 +00:00
Scott MacVicar e718846c5b MFH Update bundled libsqlite to 3.6.14 2009-05-07 11:27:45 +00:00
Zoe Slattery cba448a9d3 Replacing generate script with a new version 2009-05-07 09:21:43 +00:00
Hannes Magnusson 903f306a60 Fix tests 2009-05-07 08:08:00 +00:00
Kalle Sommer Nielsen 686c3975e7 use have been a keyword in a forever, thanks Greg 2009-05-07 06:58:57 +00:00
Kalle Sommer Nielsen e4e260dc21 Windows ME is not supported either as of 5.3 2009-05-07 03:16:28 +00:00
Kalle Sommer Nielsen 036314329a * use is a reserved keyword
* notes to Windows section
2009-05-07 03:14:07 +00:00
Jani Taskinen 996eab8983 - Fixed ini deprecation message issues in tests.
# CGI headers are stripped and the error ends up there with CGI..
2009-05-06 20:32:00 +00:00
Jani Taskinen f719e30684 MFH 2009-05-06 19:03:06 +00:00
Johannes Schlüter 508a2d0c3d Back to -dev 2009-05-06 18:57:45 +00:00
Johannes Schlüter 6eb27922d7 5.3.0RC2-dev 2009-05-06 18:51:29 +00:00
Ilia Alshanetsky e6c96dec60 Fixed bug #48156 (Added support for lcov v1.7) 2009-05-06 14:04:46 +00:00
Felipe Pena d64db73483 - Fixed tests 2009-05-05 18:19:16 +00:00
Zoe Slattery 56e61fb2a5 Fixed tests - thanks mgdm 2009-05-05 13:53:11 +00:00
Ilia Alshanetsky e828880281 Fixed compiler warning due to llabs() function 2009-05-05 12:33:39 +00:00
Derick Rethans f2ef1dec3c - Fixed bug #48149 (Cannot make interval parts larger than 9999) by
regenerating the parser.
2009-05-05 07:45:18 +00:00
Jani Taskinen 06c487133a MFH 2009-05-05 01:51:13 +00:00
Matt Wilmas e7c5f3cfa4 Regenerate 2009-05-05 01:44:52 +00:00
Jani Taskinen e34d4e933a MFH: ws fix 2009-05-05 01:44:22 +00:00
Greg Beaver 6f101e7c06 remove precautionary #ifdef - the problem was fixed by moving the efree inside the zend_try block 2009-05-05 01:41:51 +00:00
Matt Wilmas 09034cf3f4 MFH: Implemented manual scanning for strings/comments, plus misc. fixes 2009-05-05 01:35:44 +00:00
Jani Taskinen af442c0bde MFH: fix build 2009-05-05 01:22:44 +00:00
Jani Taskinen a02d4a690a - sync with HEAD 2009-05-05 01:21:10 +00:00
Matt Wilmas 4d7fe7444b Changed wording 2009-05-05 00:55:27 +00:00
Jani Taskinen ee5c30a781 duh.. 2009-05-05 00:39:33 +00:00
Jani Taskinen 0b4875313a MFH: - Fixed Bug #45092header HTTP context option not being used (--with-curlwrappers) 2009-05-05 00:31:56 +00:00
Jani Taskinen 6611eb0b98 - Sync with HEAD 2009-05-05 00:16:21 +00:00
Kalle Sommer Nielsen 5a6d3cc42b Added E_DEPRECATED startup notice (5.3 only) 2009-05-04 21:18:22 +00:00
Scott MacVicar 048f03a46b BFN 2009-05-04 21:11:40 +00:00
Pierre Joye ffca50ca0d - revert last commit and fix inline 2009-05-04 21:03:20 +00:00
Scott MacVicar c48241a569 MFH Update libmagic data file to 5.02 2009-05-04 20:56:13 +00:00
Scott MacVicar c3b88aec15 MFH Update libmagic to 5.02 2009-05-04 20:54:53 +00:00
Pierre Joye e274a01620 - a macro will just do it too 2009-05-04 20:31:02 +00:00
Derick Rethans 53bb83ab8c - MFH: Fixed warnings 2009-05-04 19:55:47 +00:00
Jani Taskinen ce86c511c4 - Fix news 2009-05-04 19:02:26 +00:00
Pierre Joye b4a46c8693 - cleaner fix 2009-05-04 17:11:22 +00:00
Pierre Joye 65a9530849 - add llabs 2009-05-04 17:09:33 +00:00
Scott MacVicar cbc9e850b9 Add missing prototypes for mhash, no code changes. 2009-05-04 16:37:31 +00:00
Pierre Joye 7cfcf294a0 - fix build 2009-05-04 16:28:50 +00:00
Pierre Joye 8991998d7a - win extension_dir 2009-05-04 15:20:38 +00:00
Antony Dovgal 79d1691d11 MFH: use correct function 2009-05-04 14:44:46 +00:00
Antony Dovgal 7809cd64e8 MFH: don't segfault on bindto == NULL 2009-05-04 14:25:17 +00:00
Pierre Joye c412b949b9 - #39637 2009-05-04 14:15:58 +00:00
Pierre Joye d6d644b0bb - [DOC] a note about the symbol -> version page/doc 2009-05-04 14:11:45 +00:00
Pierre Joye 93941d1735 - [DOC] MFH: #39637, add CURLOPT_FTP_FILEMETHOD which accepts CURLFTPMETHOD_MULTICWD, CURLFTPMETHOD_NOCWD and CURLFTPMETHOD_SINGLECWD 2009-05-04 14:09:28 +00:00
Ilia Alshanetsky 8c9195e48d Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via bindto) 2009-05-04 13:09:15 +00:00
Pierre Joye c3bd64a5be - #47739 2009-05-04 12:23:56 +00:00
Pierre Joye 5b3fa5afdd - MFH: [DOC] #47739. add option CURLOPT_IPRESOLVE which accepts CURL_IPRESOLVE_WHATEVER, CURL_IPRESOLVE_V4 or CURL_IPRESOLVE_V6 2009-05-04 12:12:57 +00:00
Greg Beaver 6eb6df3a20 disable cause of mysterious segfault in PHP 5.3 only (5.2 is fine) 2009-05-04 04:29:25 +00:00
Derick Rethans cba1765799 - MFH: Added timezone_version_get() to retrieve the version of the used
timezone database.
2009-05-03 19:58:49 +00:00
Derick Rethans 65fc904143 - MFH: Fixed bug #45191 (error_log ignores date.timezone php.ini val when
setting logging timestamps).
2009-05-03 19:08:49 +00:00
Derick Rethans 20a359a3fb - MFH: Fixed bug #45682 (Unable to var_dump(DateInterval)). 2009-05-03 18:46:28 +00:00
Derick Rethans febc2763dd - MFH: Fixed bug #48058 (Year formatter goes wrong with out-of-int range).
- MFH: Fixed bug #45822 (Near infinite-loops while parsing huge relative offsets).
2009-05-03 18:22:40 +00:00
Jani Taskinen 7e0387dbde fix news 2009-05-03 16:16:15 +00:00
Pierre Joye 0a1ebcb3eb - #41712 2009-05-03 15:17:40 +00:00
Pierre Joye 1cd9a33826 - ws/cs 2009-05-03 15:16:10 +00:00
Pierre Joye ea57845b6e - c/p error 2009-05-03 15:03:35 +00:00
Pierre Joye 8e7031087a - [DOC] MFH: #41712, implement progress callback
- add constants  CURLOPT_PROGRESSFUNCTION
2009-05-03 14:59:46 +00:00
Derick Rethans 1e6e1ca304 - MFH: Added test for (bogus) bug #48097. 2009-05-03 14:28:26 +00:00
Jani Taskinen 16c3b8f149 MFH:- Revert bad patch (which caused bug #48133) 2009-05-02 21:13:54 +00:00
Jani Taskinen 2f22d5a164 MFH:- Fixed bug #48132 (configure fails to test curl ssl support if --disable-rpath is set) 2009-05-02 19:53:48 +00:00
Jani Taskinen ddebbea218 - Extra newlines never hurt anyone.. 2009-05-02 18:32:45 +00:00
Pierre Joye 1cdb964081 - imap entries (2 more to come) 2009-05-02 18:06:04 +00:00
Pierre Joye 9faccc3da1 - [DOC] MFH: add imap_mutf7_to_utf8 and imap_utf8_to_mutf7 2009-05-02 17:59:46 +00:00
Pierre Joye 72d2473d5b - NL cleanup (mixed or windows) 2009-05-02 11:40:33 +00:00
Jani Taskinen bc247e0eec MFH:- Fix parameter variable type to match "l" 2009-05-02 02:08:46 +00:00
Kalle Sommer Nielsen 895327b202 MFH: Update copyright year + line feeds 2009-05-02 01:53:45 +00:00
Kalle Sommer Nielsen d8f43d476e MFH: Fix proto 2009-05-02 01:37:33 +00:00
Antony Dovgal 8594654160 fix test 2009-05-01 22:23:59 +00:00
Jani Taskinen adb22f71c1 MFH:- Fix compile warning in debug mode 2009-05-01 21:46:53 +00:00
Antony Dovgal d3438bf9f5 initialize ext_len 2009-05-01 09:22:16 +00:00
Felipe Pena 2b049552d0 - MFH: Fixed bug #48038 (odbc_execute changes variables used to form params array) 2009-05-01 03:02:46 +00:00
Felipe Pena f55c56b74b - MFH: Fixed bug #48120 (Implementing abstract class FilterIterator in regexiterator.inc) 2009-05-01 01:55:41 +00:00
Pierre Joye 8f9c7574c6 - MFB: #47940, memory leaks in imap_body 2009-04-30 18:56:25 +00:00
Pierre Joye ea81bfcf7a - MFB: #45997, safe_mode bypass with exec/sytem/passthru (windows only) 2009-04-30 15:25:37 +00:00
Jani Taskinen 73b9d33ab7 MFH: fix test 2009-04-30 13:22:13 +00:00
Jani Taskinen a4a08dd43d MFH:fix test 2009-04-30 13:19:31 +00:00
Matteo Beccati b8910c99ea MFH:
- Removed HAVE_PQEXECPARAMS which was left out during the previous commit
2009-04-30 12:56:00 +00:00
Matteo Beccati 6e22ab5e3e MFH:
- Changed PDO_PGSQL configure script to require libpq 7.4
- Cleaned up usage of HAVE_PQ* defines
- Fixed compiler warnings
- Removed custom implementation of PQunescapeByte
# Rationale:
# - PDO_PGSQL couldn't even compile when using libpq 7.3
# - PostgreSQL 7.3 is unsupported since a long time
# - Got consensus from pgsql devs on freenode
2009-04-30 12:38:43 +00:00
Jani Taskinen 5c97c813a9 MFH 2009-04-30 10:41:54 +00:00
Pierre Joye 3cce609d77 - fix build (Marcus, fix re2c please) 2009-04-30 09:11:00 +00:00
Greg Beaver 6289c323d3 MFPECL fix PECL Bug #14646: phar error message unclear with php stream wrappers (note: is there a standard way to list PECL bugs in NEWS?) 2009-04-30 04:43:10 +00:00
Derick Rethans 1bca3a1dc1 - Updated to version 2009.7 (2009g) 2009-04-29 11:12:03 +00:00
Zoe Slattery 3bd566f7c4 Refixing to follow documented behaviour 2009-04-29 07:53:10 +00:00
Greg Beaver f21744809e MFPECL: fix PECL bug #16338, php_stream_copy_to_stream{,_ex}() 2009-04-29 03:24:27 +00:00
Felipe Pena 13b1607886 - Fix test 2009-04-28 23:46:27 +00:00
Ilia Alshanetsky 7b064cf252 Fixed bug #47365 (ip2long() may allow some invalid values on certain 64bit
systems)
2009-04-28 22:27:00 +00:00
Stanislav Malyshev 94b7a00760 fix for #47930 2009-04-28 21:30:23 +00:00
Greg Beaver e9d2d08b3c new test - test passes here, but the pear2coverage.phar.php segfaults in apache 2.2 sapi 2009-04-28 19:28:52 +00:00
Antony Dovgal 53990b2bf3 fix test 2009-04-28 10:30:56 +00:00
Antony Dovgal 319491b658 fix test 2009-04-28 09:04:28 +00:00
Pierre Joye efb0b8bf54 - space to tabs
- CS
2009-04-28 08:29:55 +00:00
Pierre Joye d4e6d96396 - [DOC] add imap_gc (purge cache(s) and constants IMAP_GC_ELT, IMAP_GC_ENV and IMAP_GC_TEXTS to control imap_gc behavior 2009-04-28 08:22:57 +00:00
Dmitry Stogov 9e36fae5ff Fixed bug #48034 (PHP crashes when script is 8192 (8KB) bytes long) 2009-04-28 07:13:30 +00:00
Ilia Alshanetsky 814e4588f4 Removed unused variable 2009-04-27 23:22:16 +00:00
Felipe Pena 9fa1e2d8a8 - MFH: Fixed bug #47254 (Wrong Reflection for extends class) 2009-04-27 19:48:45 +00:00
Jani Taskinen 3d71223080 update 2009-04-27 18:45:12 +00:00
Scott MacVicar 71644fce17 BFN 2009-04-27 18:20:19 +00:00
Kirti Velankar d21456d602 Fix in grapheme_extract 2009-04-27 18:18:04 +00:00
Scott MacVicar d13c028689 MFH Add the ability to enable exceptions rather than warnings for sqlite3, needed for pyrus. 2009-04-27 18:16:46 +00:00
Scott MacVicar 4ce599678f MFH Fix bug #47695 - xmlrpc --with-iconv-dir mangles --with-iconv if they use different iconv versions. Could also just add a dependency on iconv to fix this. 2009-04-27 17:49:32 +00:00
Kalle Sommer Nielsen c848df3fbe MFH: Fixed bug #48088 (Wrong ARG_INFO for OO-API of DateTime) 2009-04-27 14:22:15 +00:00
Felipe Pena 476ea1ad69 - MFH: Fixed bug #48087 (call_user_method() invalid free of arguments) 2009-04-27 12:52:31 +00:00
Pierre Joye 73aa2a66d4 - remove duplicate definition 2009-04-27 00:00:42 +00:00
Sebastian Schürmann 7e5a07ab93 - fix tests
- output of spl_classes differs from 5_2 to 5_3, changed to is_array
2009-04-26 23:58:44 +00:00
Pierre Joye 3d5c1e0f12 - correct clause 2009-04-26 09:42:46 +00:00
Jani Taskinen eb190a2ef9 MFH: Fix cleanup 2009-04-25 21:44:33 +00:00
Jani Taskinen 7be492a208 MFB: Added missing SKIPIF 2009-04-25 21:38:04 +00:00
Arnaud Le Blanc 1bef730840 MFH 2009-04-25 21:13:07 +00:00
Jani Taskinen 3d87ef8b21 MFH 2009-04-25 17:57:36 +00:00
Jani Taskinen c56690dbc3 MFB52: sync 2009-04-25 17:12:40 +00:00
Pierre Joye bf58dedbdf - ws 2009-04-25 16:33:51 +00:00
Nuno Lopes f30aaa1d6d fix strict aliasing problems.
this should fix the crash that Sebastian was having with gcc 4.4. Please confirm this is the case
2009-04-25 16:33:41 +00:00
Pierre Joye bb17721a02 - #elif 2009-04-25 15:12:45 +00:00
Pierre Joye 9292f30367 - ws 2009-04-25 15:08:10 +00:00
Pierre Joye 8c9a66e85b - add 2007d and e 2009-04-25 15:06:34 +00:00
Pierre Joye 7b73190bce - MFH: SEARCHPGM struct has to be freed 2009-04-25 15:02:36 +00:00
Pierre Joye 2e88653242 - silent warning, NULL is not 0 2009-04-25 14:59:21 +00:00
Sebastian Schürmann 7942cd2c3c - Initial commit 2009-04-25 11:33:26 +00:00
Sebastian Schürmann a3a20e29c2 - Initial Commit 2009-04-25 11:29:52 +00:00
Sebastian Schürmann f972956b9d - Initial commit 2009-04-25 11:23:01 +00:00
Pierre Joye ccc615c38e - bad idea to free body 2009-04-25 11:21:14 +00:00
Sebastian Schürmann d2672abf45 Initial commit 2009-04-25 11:19:40 +00:00
Sebastian Schürmann e2a4ef0696 - initial ci
- basic test for ini_alter
2009-04-25 11:18:15 +00:00
Kalle Sommer Nielsen 437e9e6c7c This shouldn't have been in for now 2009-04-25 06:25:55 +00:00
Kalle Sommer Nielsen 9a718dd97c MFH: Use correct data types here, and gdImageSaveAlpha for the alpha flag 2009-04-25 06:22:14 +00:00
Arnaud Le Blanc a772d7c3ef MFH 2009-04-24 19:48:41 +00:00
Arnaud Le Blanc 54958dbc7c MFH 2009-04-24 17:14:32 +00:00
Pierre Joye 30b30dda11 - make MP survive --disable-all (=disable to disable it) 2009-04-24 15:18:37 +00:00
Pierre Joye f4c90952b0 - fix logic 2009-04-24 11:34:38 +00:00
Pierre Joye 3110003f3e - simplify and use PHP_CURL 2009-04-24 09:25:25 +00:00
Pierre Joye c20e1537cf - MFH: #47940, leaks in imap_body() 2009-04-23 22:25:13 +00:00
Pierre Joye b6672146b0 - define HAVE_NEW_MIME2TEXT and detect utf8aux 2009-04-23 22:22:51 +00:00
Pierre Joye 375bbd497d - allow to set or disable the multithreaded build (n, auto or disable) 2009-04-23 20:19:06 +00:00
Pierre Joye dbddb21668 - wrong var name 2009-04-23 18:03:05 +00:00
Takeshi Abe 47b6dc50a4 MFHcheck non-null before any use. 2009-04-23 16:26:17 +00:00
Matteo Beccati 0b576f6f11 MFH:
- Reverted previous fix for bug #46274 and properly fixed it
- Fixed bug #48060
# Also added tests for pdo_oci as it's the only other driver currently
# using streams: no regression found
2009-04-23 13:26:10 +00:00
Pierre Joye b7747cf30c - c/p error 2009-04-23 08:46:37 +00:00
Brian Shire 9e8a9e8bf1 MFH: fix DVAL_TO_LVAL conversion for static array indexes, related to bug #46701 2009-04-22 21:27:19 +00:00
Pierre Joye 30505d1339 - make it loud when libxml is missing or the dep is not present 2009-04-22 19:06:47 +00:00
Ilia Alshanetsky c5c9f30d36 Removed unused vars 2009-04-22 12:35:22 +00:00
Hannes Magnusson ac231aab45 MFH: adjust reflection info 2009-04-21 18:08:34 +00:00
Ilia Alshanetsky 4e856c44d0 Adjusted prototype 2009-04-21 12:26:19 +00:00
Dmitry Stogov 197a950b49 Fixed bug #48004 (Error handler prevents creation of default object) 2009-04-21 09:40:13 +00:00
andy wharmby 04250059a8 Fix test 2009-04-21 08:53:25 +00:00
Dmitry Stogov fb3c73daef Fixed bug #48004 (Error handler prevents creation of default object) 2009-04-21 08:12:07 +00:00
Kalle Sommer Nielsen 788766bfa5 Added missing note about gethostname() (Re: #47839) 2009-04-21 04:35:01 +00:00
Jani Taskinen 33bec1ecb2 - Sync with HEAD (just reorder to match HEAD order) 2009-04-20 16:07:59 +00:00
Jani Taskinen 353b8844bf ws 2009-04-20 15:39:48 +00:00
Jani Taskinen 8393525511 MFH:- Added path sanity check (autotools + libtool do not cope with whitespace..) 2009-04-20 15:03:21 +00:00
Etienne Kneuss 3b90499884 MFH: Fix #48023 (spl_autoload_register didn't store closures) 2009-04-20 14:20:20 +00:00
Ilia Alshanetsky aea9dfb353 Fixed typo 2009-04-20 14:08:43 +00:00
Mikko Koppanen 8e0a3c21a3 MFH: Closes #47991 SSL streams fail if error stack contains items 2009-04-20 09:44:29 +00:00
Johannes Schlüter 501ecb10f4 Fix #47535 Compilation failure in ps_fetch_from_1_to_8_bytes() 2009-04-20 09:16:51 +00:00
Pierre Joye c7e0d95deb - silent compiler warning 2009-04-20 08:41:39 +00:00
Pierre Joye 70c96f788d - nuke unused variable 2009-04-20 08:40:39 +00:00
Pierre Joye be093af4fa - silent compiler warning 2009-04-20 08:28:44 +00:00
Arnaud Le Blanc 555208c581 MFH: Fix test 2009-04-19 22:01:46 +00:00
Arnaud Le Blanc 8ea9eb8560 MFH: Better fix for #47997 2009-04-19 17:10:35 +00:00
Ilia Alshanetsky bd7f4375a3 Fixed bug #47937 (system() calls sapi_flush() regardless of output
buffering)
2009-04-19 14:59:52 +00:00
Arnaud Le Blanc ed791d55ad BFN moved to 5.2 2009-04-19 14:44:43 +00:00
Arnaud Le Blanc 790d160b6f new test 2009-04-19 13:56:08 +00:00
Arnaud Le Blanc 14c717f449 Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams) 2009-04-19 13:46:47 +00:00
Felipe Pena 0c6cf02985 - MFH: Fix build 2009-04-18 18:56:11 +00:00
Ilia Alshanetsky 7fef2270b0 Fixed compiler warning 2009-04-16 22:14:28 +00:00
Hannes Magnusson 0829cb89ee MFH: Fixed bug#47981 (error handler not called regardless) 2009-04-16 13:48:01 +00:00
Hannes Magnusson 65640d2c1a MFH: Make it possible to run on 5.2 2009-04-16 13:41:25 +00:00
Zoe Slattery 11d43ac5d2 fixing incorrect --CLEAN-- sections 2009-04-16 12:28:03 +00:00
Zoe Slattery 25ff381418 fixing incorrect --CLEAN-- sections 2009-04-16 12:14:38 +00:00
Zoe Slattery c80613cce2 fixing incorrect --CLEAN-- sections 2009-04-16 10:54:45 +00:00
Dmitry Stogov 679c6298e3 - Added "dechunk" filter which can decode HTTP responces with chunked transfer-encoding. HTTP streams use this filter automatically in case "Transfer-Encoding: chunked" header presents in responce. It's possible to disable this behaviour using "http"=>array("auto_decode"=>0) in stream context
- Fixed bug #47021 (SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked")
2009-04-16 10:16:27 +00:00
Sebastian Bergmann 472e8ca337 Fugbix typo. 2009-04-16 06:47:36 +00:00
Pierre Joye ebc2912872 - #47978, typo in ext/sockets/sockets.c 2009-04-16 05:33:13 +00:00
Moriyoshi Koizumi ff16122cce - MFH: just a paranoiac test. This works perfectly. 2009-04-16 02:07:20 +00:00
Antony Dovgal a31e30fafb fix parse error 2009-04-15 20:56:58 +00:00
Antony Dovgal af4b7aca6e fix test 2009-04-15 20:54:52 +00:00
Ilia Alshanetsky 28db7c0207 Fixed bug #47969 (ezmlm_hash() returns different values depend on OS) 2009-04-15 14:24:38 +00:00
Ilia Alshanetsky dd5189e9bd Sqlite news 2009-04-14 15:48:37 +00:00
Antony Dovgal 2627e08886 MFH: revert wrong fix for bug #47930 2009-04-14 14:18:35 +00:00
Stanislav Malyshev d62333c7d6 fix #47930 2009-04-13 19:21:28 +00:00
Ilia Alshanetsky 175a85dd6c Upgrade to SQLite 3.6.13 2009-04-13 15:14:55 +00:00
Derick Rethans 12ecab1c3b - Updated to version 2009.6 (2009f) 2009-04-13 13:41:15 +00:00
Ilia Alshanetsky c593790b62 Fixed bug #47946 (ImageConvolution overwrites background)
# original patch by  jcolby at acsol dot net
2009-04-12 14:43:21 +00:00
Nuno Lopes 90a2d19794 upgrade PCRE to version 7.9 2009-04-11 18:57:27 +00:00
Mikko Koppanen ff62b87cd6 Added news entry about the 'n' flag 2009-04-11 12:46:31 +00:00
Mikko Koppanen 3fd12260aa MFH: Added support for passing O_NONBLOCK to the underlying open() system call 2009-04-11 11:44:15 +00:00
Philip Olson e97786558b MFH: Removed an unnecessary item, that calls for doc builds 2009-04-11 03:42:02 +00:00
Stanislav Malyshev 5b8a5d7df4 merge grapheme substr fix 2009-04-10 16:53:35 +00:00
Nuno Lopes 70449f2e13 BFN 47552 2009-04-10 15:50:15 +00:00
Nuno Lopes ae57857eba fix bug #47662: support more than 127 named subpatterns 2009-04-10 15:47:15 +00:00
Philip Olson c1ccccc658 Implemented new shorter URLs for ini settings (ex: php.net/short-open-tag) 2009-04-10 01:18:49 +00:00
Philip Olson 9d2c39ac41 Fixed typo 2009-04-10 00:10:31 +00:00
Rasmus Lerdorf 11a8e2e82e Fix the test case 2009-04-09 16:04:45 +00:00
Rasmus Lerdorf cefbe2a8eb Don't strip a leading 0 in a floating point number 2009-04-09 15:55:46 +00:00
Ilia Alshanetsky 0e59140380 MFB: Added test for php_sapi_name() 2009-04-09 13:29:01 +00:00
Hannes Magnusson e2576c3504 MFH: Inglés gramática 2009-04-09 10:20:02 +00:00
Hannes Magnusson 6cda8a274a MFH: Fixed bug#47427 (-s outputs, not displays) 2009-04-09 10:07:56 +00:00
Stanislav Malyshev e27be1e76c add utility macro 2009-04-08 23:06:16 +00:00
Rasmus Lerdorf 70c7e179de Fixed bug #44929 - Better handling of leading zeros 2009-04-08 18:10:46 +00:00
Sebastian Bergmann 03b1d4f876 MFH: Rename reflection*.phpt to Reflection*.phpt for consistency. 2009-04-08 16:09:16 +00:00
Ilia Alshanetsky f8fc61244b Maintainer file update 2009-04-08 13:31:54 +00:00
Matt Wilmas 12805abff7 MFH: Changed spelling from "build" to "built" 2009-04-08 13:26:35 +00:00
Dmitry Stogov ae2226133a Improved specialization (IS_CONST can't be IS_OBJECT) 2009-04-08 13:19:34 +00:00
Dmitry Stogov c8e5bc5988 Calculate hash value once 2009-04-08 13:17:58 +00:00
Dmitry Stogov 0b6065e89a Removed deprecated code and fixed function name in error message 2009-04-08 13:17:09 +00:00
Dmitry Stogov 7a1cca3f08 Added ability to check build_id by extension 2009-04-08 12:19:01 +00:00
Hannes Magnusson 42b3bf903c MFH: Add guidelines for re-releasing 2009-04-08 08:39:10 +00:00
Felipe Pena 9472026f12 - Added test 2009-04-08 00:28:39 +00:00
Felipe Pena 844ae2f336 - MFH: Fix ZTS build 2009-04-08 00:15:48 +00:00
Felipe Pena b33f88607a - MFH: Fixed bug #46108 (DateTime - Memory leak when unserializing) 2009-04-07 20:05:50 +00:00
Arnaud Le Blanc 95b308949c MFH: Fixed bug #47893 (CLI aborts on non blocking stdout) 2009-04-07 16:11:19 +00:00
Rob Richards f0b4c7be5c MFH: fix bug #47849 (Non-deep import loses the namespace)
add test
2009-04-07 15:32:12 +00:00
Pierre Joye 24225b88bd - silent warning or possible linker error on win 2009-04-07 13:01:27 +00:00
Pierre Joye 8cd0428d09 - ws 2009-04-07 12:45:26 +00:00
Kalle Sommer Nielsen d2c489e350 Revert previous commit as it was causing alot more trouble than expected 2009-04-07 11:45:13 +00:00
Pierre Joye 039a154633 - #47812, undefined symbol: gdJpegGetVersionInt
- #46015, Build fails with system gd
- enable gd_compat when built using system's gd
2009-04-07 09:26:22 +00:00
Pierre Joye 2350110e55 - initial import, support for external gd library while keeping bug fixes or features (more will be activated later) 2009-04-07 09:24:34 +00:00
Ilia Alshanetsky 309533842f MFB: ext/pgsql/tests/80_bug14383.phpt 2009-04-06 14:23:07 +00:00
Derick Rethans 53cead8268 - Updated to version 2009.5 (2009e) 2009-04-06 13:27:41 +00:00
Hannes Magnusson d800809da4 This is apparently fixed 2009-04-06 13:16:05 +00:00
Hannes Magnusson e9c1d924b8 MFH: Add test for bug#42596 2009-04-06 12:12:37 +00:00
Hannes Magnusson b8bc0f24b3 MFH: Fix segfault on invalid session.save_path 2009-04-06 11:48:49 +00:00
Hannes Magnusson 33aa4ac568 MFH: fix folding 2009-04-06 11:45:25 +00:00
Dmitry Stogov 82b86c1c38 Bug #47880 (crashes in call_user_func_array()) 2009-04-06 11:10:32 +00:00
Pierre Joye 63169ea0b2 - naming & cleanup 2009-04-06 09:39:02 +00:00
Hannes Magnusson 33e01788ef MFH: Use obscure name 2009-04-06 09:31:52 +00:00
Kalle Sommer Nielsen 49e4959a6d MFH: Fix redef warnings
Kill warning about php_localtime_r not being defined
2009-04-06 09:14:54 +00:00
Hannes Magnusson d038c5f0db MFH: Mention which directives are hardcoded using the CLI SAPI 2009-04-06 08:37:33 +00:00
Sebastian Bergmann 03e48b1535 MFH: Fix issue reported by Roman Borschel. 2009-04-04 14:36:23 +00:00
Pierre Joye 99152e8f58 - nuke unused var 2009-04-04 11:37:48 +00:00
Felipe Pena 405e507c16 - Added new Reflection methods 2009-04-03 23:56:26 +00:00
Dmitry Stogov 0f5c395ba1 Improved GC speed and reduced stack usage 2009-04-03 18:52:21 +00:00
Felipe Pena 3c95982c89 - MFH: Changed namespace separator 2009-04-03 14:37:02 +00:00
Ilia Alshanetsky c1effd8c7a Block unused function 2009-04-02 21:30:09 +00:00
Matteo Beccati 90fb825ad4 MFH:
- Fixed bug #44173 (PDO->query() parameter parsing/checking needs an
  update)
# The changeset is longer than really needed because pdo_stmt.c was
# refactored to remove the "goto"
2009-04-02 16:41:23 +00:00
Felipe Pena c23f8f1134 - MFH: Fixed bug #47818 (Segfault due to bound callback param) 2009-04-02 15:52:57 +00:00
Dmitry Stogov 875a27b7ed Fixed bug #47851 (is_callable throws fatal error) 2009-04-02 09:56:33 +00:00
Matt Wilmas f18b366ec8 MFH: Fixed tests, reverted changes from bug #47546 2009-04-02 09:42:26 +00:00
Scott MacVicar f6dceb637b Rebuild credits, was missed in previous RC 2009-04-02 09:18:00 +00:00
Kalle Sommer Nielsen 76fc7f3845 MFH:
We dont need to escape % here, it just generates a compiler warning
2009-04-02 05:17:36 +00:00
Matt Wilmas c27bf17f63 MFH: explode() stuff:
- Fixed bug #47560 (explode()'s limit parameter odd behaviour) by reverting change for bug #47546
- Changed int to long where needed (should fix memory errors from overflow seen in bug #47854)
- Simplified logic a bit with limit and its default value
- php_explode_negative_limit(): removed safe_emalloc (not needed; plain erealloc is used later)
 - Moved declarations/allocation to optimize if the delimiter isn't found
 - Changed ALLOC_STEP size for less realloc's (and maybe better memory block alignment?)
2009-04-01 17:05:36 +00:00
Felipe Pena dc683c85f4 - MFH: Fixed bug #47852 (Compilation failure in zend_alloc.c) (Matteo) 2009-04-01 16:55:47 +00:00
Pierre Joye 2c243e2bb5 - MFH: 8.3.x supports pqprepare 2009-04-01 16:16:49 +00:00
Pierre Joye ebfdd61503 - fix build when pqprepare does not exist 2009-04-01 16:13:33 +00:00
Takeshi Abe 335ba19297 MFH:
replaced static gdPngJmpbufStruct, which is afraid of being shared with
several threads, by a couple of auto variables.
2009-04-01 16:06:56 +00:00
Alexey Zakhlestin 114e354048 MFH: reverted previous patch, using explicit cast instead 2009-04-01 14:35:24 +00:00
Ilia Alshanetsky e1cb53f5ec Fixed bug #47856 (stristr() converts needle to lower-case). 2009-04-01 14:00:38 +00:00
Alexey Zakhlestin 4bccb4565d MFH: const pointer was used in non-const context 2009-04-01 11:32:14 +00:00
Kalle Sommer Nielsen e45c0bb900 MFH:
Fixed a few warnings from copy():
* If $item is empty then skip to next entry, this fixes the "The first argument cannot be a directory" warnings
* If file does not exist then dont try to copy it
2009-04-01 09:21:31 +00:00
Pierre Joye 03243d7e17 - silent warning 2009-03-31 18:05:36 +00:00
Pierre Joye a35ba55065 - remove last test for MAX_INT, did not work on x64 and this case is
covered by bug47745.phpt
2009-03-31 17:59:19 +00:00
Scott MacVicar 4a40de7e79 BFN 2009-03-31 14:26:19 +00:00
Scott MacVicar aeddac4a1a MFH Update libsqlite to 3.6.12 2009-03-31 14:20:08 +00:00
Matt Wilmas f75fff5ea7 - MFH: Removed unused LONG_SIGN_MASK definition, and a stray \
- Changed sign flag to int (it's no longer being used in a calculation)
2009-03-31 11:22:08 +00:00
Dmitry Stogov 5e274297f8 Fixed bug #47745 (FILTER_VALIDATE_INT doesn't allow minimum integer) 2009-03-31 10:02:40 +00:00
Ilia Alshanetsky 83ec1b1668 Changed order by Wez's request 2009-03-30 19:49:04 +00:00
Pierre Joye 012cd06023 - MFB: better test case, it crashes on more architecture 2009-03-30 18:06:50 +00:00
Felipe Pena dcd86aebd2 - MFH: Removed UG(unicode) checks 2009-03-30 16:52:33 +00:00
Kalle Sommer Nielsen 02fe66d1e0 MFH:
* Bypass the date/timezone warning by forcing UTC when running mkdist.php
* Don't run the copy list for PECL if theres no PECL extensions to copy (fixes a few copy() warnings)
2009-03-30 14:32:52 +00:00
Kalle Sommer Nielsen f4d5a55a90 Nuke unused variable (only in this branch) 2009-03-30 14:25:54 +00:00
Kalle Sommer Nielsen ec3649530f MFH: Fixed compiler warning 2009-03-30 14:24:16 +00:00
Johannes Schlüter 714e407667 Reorder NEWS entries 2009-03-30 13:57:01 +00:00
Johannes Schlüter bcb40030a5 MFH Fix #47819 (Getting pdo_mysql.so: undefined symbol: mysqlnd_debug_init at
startup)
2009-03-30 13:55:47 +00:00
andy wharmby 76b30f6434 Fix date tests which started failing after change to BST 2009-03-30 12:35:31 +00:00
Scott MacVicar 0570455374 MFH Add test for bug #47828 2009-03-30 09:17:57 +00:00
Scott MacVicar 5df74915f7 MFH Fix test, -2147483648 is a valid unsigned int where -2147483649 isn't. 2009-03-30 00:41:09 +00:00
Scott MacVicar 04566e106a MFH Fix bug #47828 - Converting to UTF-8 can sometimes fail, check error codes and avoid segfault. 2009-03-29 23:32:34 +00:00
Scott MacVicar b64b74fe9f MFH Fix bug #47826 - Building with system sqlite3 can miss a symbol. 2009-03-29 21:34:13 +00:00
Matteo Beccati 638af1ec91 MFH:
- Fixed pcntl test for platforms not accepting a very large timeout in sigtimedwait()
# It isn't really necessary for the child to wait for PHP_INT_MAX seconds
2009-03-29 16:43:47 +00:00
Pierre Joye 1fcabf75fe - check in the libpng dir as well 2009-03-29 14:01:56 +00:00
Matteo Beccati da141679cb MFH:
- Fixed bug #47816 (pcntl tests failing on NetBSD)
# Tests will still fail until a few kernel bugs are fixed
2009-03-28 03:21:04 +00:00
Matteo Beccati 8974174532 MFH:
- Reverting: pcntl_signal() returning NULL when passing wrong parameters
2009-03-28 03:12:52 +00:00
Matteo Beccati 6c6c8febf1 - Fixed bug #44861 (scrollable cursor don't work with pgsql) 2009-03-28 02:58:04 +00:00
Matteo Beccati fb2a077d5b MFH:
- Added missing #undefs, fixing compile warnings
2009-03-28 01:58:49 +00:00
Matteo Beccati 724ae4b95e MFH:
- Fixed pcntl_signal() returning NULL when passing wrong parameters
2009-03-28 01:32:51 +00:00
Arnaud Le Blanc 155564d727 Fix UPGRADING and NEWS for ticks undeprecation 2009-03-28 01:29:14 +00:00
Hannes Magnusson 12bd41c60a MFH: Fix protos 2009-03-27 19:22:29 +00:00
Felipe Pena ca4970fd8a - Merged into 5_2 2009-03-27 16:51:35 +00:00
Arnaud Le Blanc 513837539b MFH: fix skip-if 2009-03-27 02:35:37 +00:00
Arnaud Le Blanc 843202cd5c MFH: Fixed initialization of tick functions list in ZTS 2009-03-27 02:34:06 +00:00
Arnaud Le Blanc 13061cf0a0 Removed deprecation warning for ticks 2009-03-27 02:32:57 +00:00
Pierre Joye 3526fe5dad - update extension= 2009-03-26 18:45:37 +00:00
Dmitry Stogov f2b7adffb5 Fixed bug #47596 (Bus error on parsing file) 2009-03-26 17:28:49 +00:00
Felipe Pena d2ca66893e - Fix typo 2009-03-26 13:55:06 +00:00
Felipe Pena d7c4a27376 MFH: - Fixed bug #47769 (Strange extends PDO) 2009-03-26 12:53:39 +00:00
Dmitry Stogov 7ef3db0e4e Fixed bug #47516 (nowdoc can not be embed in heredoc but can be embed in double quote) 2009-03-26 12:37:54 +00:00
Dmitry Stogov da9405de72 Fixed bug #47714 (autoloading classes inside exception_handler leads to crashes) 2009-03-26 10:56:45 +00:00
Dmitry Stogov ab7f6d88e0 Fixed bug #47771 (Exception during object construction from arg call calls object's destructor) 2009-03-26 10:17:30 +00:00
Eric Stewart 0b41f612ac Corrected missing comment. 2009-03-26 01:38:53 +00:00
Felipe Pena 6f7cc9a390 - Missing changes related to #47757 for this branch 2009-03-26 00:43:45 +00:00
Christian Seiler 3470a30125 - Fixed memory leak in ob_get_clean/ob_get_flush.
# Not necessary in HEAD because output buffering was completely rewritten
# there.
2009-03-25 23:59:45 +00:00
Arnaud Le Blanc 19b88b6163 MFH: Fix build on FreeBSD <7 (fixes #47777) 2009-03-25 23:34:08 +00:00
Felipe Pena fe9ce624f6 MFH:
- Fixed bug #47779 (Wrong value for SIG_UNBLOCK and SIG_SETMASK constants).
  Patch by: mbeccati at php.net
2009-03-25 22:52:30 +00:00
Hannes Magnusson 2881a60e31 Add missing proto 2009-03-25 19:55:59 +00:00
Ilia Alshanetsky d348b2723c Fixed bug #47772 (FILTER_VALIDATE_EMAIL allows foo@bar. addresses) 2009-03-25 18:51:44 +00:00
Takeshi Abe 3b5d1e7396 MFH: fix test to follow #47757 2009-03-25 15:25:59 +00:00
Dmitry Stogov bcd9099b28 Fixed bug #47038 (Memory leak in include) 2009-03-25 15:23:58 +00:00
Dmitry Stogov 4a4d739e49 Fixed bug #47699 (autoload and late static binding) 2009-03-25 10:39:26 +00:00
Johannes Schlüter b42f9a7f7d MFH: mysql_db_query() is always deprecated 2009-03-25 10:27:38 +00:00
Christopher Jones 870addb951 Obsolete package2.xml: resume using package.xml 2009-03-25 02:00:53 +00:00
Christopher Jones 1b11bacae4 MFH: use random text 2009-03-25 01:57:40 +00:00
Ilia Alshanetsky f87260b8c2 Updated PDO maintainers 2009-03-24 23:57:30 +00:00
Pierre Joye 1d177508c8 - new php.ini names 2009-03-24 22:15:46 +00:00
Dmitry Stogov 343bcc26ab Fixed double efree() 2009-03-24 16:35:53 +00:00
Dmitry Stogov 4658d9408b Fixed "-0" parsing and optimized overflow check (Matt) 2009-03-24 16:02:50 +00:00
Felipe Pena a3e90c2a63 - Fix test 2009-03-24 15:51:13 +00:00
Pierre Joye bc272fdc68 - GEPJ.. (thx to Derick for the head!) 2009-03-24 12:48:52 +00:00
Pierre Joye d9febb46be - #47757 rename JPG to JPEG in phpinfo 2009-03-24 09:45:39 +00:00
Pierre Joye 043ae0e0ee - fix logic after my build fix, thx to Hannes for the head up! 2009-03-24 09:44:16 +00:00
Pierre Joye 868d7d8144 - #47757 rename JPG to JPEG in phpinfo 2009-03-24 09:41:42 +00:00
Pierre Joye c68e24ce1a - fix build 2009-03-24 09:24:35 +00:00
Scott MacVicar d2dca3a3ec BFN 2009-03-24 02:00:34 +00:00
Scott MacVicar da0eb9b8e8 Fix bug #42362 - certain status codes never have output, so sending the gzip compression headers cause problems 2009-03-24 01:57:53 +00:00
Felipe Pena 861d51223f MFH:
- Fixed bug #44409 (PDO::FETCH_SERIALIZE calls __construct())
  Patch by: matteo at beccati dot com
2009-03-23 23:15:03 +00:00
Uwe Schindler 0935ae193c MFH: Fix a sigsegv on server shutdown, add missing sapi_shutdown(). 2009-03-23 23:13:14 +00:00
Ilia Alshanetsky 79c44de0ca Improved parameter handling 2009-03-23 22:30:56 +00:00
Derick Rethans 7560b2ec2f - Updated to version 2009.4 (2009d) 2009-03-23 21:39:45 +00:00
Johannes Schlüter 5afff17958 Back to dev 2009-03-23 20:40:37 +00:00
Johannes Schlüter 3c038201eb 5.3.0 RC 1 2009-03-23 20:33:21 +00:00
Eric Stewart e0669bf1ab 1. Involves an mbstring setting correction regarding:
http://marc.info/?l=php-cvs&m=123596904426621&w=2

2. Added mbstring.http_output_conv_mimetype directive.

3. Adds an additional comment including XOR in the list of usable bitwise operators.

4. Note regarding the merge of E_STRICT into E_ALL in PHP 6.0.0.

5. Notes regarding [PATH] and [HOST] use in CGI/FastCGI.
2009-03-23 02:36:34 +00:00
Ilia Alshanetsky 03a27e3373 Improved parameter parsing 2009-03-22 15:05:20 +00:00
Derick Rethans caf9054e3d - Updated to version 2009.3 (2009c) 2009-03-22 11:49:55 +00:00
Pierre Joye afc5630357 - disable it when ZTS is disabled 2009-03-20 18:49:37 +00:00
Pierre Joye 689c2f9ab2 - fix build, add new cp850 file 2009-03-20 18:42:02 +00:00
Zoe Slattery 77aa29358b clarification of wwwhether 'make test' needs the PHP xecutable to be set 2009-03-20 15:43:40 +00:00
Dmitry Stogov 8f14aed31b Fixed warning 2009-03-20 11:23:00 +00:00
Zoe Slattery c71cc4eda8 added skip if for root 2009-03-20 08:58:09 +00:00
Ilia Alshanetsky c5649092e2 MFB: Fixed bug #47721 (Aligment issues in mbstring and sysvshm extension) 2009-03-19 23:11:32 +00:00
Steph Fox 01a58c323d - Add self to maintainer list so's I can get bug notifications :) 2009-03-19 22:44:55 +00:00
Steph Fox f5a65cabfd MFH
- Fix bug #38805 ( PDO Truncates Text from SQL Server Text Data Type Field)
- Bring behaviour into line with ext/mssql
- Several memleaks plugged
2009-03-19 22:16:29 +00:00
Matt Wilmas 91d325dd72 MFH: Avoid 2 conversions when decoding numbers 2009-03-19 19:26:00 +00:00
Matt Wilmas 021e5d168f MFH: Removed extra space from eval string 2009-03-19 18:34:16 +00:00
Arnaud Le Blanc 2b57d6d6ea MFH: Better fix for #44607. Fixes #47487 (php_stream_fill_read_buffer()
performance degraded after fix of bug 44607).
2009-03-19 17:55:10 +00:00
Dmitry Stogov 9f32cb2d39 Fixed check for long integer overflow 2009-03-19 15:16:10 +00:00
Etienne Kneuss 8623e9db8b MFH: Fix #47231 (offsetGet error using incorrect offset) 2009-03-19 03:01:37 +00:00
Etienne Kneuss c44d7b3576 MFH: Add test covering for #47671 2009-03-19 02:47:00 +00:00
Etienne Kneuss 225d86dcfa MFH: Fix #47671 (cloning SplObjectStorage instances) 2009-03-19 02:45:17 +00:00
Ilia Alshanetsky 61bdfaa082 Improved parameter parsing 2009-03-19 00:18:48 +00:00
andy wharmby a2e4773405 New tests for various date extension functions. Tested on Windows, Linux and linux 64 2009-03-18 23:35:25 +00:00
Dmitry Stogov 3a30cfe1e0 Removed unnecassary checks 2009-03-18 18:49:27 +00:00
Pierre Joye 8235286324 - some cleanup, more to come 2009-03-18 18:40:44 +00:00
Pierre Joye 989b9d7c43 - php.ini-dev/prod 2009-03-18 17:58:09 +00:00
Moriyoshi Koizumi df57de4879 - Use UTF-8 characters as 5.2's NEWS does. 2009-03-18 17:48:18 +00:00
Moriyoshi Koizumi 8ae17615d7 - Add support for CP850 encoding (patch by Denis Giffeler) 2009-03-18 17:44:25 +00:00
Moriyoshi Koizumi 115b041861 - MFH: Synching .dsp file (I am not sure whether I really should do this) 2009-03-18 17:34:27 +00:00
Moriyoshi Koizumi 5f863af8be - Typo. 2009-03-18 17:06:40 +00:00
Moriyoshi Koizumi a9a9e75b0b - Add entries for the encodings that are already supported by mbstring but
not listed here.
2009-03-18 17:03:38 +00:00
Moriyoshi Koizumi f1d24dfcb7 - staticise private symbols. 2009-03-18 16:51:15 +00:00
Matt Wilmas 56ee50ac62 MFH: Fixed test on 64-bit 2009-03-18 16:30:21 +00:00
Takeshi Abe 3e3721be58 MFH: Fixed libgd #186 (Tiling true colour with palette image does not work) 2009-03-18 15:30:37 +00:00
Dmitry Stogov daac1a6273 Improved speed of conditional jump instructions by checking for most useful case (conditional expression) 2009-03-18 14:17:15 +00:00
Dmitry Stogov e66bd02bc6 Inline only the most useful code 2009-03-18 14:15:28 +00:00
Dmitry Stogov ff5620524c Fixed bug #47704 (crashes on some "bad" operations with string offsets)
Removed unnecessary checks
2009-03-18 12:53:17 +00:00
Dmitry Stogov 15de25b228 Forgotten file (sorry) 2009-03-18 11:53:10 +00:00
andy wharmby 0c1fe359a1 New tests for date extension DateTime methods Tested on Windows, Linux and linux 64 2009-03-18 11:32:59 +00:00
Dmitry Stogov 69ce7ea442 optimization 2009-03-18 11:25:37 +00:00
andy wharmby 13db8cb25a New tests for date extension DateTimeZone methods Tested on Windows, Linux and linux 64 2009-03-18 11:13:04 +00:00
Dmitry Stogov c6e55db534 Forgotten include 2009-03-18 10:41:39 +00:00
Dmitry Stogov 31c0af245e Fixed floating point mathematic speed degradation (Christian) 2009-03-18 10:18:10 +00:00
Dmitry Stogov d3b42700a0 Better fix for bug #45877 (smaller and faster) 2009-03-18 09:48:55 +00:00
Pierre Joye 408abe99a7 - to 5.2 2009-03-18 08:16:13 +00:00
Matt Wilmas 6bb0ac9712 MFH: Fixed bug #45877 (Array key '2147483647' left as string) 2009-03-18 01:08:12 +00:00
Pierre Joye 30d058488e - #43073 2009-03-18 00:31:40 +00:00
Pierre Joye d5f2191170 - #43073, TrueType bounding box is wrong for angle<>0 2009-03-18 00:29:42 +00:00
Scott MacVicar a23b4073e8 MFH Missing skip in tests 2009-03-17 23:31:14 +00:00
Scott MacVicar c2b15e947d MFH Replace magic values with a define for json encoding, makes reading it a bit easier 2009-03-17 23:26:02 +00:00
Ilia Alshanetsky 76939503c8 Fixed compiler warning 2009-03-17 23:21:37 +00:00
Scott MacVicar cd9908c69c BFN 2009-03-17 23:17:40 +00:00
Scott MacVicar 8d2a5cabec MFH Add PHP_JSON_FORCE_OBJECT for forcing an object output of an array 2009-03-17 23:15:40 +00:00
Felipe Pena b117752f8b - MFH: Year++ 2009-03-17 23:07:40 +00:00
Matt Wilmas 927880b5cc MFH: Fixed bug #46882 (Serialize / Unserialize misbehaviour under OS with different bit numbers) 2009-03-17 22:04:10 +00:00
Johannes Schlüter c3fcaf1d7d MFH: Replace old php.ini files with the new ones according to
http://wiki.php.net/rfc/newinis (by Eric Lee Stewart)
2009-03-17 19:19:17 +00:00
Pierre Joye bd1e5696d1 - make it less(er) sensible to bison version 2009-03-17 16:02:00 +00:00
Pierre Joye ef5c2c83dc - make it less sensible to bison version 2009-03-17 15:59:24 +00:00
Pierre Joye 79361c4c74 - s,win32,windows, and add myself to the list 2009-03-17 15:37:34 +00:00
Scott MacVicar 3a0c86327f MFH Deal with overflow when decoding large numbers 2009-03-17 14:57:39 +00:00
Pierre Joye dec9e1910c - MFH: disable HAVE__CONTROLFP_S with VC9, 3x times slowdown 2009-03-17 13:34:26 +00:00
Johannes Schlüter 5942f27d86 MFH: mark mysqlnd's threading (which can be used for background pre-fetching)
experimental
2009-03-17 10:05:19 +00:00
Andrey Hristov df7ebb5d41 MFH: Fix the build because the macro name has changed 2009-03-17 09:51:31 +00:00
Moriyoshi Koizumi d8a22d0b05 - MFH: Make iconv filter accept '.' as the delimiter between encoding names as
well as '/'. It's impossible to specify the filter in php://filter without
  this fix.

# I hope this to be merged to 5.2 as well. This doesn't break BC as there is
# no such encoding name that contains '.'. (Andif there were to be such one,
# the filter is failed in the first place since it also uses '.' for the
# delimiter between the filter name and the "from" encoding name.
2009-03-17 05:31:04 +00:00
Scott MacVicar 6f3f68311b BFN 2009-03-17 03:29:27 +00:00
Scott MacVicar bb2283bf4e MFH Fix bug #47359 - Use the official unofficial mimetype for bmp files, this stops IE from getting confused. 2009-03-17 03:25:57 +00:00
Scott MacVicar df199c2e75 BFN 2009-03-17 02:47:29 +00:00
Scott MacVicar bc486b4c7e MFH Fix bug #47678 - Allow loadExtension to be disabled in SQLite3 2009-03-17 02:45:12 +00:00
Scott MacVicar 07e675cc52 MFH Fix bug #47644 - Valid integers are truncated with json_decode() 2009-03-17 02:00:13 +00:00
Christopher Jones 1d5dbea704 Fix INI blocks 2009-03-17 01:52:52 +00:00
Matt Wilmas 7f373057ef Removed unneeded HashPosition variable (php_implode() doesn't change the internal pointer)
- It was added in '06 with the "200-300%" implode() optimization (hasn't been merged to HEAD)
2009-03-17 00:02:39 +00:00
Zoe Slattery 467dbf859a test for /ext/tidy from stefan priebsch 2009-03-16 20:38:19 +00:00
Felipe Pena c7bfd897e6 - MFH: Fixed bug #47616 (curl keeps crashing) 2009-03-16 15:08:56 +00:00
Pierre Joye 8e202b40a0 - fix the build for win (vc6 or vc9)
- fix logic in time convertion
- force shared on windows, will fix the dirent issue later (no, it is not enough to simply remove the dep or header include)
- add myself before I forget again
2009-03-16 15:03:06 +00:00
Dmitry Stogov 122232aa54 Fixed test 2009-03-16 15:00:00 +00:00
Ilia Alshanetsky ea27fd2ba3 Fixed compiler warnings 2009-03-16 12:52:39 +00:00
Mikko Koppanen 5645de756d Closes bug #47667 2009-03-16 10:19:43 +00:00
Pierre Joye 39988315e0 - fix build 2009-03-16 10:13:18 +00:00
Pierre Joye 3612ddde16 - revert last commit (tree was not updated) 2009-03-16 10:08:51 +00:00
Pierre Joye 3091ece096 - fix vc6 build 2009-03-16 09:59:16 +00:00
Dmitry Stogov cc91da1bd7 Fixed bug #47664 (get_class returns NULL instead of FALSE) 2009-03-16 09:51:32 +00:00
Christopher Jones 6e2521f070 MFH Prepare for PECL OCI8 1.3.5 2009-03-16 05:44:49 +00:00
Christopher Jones d14b84719d MFH: Mac OSX customization for initialization error message 2009-03-16 05:34:02 +00:00
Brian Shire dd031eee68 MFH: Fix scanner handling of NULL values in heredoc, nowdoc, strings, comments, and non-parsed content. 2009-03-16 01:40:14 +00:00
Kalle Sommer Nielsen cb1d8ac991 Lets follow the same style, shall we? 2009-03-15 23:41:01 +00:00
Pierre Joye e7c2f0ec50 - refer to fileinfo so the entry can easily be filtered out on 5.3.0 final 2009-03-15 23:18:22 +00:00
Scott MacVicar e10b18693c MFH fileinfo tests are missing skipif 2009-03-15 23:17:28 +00:00
Scott MacVicar 4891732b28 BFN 2009-03-15 23:10:24 +00:00
Scott MacVicar 7a29c8f386 MFH Update fileinfo to libmagic 5.00 and remove dependency on dirent.h on Windows 2009-03-15 23:04:19 +00:00
Moriyoshi Koizumi 716d2c9123 - MFH: Fix a bug that mbstring.internal_encoding doesn't take effect within
the request encoding converter.
2009-03-15 20:42:56 +00:00
Jani Taskinen 49e408c55d - Nuketh old remains 2009-03-15 12:39:17 +00:00
Takeshi Abe 92ce8cfb42 revert the NEWS line for bug #45799 2009-03-14 17:48:33 +00:00
Rob Richards 1220cd5495 NEWS 2009-03-14 17:36:19 +00:00
Rob Richards 1313c86484 MFH: add LIBXML_LOADED_VERSION constant that contains currently loaded libxml2 version
add libxml2 version being used to info output
2009-03-14 17:30:28 +00:00
Takeshi Abe d2709b764c MFH: Fixed bug #45799 (imagepng() crashes on empty image) 2009-03-14 16:08:00 +00:00
Stanislav Malyshev c452af9e6a add new CURL options 2009-03-13 19:39:49 +00:00
Rob Richards 63ccee5b41 MFB: fix bug #47430 (Errors after writing to nodeValue parameter of an absent previousSibling)
add test
2009-03-13 13:43:29 +00:00
Christopher Jones 0934fc996d Add PECL Bug #14268 2009-03-12 23:59:11 +00:00
Christopher Jones 881435625f MFH: Fixed PECL Bug 14268 (Allow 'pecl install oci8' command to 'autodetect' an Instant Client RPM install) & refactor 2009-03-12 23:52:37 +00:00
Ilia Alshanetsky 8610935eac Fixed bug #47639 (pg_copy_from() WARNING: nonstandard use of \\ in a string
literal)
2009-03-12 22:53:16 +00:00
Zoe Slattery 1df58d629a refixing %r in run-tests.php (thanks iain lewis for the fix) 2009-03-12 20:42:46 +00:00
Andrei Zmievski cc34210c32 MFH 2009-03-12 16:13:17 +00:00
Christopher Jones 65029f11e9 MFH: Fix tests to use ENV and re-enable 2009-03-12 14:50:29 +00:00
Brian Shire 9c16bfa194 MFH: Add proper EOF handling for language scanner. Fixes bug #46817. 2009-03-11 22:11:53 +00:00
Christopher Jones c5884d6cb6 Revert local setting changes 2009-03-11 17:11:32 +00:00
Christopher Jones 88f61b00fc Add recent OCI8 fixes 2009-03-11 16:59:23 +00:00
Christopher Jones 1781af46ec MFH: Bug #46994 (CLOB size does not update when using CLOB IN OUT param in stored procedure) 2009-03-11 16:47:14 +00:00
Dmitry Stogov 742d0b6b68 Fixed speed degradation on gcc-4.3 because of less agressive inlining 2009-03-11 12:14:34 +00:00
Marcus Boerger a29dae31c9 - MFH It's 2009 2009-03-11 00:02:52 +00:00
Marcus Boerger 3baf61b513 - MFH Safer flag handling as requested by Greg 2009-03-10 23:28:17 +00:00
Dmitry Stogov e2c3c7aa44 Clenaup deprecated namespace code 2009-03-10 10:01:44 +00:00
Christopher Jones 5dc46cc345 MFH: New test for oci_fetch_all 2009-03-09 21:20:02 +00:00
Christopher Jones 10ff16d21b MFH: Make non-public prototype match the type passed at call 2009-03-09 20:58:51 +00:00
Christopher Jones f346405330 MFH: Use PHP 5 function name in error message 2009-03-09 20:20:07 +00:00
Christopher Jones bce3f3afe8 MFH: Bug #47243 (Crash at shutdown on Windows) 2009-03-09 20:09:07 +00:00
Christopher Jones af4a8e7879 Make tests portable with older PHP for PECL builds 2009-03-09 19:55:30 +00:00
Christopher Jones 47ee83d12a MFH: PECL Bug #16035 (oci_connect without ORACLE_HOME defined causes segfault) 2009-03-09 19:01:16 +00:00
Christopher Jones 8b8dd708d0 MFH: PECL Bug #15988 (sqlnet.ora isn't read with older Oracle libraries) 2009-03-09 18:04:26 +00:00
Pierre Joye cb95e1e709 - add path for libpq (other are kept) 2009-03-09 17:52:51 +00:00
Christopher Jones 143e127d8b MFH: Prepare for future PECL OCI8 1.3.5 2009-03-09 17:51:04 +00:00
Christopher Jones f500b15658 MFH: Silence initialization warning 2009-03-09 17:48:54 +00:00
Christopher Jones 8ae20045c7 MFH: Bug #46623 (phpinfo doesn't show compile time ORACLE_HOME with phpize) 2009-03-09 17:42:22 +00:00
Ilia Alshanetsky 3896684ca0 Fixed bug #47598 (FILTER_VALIDATE_EMAIL is locale aware) 2009-03-08 18:21:15 +00:00
Felipe Pena 1c3b44b320 - MFH: Fixed bug #47593 (interface_exists() returns false when using absolute namespace path)
patch by Kalle
- BFN #47572
2009-03-08 17:28:39 +00:00
Kalle Sommer Nielsen 9d4718e098 MFH: Fix tests 2009-03-08 06:20:00 +00:00
Kalle Sommer Nielsen e061b79fe0 MFH: Fixed bug #47543 (irrelevant warning message) 2009-03-08 06:12:08 +00:00
Ilia Alshanetsky 5e09a71769 Adjust previous fix to avoid compiler warnings 2009-03-07 22:36:35 +00:00
Ilia Alshanetsky 9d3030d5f3 Improved parameter handling 2009-03-07 21:56:43 +00:00
Ilia Alshanetsky 483d9636e9 Improve parameter parsing code 2009-03-06 15:48:30 +00:00
Felipe Pena 2bc612bc0c - Fixed typo 2009-03-05 16:49:47 +00:00
Felipe Pena c43b935b65 - MFH: Fixed bug #47572 (zval_update_constant_ex: Segmentation fault) 2009-03-05 16:25:43 +00:00
Zoe Slattery 456d5e9381 fixed test 2009-03-04 10:23:01 +00:00
Ilia Alshanetsky 0f1d4eb376 BFN 2009-03-03 23:43:29 +00:00
Ilia Alshanetsky e66b91c063 Fixed bug #47549 (get_defined_constants() return array with broken
array categories)
2009-03-03 23:42:51 +00:00
Kalle Sommer Nielsen 627caefc4d MFH: Fixed bug #47546 (Default value for limit parameter in explode is 0, not -1) 2009-03-03 11:47:31 +00:00
Zoe Slattery 2c7d95c5a6 Added %r section 2009-03-03 10:53:44 +00:00
Zoe Slattery 7834afebde removing UEXPECT 2009-03-03 09:59:36 +00:00
Ilia Alshanetsky 059772e7fb Fixed typo 2009-03-03 01:42:21 +00:00
Moriyoshi Koizumi b7890a81c6 MFH: Fix typo 2009-03-02 04:44:15 +00:00
Brian Shire 2a6006c4e6 MFH: fix tokenizer makefile dependencies on parser/scanner files when built dynamically. (See bug #38762) 2009-03-02 03:54:04 +00:00
Antony Dovgal 62e2021305 fix tests 2009-03-01 21:26:54 +00:00
Greg Beaver 4d92c7bffc revert removal of openssl check, was confusion on my part 2009-03-01 07:20:26 +00:00
Greg Beaver 26ce51d6f1 add safeguard check for timestamp modification to phar_stub.phpt and phar_gzip.phpt 2009-03-01 07:16:46 +00:00
Greg Beaver 1ff3b85d74 fix hash support on windows in ext/phar (Kalle) 2009-03-01 07:07:05 +00:00
Greg Beaver a51f628bd1 fix blog.phar for front.phar.phpt test 2009-03-01 07:00:13 +00:00
Greg Beaver a6298331b5 update NEWS with phar enabling, fix swapping of time/date in timestamp saving for zip, which can cause crash on windows 2009-03-01 06:58:01 +00:00
Greg Beaver 79f5f7538c fix SKIPIF, EXPECT in 2 tests 2009-03-01 06:50:26 +00:00
George Wang 22badf88b0 make STDOUT function as STDERR, in case any module call print() 2009-02-27 23:33:01 +00:00
Ilia Alshanetsky 4b8064c927 Adjust previous fix 2009-02-24 23:55:14 +00:00
Moriyoshi Koizumi 823679162d - MFH: strictly check UTF-8 and UTF-32 validity 2009-02-24 13:19:09 +00:00
Kalle Sommer Nielsen 1783db8209 Fixed #37209 (mssql_execute with non fatal errors) 2009-02-23 21:21:02 +00:00
Ilia Alshanetsky 0f3831a2f1 Fixed bug #47435 (FILTER_FLAG_NO_PRIV_RANGE does not work with ipv6
addresses in the filter extension)
2009-02-23 16:52:29 +00:00
Ilia Alshanetsky e85ec7c864 Fixed bug #47477 (php_curl_stream_read() unnecessarily sleeps 15 secs under
heavy load)

# Patch by giuseppe bonacci
2009-02-23 15:58:19 +00:00
Ilia Alshanetsky 551a2d52e2 Fixed 2 memory corruptions in zip extension idenfied by oo_properties.phpt
test
2009-02-22 17:54:50 +00:00
Greg Beaver af84168de6 fix faulty logic in tests, needed to use ksort instead of asort and to sort output. These tests failed on some systems with non-case sensitive filesystem sorting 2009-02-21 03:15:47 +00:00
Greg Beaver bd74089a4e cosmetics: remove two unreachable return statements, removes warning in sun cc 2009-02-21 02:37:18 +00:00
Greg Beaver 7707318d61 cosmetics: fix warning (only affects suncc) 2009-02-21 02:32:16 +00:00
Felipe Pena a518082fb0 - Fix test 2009-02-20 13:39:14 +00:00
Andrey Hristov 8f102c1697 MFH: Add charsets from MySQL 6.0 as a structure to be used later 2009-02-20 13:25:12 +00:00
Greg Beaver 2344d80015 fix zip access to work in all compilers, present and future, and on all arches without potential for bus errors. This removes PHAR_ZIP_PACK in favor of a safer approach 2009-02-20 05:06:37 +00:00
Antony Dovgal a59180232e fix test 2009-02-19 12:13:50 +00:00
Felipe Pena 92775cd150 - New test 2009-02-18 22:53:56 +00:00
Felipe Pena b378620e95 BFN 2009-02-18 22:35:32 +00:00
Felipe Pena cadaace16c - MFH: Fixed bug #47443 (metaphone('scratch') returns wrong result) 2009-02-18 22:34:06 +00:00
Ilia Alshanetsky bdb3d4320e Removed unused var 2009-02-18 20:07:40 +00:00
Johannes Schlüter b489d3a69f MFH: Fix #47438 mysql_fetch_field ignores zero offse 2009-02-18 16:34:47 +00:00
Dmitry Stogov 42bb8ed2b5 Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault) 2009-02-18 13:25:48 +00:00
Scott MacVicar fedc5a3065 BFN 2009-02-18 12:55:34 +00:00
Scott MacVicar 61f2e99ea7 MFH: Update bundled SQLite to 3.6.11 2009-02-18 12:39:43 +00:00
Dmitry Stogov db63e29ab3 Fixed bug #47343 (gc_collect_cycles causes a segfault when called within a destructor in one case) 2009-02-18 12:02:53 +00:00
Dmitry Stogov d3d02fbc83 Fixed zend_print_zval_r_ex() to use the write callback function 2009-02-18 10:55:08 +00:00
Zoe Slattery d980c018d4 fix test 2009-02-17 20:23:45 +00:00
Moriyoshi Koizumi c7cebbf75f - MFH: Add an entry for http_output_conv_mimetypes to the output of
mb_get_info(). (patch by T. Komura, thanks!)
2009-02-17 16:29:59 +00:00
Zoe Slattery 1f4f3e269a Increased the sleep() from 1 to 5 to prevent intermittent failures 2009-02-17 15:16:45 +00:00
Matt Wilmas 645e15c2ea MFH: Overflow comment 2009-02-17 15:15:18 +00:00
Johannes Schlüter 1d30518d99 Wrap wrong lines 2009-02-17 14:55:58 +00:00
Johannes Schlüter 162aed0aed MFH: Fix #46542 Extending PDO class with a __call() function doesn't work
as expected
2009-02-17 14:42:26 +00:00
Matt Wilmas a7eb83fef5 MFH: Fixed bug #47422 (modulus operator returns incorrect results on 64 bit linux) 2009-02-17 14:15:52 +00:00
Felipe Pena 2513cde86e - MFH: Fix proto
[DOC] proto: $result_array is a reference
2009-02-17 12:38:21 +00:00
Felipe Pena 4402b82cba - MFH: Fixed bug #47390 (odbc_fetch_into - BC in php 5.3.0) 2009-02-17 12:03:55 +00:00
Johannes Schlüter 946549c8bb Fixed in 5.2 2009-02-17 10:41:09 +00:00
Zoe Slattery 6d87ab650f bug 46680 2009-02-17 10:36:12 +00:00
Antony Dovgal 8ac1ea9b5e remove XFAIL 2009-02-17 10:08:25 +00:00
Zoe Slattery f2fc027427 fix tests 2009-02-16 20:03:47 +00:00
Felipe Pena b66f9c0a87 - Missing "DROP TABLE" 2009-02-16 19:48:56 +00:00
Greg Beaver c351b71f2b fix memleaks on zip corruption 2009-02-16 18:55:06 +00:00
Johannes Schlüter ebef020ecc - MFH: Improve mysqlnd's internal method registration 2009-02-16 17:26:43 +00:00
Greg Beaver 874d14b36f re-enable ext/phar on big-endian systems, fixes verified as workign 2009-02-16 16:41:40 +00:00
Ilia Alshanetsky a15140c3bb Moved from 5.2 news 2009-02-16 16:07:47 +00:00
Zoe Slattery 237d0378e7 exit -1 and exit -2 don't work for all sh. changed to exit 1 2009-02-16 13:16:50 +00:00
Moriyoshi Koizumi 06d949ac11 - Test. 2009-02-16 02:10:45 +00:00
Moriyoshi Koizumi d8c6fecca3 - MFH: Fix bug #47399 (mb_check_encoding() return true for some illegal SJIS
charcters)
2009-02-16 01:57:37 +00:00
Felipe Pena 20e94a4b5c - Fixed bug #47398 (PDO_Firebird doesn't implements quoter correctly) 2009-02-15 21:51:00 +00:00
Antony Dovgal 7a4b9d26d7 fix tests 2009-02-15 21:46:01 +00:00
Greg Beaver 5c6a25e750 fix the last remaining failing test (explicitly pass in SKIP_DOTS to directory iterator) 2009-02-15 21:43:39 +00:00
Greg Beaver 625eb9e0ec fix remaining big-endian issues with phar 2009-02-15 20:29:13 +00:00
Greg Beaver 9221abd00e fix getting/setting of all 16/32 values in zip 2009-02-15 19:22:42 +00:00
Greg Beaver e8b7091c2c revert accidental commit of config.m4, big-endian isn't ready quite yet 2009-02-15 18:53:22 +00:00
Greg Beaver d3cea8b054 fix setting of 32-bit value on big-endian systems 2009-02-15 18:51:46 +00:00
Felipe Pena 0502920928 - Supressing error message for SKIPIF check works as expected 2009-02-15 16:03:39 +00:00
Moriyoshi Koizumi 9140aca7a8 - These should have been in the previous commit. 2009-02-15 07:18:30 +00:00
Moriyoshi Koizumi 446a165f34 - Forgot to include these files. 2009-02-15 07:11:04 +00:00
Moriyoshi Koizumi b2b61661ed - MFH: Refix bug #43840.
- MFH: Fix bug #43841.
- MFH: Remove redundant trailing dots from the error messages.
- MFH: Fix tests.
2009-02-15 07:10:29 +00:00
Rasmus Lerdorf 8eea998406 Unmangle 2009-02-14 21:20:16 +00:00
Rasmus Lerdorf 70ecb3074a 2.4.1 is safe 2009-02-14 21:08:02 +00:00
Zoe Slattery ca63494a39 splitting array_chunk into smaller tests 2009-02-14 10:32:26 +00:00
Moriyoshi Koizumi 88eac1503a - MFH: prevent unwanted overflow 2009-02-14 08:16:05 +00:00
Moriyoshi Koizumi 9d7250d455 - MFH: fix Bug #45923 (mb_st[r]ripos() offset not handled correctly) 2009-02-14 07:34:15 +00:00
Moriyoshi Koizumi 3a9a83e7bc - MFH: These should be E_WARNING for consistency with strpos() 2009-02-14 06:59:55 +00:00
Andrei Zmievski c2445f4122 Revert bogus fix for #47370. 2009-02-13 22:34:15 +00:00
Zoe Slattery db2f7c5559 remove UEXPECT 2009-02-13 22:01:28 +00:00
Zoe Slattery 8acebc06d8 fixed bad section name 2009-02-13 18:01:27 +00:00
Zoe Slattery 7729acd99d fixed test 2009-02-13 17:56:20 +00:00
Kalle Sommer Nielsen 1c48fa06e5 MFH: Revert previous change 2009-02-13 16:54:56 +00:00
Takeshi Abe a2bc965760 MFH: fixed typos 2009-02-13 16:03:02 +00:00
Felipe Pena d01257ffd9 - Added missing void param check and arginfo 2009-02-13 12:55:38 +00:00
David Coallier 15115ba188 - Good bug # order. 2009-02-13 12:21:06 +00:00
David Coallier bc6a024852 - Fixed bug #46897: (ob_flush() should fail to flush unerasable buffers) 2009-02-13 11:54:05 +00:00
David Coallier 2e5f11b841 - Fixed bug #46897: ob_flush() should fail to flush unerasable buffers
- Added test for bug46897
- A memleak has been identified while fixing this bug but the changes
  made by this commit do not affect ob_get_clean where the memleak (which
  is fixed in HEAD with the new handler) resides.
- [DOC] New noticed is outputted in ob_flush when the buffer is unerasable
2009-02-13 11:48:17 +00:00
Felipe Pena e28e05b155 BFN 2009-02-13 11:21:59 +00:00
Felipe Pena 7c34d6f76b - New test 2009-02-13 02:20:52 +00:00
Felipe Pena f0a96595d0 MFH:
- Fixed bug #43831 ($this gets mangled when extending PDO with persistent connection)
- Fixed bug #45432 (PDO: persistent connection leak)
2009-02-13 02:18:57 +00:00
Moriyoshi Koizumi 018ba64ada * MFH: Fix bug #47370 (BC breakage of array_unique()) 2009-02-12 18:57:55 +00:00
Kalle Sommer Nielsen d923ea471f MFH: Fixed wrong usage of error_reporting directive 2009-02-12 14:36:58 +00:00
Takeshi Abe 3ac3b44048 MFH:
- fixed memory leaks in gdImageCreateFromXpm()
- dropped unused codes
2009-02-11 17:56:44 +00:00
Takeshi Abe b48f46b092 MFH: optimization via the row-major order. 2009-02-11 16:31:27 +00:00
Ilia Alshanetsky fbb1927626 Improved param parsing 2009-02-11 14:26:24 +00:00
Felipe Pena bc9d57ab09 MFH: Fixed test bug #47311 (PDO::PARAM_LOB columns need to be bound before execute() on PgSQL) 2009-02-11 10:44:38 +00:00
Antony Dovgal 76398ae804 add test 2009-02-11 10:02:11 +00:00
Antony Dovgal 4e2c0bc905 MFH: fix bug #47353 (crash when creating a lot of objects in object destructor) 2009-02-11 09:58:23 +00:00
Antony Dovgal 3419a468eb MFH: fix check for zend_extension type 2009-02-11 09:11:17 +00:00
Scott MacVicar 40fa70a790 MFH Fix debug builds for OSX, PHP_DEBUG is set to 1 at the top 2009-02-11 00:08:31 +00:00
Lukas Smith bf87bfb040 MFH primary tester ml needs to be in the TO not CC 2009-02-10 20:45:42 +00:00
Ilia Alshanetsky aaa5361c90 Adjust condition 2009-02-10 16:14:18 +00:00
Ilia Alshanetsky 2b531b5149 MFB: typo fix 2009-02-10 14:21:27 +00:00
Ilia Alshanetsky 986a933c82 MFB: Added path truncation E_NOTICE to let people now when path resolving
caused the file path to be truncated.
2009-02-10 14:18:46 +00:00
Scott MacVicar 037400bbeb The constructor should also throw exceptions, make this semi useful now. 2009-02-10 00:24:33 +00:00
Felipe Pena 5448e9e790 - MFH: Fix tests 2009-02-09 16:44:23 +00:00
Ilia Alshanetsky 2d38e255a6 Initialize optional var 2009-02-09 15:34:01 +00:00
Greg Beaver f7738d7886 remove entry for bug #46026, this is fixed in 5.2 now, and needs no 5.3 entry 2009-02-09 15:03:32 +00:00
Felipe Pena 1648372015 - MFH: Fix test 2009-02-09 12:56:00 +00:00
Felipe Pena efdaaa3f59 - MFH: Fix mem. leak 2009-02-09 12:07:23 +00:00
Felipe Pena fcfcacefc9 - MFH: Fixed test 2009-02-09 11:57:44 +00:00
Dmitry Stogov 4d8f18ce97 Fixed bug #47329 (Crash in garbage collector) 2009-02-09 10:47:09 +00:00
Dmitry Stogov c277ebc6c8 Fixed bug #47320 ($php_errormsg out of scope in functions) 2009-02-09 09:20:35 +00:00
Dmitry Stogov c13177f182 Better fix for #47341 2009-02-09 08:55:23 +00:00
Ilia Alshanetsky 311a87c8d7 MFB: Fixed bug #44874 (dead pfsockopen'ed sockets aren't reaped when
the remote end restarts)
2009-02-09 02:55:45 +00:00
Lukas Smith ca01eab385 primary testers list is now mailed for every release 2009-02-08 20:24:13 +00:00
Derick Rethans 2a1ff72729 - MFH: Fixed bug #47341: Calling gc_collect_cycles() with zend.enable_gc=0
causes segfault.
2009-02-08 19:36:33 +00:00
Felipe Pena d4be93e87d - Improve test 2009-02-06 10:40:28 +00:00
Felipe Pena 68cfe99fa5 - MFH: Fixed bug #47322 (sscanf %d does't work) 2009-02-06 10:20:09 +00:00
Moriyoshi Koizumi 44dece2d95 * MFH: Fix bug #45239 (encoding detector hangs with mbstring.strict_detection
enabled).
2009-02-06 07:33:25 +00:00
Jani Taskinen bddaa8fc4a - Fix crap 2009-02-05 23:59:17 +00:00
Christopher Jones 4772af7b4c Make message punctuation consistent across PHP 2009-02-05 21:45:43 +00:00
Christopher Jones 8cf010352c Tweak fix for #45458 to allow this branch (from PECL) to continue building with PHP 4 et al. No other branches need changing 2009-02-05 21:43:31 +00:00
Felipe Pena 4df0de83e8 - Update 2009-02-05 13:46:11 +00:00
Felipe Pena d33be91e72 - MFH: Fixed bug #47297 (pdo_033.phpt fails on PgSQL)
Patch by matteo at beccati dot com
2009-02-04 16:40:56 +00:00
David Coallier 16bb7d16ef - Added news item for Bugfix #46048 2009-02-03 21:45:19 +00:00
David Coallier 0328eaea77 - Fixed Bug #46048 (SimpleXML top-level @attributes not part of iterator)
- Added test for bug #46048
2009-02-03 21:42:35 +00:00
Ilia Alshanetsky 59e6e127d2 MFB: Return empty string when recv() does not fetch any data 2009-02-03 19:22:55 +00:00
Greg Beaver e26a3a8ed3 Re-Fixed bug #46026 (bz2.decompress/zlib.inflate filter tries to decompress after end of stream) 2009-02-03 18:56:26 +00:00
Greg Beaver fd5be66d13 fix bug #47085:rename() returns true even if the file in PHAR does not exist 2009-02-03 18:29:25 +00:00
Greg Beaver b634bf4ce8 fix bug #47265 (generating phar.phar fails because of safe_mode) 2009-02-03 18:17:24 +00:00
Etienne Kneuss ff334d32f6 MFH: Fix #47031 (Fix constants in example) 2009-02-03 12:54:44 +00:00
Ilia Alshanetsky 384f89f85e Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses as
invalid)
2009-02-02 23:50:31 +00:00
Nuno Lopes afb19fe0a5 regenerate 2009-02-02 19:23:38 +00:00
Nuno Lopes 7f6ff02f5c fix bug #46347: allow * in ini keys 2009-02-02 19:23:13 +00:00
Felipe Pena 6caf16d52b - MFH: Fixed bug #47269 (Typo: SoapSlient instead of SoapClient) 2009-02-02 10:00:11 +00:00
Pierre Joye acdb832581 - silent compiler warning about socklen_t benign redefinition 2009-02-02 09:41:46 +00:00
Pierre Joye 10bf149a60 - define HAVE_SOCKLEN_T as it exists (vc6+) 2009-02-02 09:40:55 +00:00
Pierre Joye 1eaca26ad8 - MFH: fix build (use the same arginfo than the aliased func) 2009-02-02 08:47:23 +00:00
Moriyoshi Koizumi aba813266a - MFH: Fix bug #46843 (CP936 euro symbol is not converted properly) 2009-02-02 04:53:10 +00:00
David Soria Parra ab0eff9a14 MFH: Fix a typo 2009-02-01 21:52:07 +00:00
andy wharmby 28073afe56 New set_magic_quotes() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:29:31 +00:00
andy wharmby dbb272789d New php_uname() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:17:48 +00:00
andy wharmby 7c07a980ed New get_defined_vars(), get_included_files(), get_magic_quotes() and getmypid() tests. Tested on Winows, Linux and Linux 64 2009-02-01 18:55:26 +00:00
andy wharmby 1cdf8160ce New escapeshellarg() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:39:50 +00:00
andy wharmby 9484e82e01 New floatval() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:32:40 +00:00
Christian Seiler 63ee3c98a8 Fixed regression of bug #46205, thanks to felipe for pointing this out. 2009-02-01 15:06:19 +00:00
Felipe Pena 4d754de109 - MFH: Fixed bug #47255 (Typo in php.ini files) 2009-01-31 19:24:55 +00:00
Kalle Sommer Nielsen 8dab524e82 MFH: Fix arginfo for imagefilter() 2009-01-31 15:27:52 +00:00
Stanislav Malyshev 54216edfe3 fix bug #14562 2009-01-30 20:56:12 +00:00
Felipe Pena d295d9113e - MFH: Fix test 2009-01-30 14:50:05 +00:00
Felipe Pena e5f709d290 MFH:
- WS, CS
- Added missing param. checking
- Fixed type for 'l'
2009-01-30 14:38:12 +00:00
Felipe Pena 16f38a39ca - MFH: Year++ 2009-01-30 00:16:32 +00:00
Ilia Alshanetsky a820c7c568 Improved validation checks inside str_pad() 2009-01-30 00:16:27 +00:00
Scott MacVicar 0937041375 MFB Fix bug #47245 - Double free in mb_detect_encoding() 2009-01-29 22:59:57 +00:00
Stanislav Malyshev a3c422974b fix // comments 2009-01-29 21:49:49 +00:00
Felipe Pena 4eae211d62 - MFH: Added arginfo 2009-01-29 00:37:16 +00:00
Felipe Pena 0c62a7bb22 - Re-added safe mode check 2009-01-29 00:15:48 +00:00
Scott MacVicar 3a25c34a01 Fix build on Windows 2009-01-28 23:58:09 +00:00
Nuno Lopes 86df0f095d the offset parameter of mmap() must be aligned to a page boundary (although linux doesnt strictly require it).
use 0 as offset as it will be small and increment the ptrs afterwards
2009-01-28 23:18:49 +00:00
Scott MacVicar 68c140b288 Broken test, skipif sections had a parse error 2009-01-28 22:49:14 +00:00
Nuno Lopes f67f636973 BFN 2009-01-28 22:43:51 +00:00
SVN Migration ac13bffa09 This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2009-01-28 22:43:26 +00:00
Nuno Lopes 4ff9ad5bf1 fix bug #47229: preg_quote should escape '-' 2009-01-28 22:39:33 +00:00
Johannes Schlüter 458c0567b2 - Add .cvsignore 2009-01-28 22:35:23 +00:00
Johannes Schlüter fd3942f4ce Back to -dev 2009-01-28 22:09:55 +00:00
Johannes Schlüter 42023008b9 PHP 5.3.0beta1 2009-01-28 21:38:45 +00:00
Johannes Schlüter 80f6263bbc Properly disable phar for the moment 2009-01-28 20:39:15 +00:00
Pierre Joye 409d36eb77 - enchant entry and fix news 2009-01-28 18:32:29 +00:00
Steph Fox 2c2eaa087b - Skeleton version taken directly from the scratchpad and tidied.
@Lukas, Johannes: This is nowhere near complete, and may contain entries that would be happier in NEWS, but it's OK for the beta IMHO.
2009-01-28 17:23:28 +00:00
Scott MacVicar fd91a50b71 Disable Phar on big endian systems for beta 1. 2009-01-28 15:53:29 +00:00
Antony Dovgal 64003cd352 fix test 2009-01-28 12:58:59 +00:00
Ilia Alshanetsky 58a6bddf68 Improved parameter parsing 2009-01-27 21:59:30 +00:00
Pierre Joye 1c87df548b - fix build 2009-01-27 21:53:49 +00:00
Pierre Joye a5af8a7ec2 - prevent redefinition 2009-01-27 21:53:31 +00:00
Johannes Schlüter 611c453598 MFH: Fix mysqli pconnects to properly reset connection status by default 2009-01-27 15:35:34 +00:00
Antony Dovgal 029f5e651a fix compile warning 2009-01-27 14:50:27 +00:00
Derick Rethans 4ca3fa7120 - Fixed tests?
#- Wondering why those are not in HEAD though...
2009-01-27 14:22:17 +00:00
Scott MacVicar 8e11f40093 Fix tests 2009-01-27 14:16:15 +00:00
Derick Rethans fb183b1777 - MFH: Elevate no-tz set warning from E_STRICT to E_WARNING.
#- [DOC]
2009-01-27 13:48:10 +00:00
Christian Seiler c6d89bd4a8 [DOC] Remove $this support in closures for PHP 5.3 beta 1
- Implementation notes here:
  http://wiki.php.net/rfc/closures/removal-of-this
2009-01-26 22:54:34 +00:00
Pierre Joye 7cb513c19a - idn build for win 2009-01-26 22:34:49 +00:00
Pierre Joye 4670e62f13 - IDN entry 2009-01-26 22:34:16 +00:00
Pierre Joye 503779eb17 - [DOC] add IDN support, idn_to_ascii and idn_to_utf8
tests and MFB will follow Wednesday
2009-01-26 22:30:57 +00:00
andy wharmby 4f3a4e597b Split-ip var_export.phpt and add new error tests. Tested on Windows, Linux and Linux 64 bit 2009-01-26 22:27:03 +00:00
Rob Richards cbdb8f6167 MFH: fix bug #47220 (segfault in dom_document_parser in recovery mode) 2009-01-26 19:10:53 +00:00
Ilia Alshanetsky 51f4e5efcd Fixed bug #47217 (content-type is not set properly for file uploads) 2009-01-26 15:19:55 +00:00
Etienne Kneuss e094d1aa44 MFH: Improve spl_object_hash() 2009-01-26 11:38:03 +00:00
Dmitry Stogov f946918fc6 Fixed bug #46419 (Elements of associative arrays with NULL value are lost) 2009-01-26 11:09:36 +00:00
Antony Dovgal 09ac5971f5 MFH use example.com 2009-01-25 23:26:45 +00:00
Antony Dovgal 34f1855168 do not define CURLE_SSH twice 2009-01-25 22:33:10 +00:00
andy wharmby ba1b99e4aa Split is_callable test. Test on Windows, Linux and Linux 64 bit 2009-01-25 22:16:33 +00:00
Ilia Alshanetsky 4eb69eadc6 Improved fix for bug #47174 & added a test 2009-01-25 18:27:12 +00:00
Pierre Joye f19f0cefa5 - nicer features list 2009-01-25 17:12:36 +00:00
Felipe Pena c3631156fc - Fixed tests 2009-01-25 16:53:07 +00:00
Pierre Joye 79ac8ab9f9 - curl ssh entry 2009-01-25 16:35:05 +00:00
Pierre Joye 7dc3ef31d2 - MFH
- [DOC] Add support for SSH via libssh2
  - new constants: CURLE_SSH, CURLSSH_AUTH_NONE, CURLSSH_AUTH_PUBLICKEY, CURLSSH_AUTH_PASSWORD, CURLSSH_AUTH_HOST, CURLSSH_AUTH_KEYBOARD, CURLSSH_AUTH_DEFAULT, CURLOPT_SSH_AUTH_TYPES, CURLOPT_KEYPASSWD, CURLOPT_SSH_PUBLIC_KEYFILE, CURLOPT_SSH_PRIVATE_KEYFILE, CURLOPT_SSH_HOST_PUBLIC_KEY_MD5
   See http://curl.haxx.se/libcurl/c/curl_easy_setopt.html fortheir roles or usages
2009-01-25 16:28:18 +00:00
Pierre Joye 9628d8da15 - check for zlib too 2009-01-25 16:21:03 +00:00
David Soria Parra 72b20010d3 MFH: Fix compiler warning. munmap expects a void pointer. 2009-01-25 14:03:09 +00:00
David Soria Parra 8defc0474a Fix WS 2009-01-25 13:41:50 +00:00
David Soria Parra a44511f33c MFH: Fix WS 2009-01-25 13:39:56 +00:00
Sebastian Bergmann e115709774 MFH: Patch by David Soria Parra <dsp@php.net>. 2009-01-25 11:07:40 +00:00
Zoe Slattery 450c5afedf added INI and fixed assert02 to run on PHP6 and PHP53 2009-01-25 11:06:36 +00:00
Antony Dovgal ff3ee30872 fix test 2009-01-24 22:02:36 +00:00
Antony Dovgal 8e2c587a51 fix build 2009-01-24 13:08:04 +00:00
andy wharmby 4e71f2a5fc New get_extension_funcs() and getrusage() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-24 12:47:25 +00:00
Hannes Magnusson cbd8949ab5 Fix build 2009-01-24 12:42:19 +00:00
Scott MacVicar 40a41b0953 BFN 2009-01-24 12:19:21 +00:00
Scott MacVicar 4159f91181 MFH Add blobOpen method for reading binary blobs via streams. 2009-01-24 12:17:47 +00:00
andy wharmby ada3990c1a Make test more robust; avoid hangs if fsockopen() fails. Tested on Windows, Linux and Linux 64 bit 2009-01-23 23:49:38 +00:00
andy wharmby 9bfdbb3e2c New gzuncompress() test.Tested on WIndows, Linux and Linux 64 bit 2009-01-23 23:31:50 +00:00
andy wharmby b2f1d92674 Fix tests. Add missing SKIPIF. Tested on Windows, Linux and Linux 64 2009-01-23 20:23:29 +00:00
Dave Kelsey 0610bbd12a deleted invalid test. 2009-01-23 18:56:51 +00:00
Dave Kelsey f94acf2a27 added some mail tests. Tested on windows, linux and linux 64bit 2009-01-23 17:12:08 +00:00
Kalle Sommer Nielsen 73b17408fb MFH: Windows support for stream_socket_pair(), by moving the socketpair() implementation from ext/sockets to win32/ 2009-01-23 15:49:49 +00:00
Dave Kelsey 2a4fc75c54 various network tests. tested on windows, linux, linux 64 bit 2009-01-23 15:34:21 +00:00
Zoe Slattery 3bda2b9689 IMPA fetchheader tests 2009-01-23 15:31:35 +00:00
andy wharmby 294364dfee Fix names of new image files. 2009-01-23 11:18:36 +00:00
Zoe Slattery 1efa1bae64 fix tests 2009-01-23 09:43:35 +00:00
Zoe Slattery e7c8c5d526 fix tests 2009-01-23 09:23:22 +00:00
andy wharmby d8ab16b683 New image tests. Tested on WIndows, Linux and Linux 64 bit 2009-01-22 22:59:57 +00:00
Zoe Slattery 62c51d8d2d fixed test 2009-01-22 22:04:34 +00:00
Johannes Schlüter 074b084852 MFH: export mysql_refresh
[DOC] This makes mysql_refresh() as described in
      http://dev.mysql.com/doc/refman/6.0/en/mysql-refresh.html
      available as mysqli_Refresh() and mysqli->refresh()
      MYSQLI_REFRESH_BACKUP_LOG is only available when linking libmysql 6.0
      or mysqlnd
2009-01-22 21:01:58 +00:00
Zoe Slattery 20b20bbdb3 fixed test 2009-01-22 20:52:33 +00:00
Dave Kelsey 4ce8a47875 fstat tests. tested on windows, linux and linux 64 bit 2009-01-22 20:49:42 +00:00
andy wharmby 023db07910 New date tests for getdate() and gmstrftime(). Tested on WIndows, Linux and Linux 64 bit 2009-01-22 18:47:46 +00:00
Ilia Alshanetsky ea61c335e4 Fixed execution condition 2009-01-22 14:40:20 +00:00
Dave Kelsey 163fedcd61 final collection of zlib tests. tested on linux, windows and linux 64 bit 2009-01-22 14:14:50 +00:00
andy wharmby 0d4228940c New basic time()and microtime() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-22 14:11:08 +00:00
andy wharmby c70c7ca7f9 Fix test after #46732 fix. Tested on WIndows, Linux and Linux 64 bit 2009-01-22 13:50:45 +00:00
andy wharmby be84cfa327 New image tests. Tested on Windows, LInux and Linux 64 bit 2009-01-22 13:27:32 +00:00
Dave Kelsey aa3e1f6158 fixed subtle bugs regarding attempting to chdir, plus cleanup issues. improved tempnam test, removed hardcoded line number. tested on windows, linux and linux 64bit. 2009-01-22 07:56:56 +00:00
andy wharmby ba5407d065 Fix test 2009-01-22 00:23:01 +00:00
Jani Taskinen d331023b5f MFH: fix typo 2009-01-21 19:22:39 +00:00
Dmitry Stogov a928b88da9 Fixed realpath() behavior to support "c:dir" as "c:\dir", and "\dir" on UNC CWD 2009-01-21 19:07:40 +00:00
Ilia Alshanetsky bd9ad75f41 Fixed bug #47174 (base64_decode() interprets pad char in mid string as
terminator)
2009-01-21 15:38:37 +00:00
Derick Rethans 9942dde8bd - Updated to version 2009.1 (2009a) 2009-01-21 15:25:08 +00:00
Dave Kelsey 7d8c189a6d new tests for zlib extension, tested on windows, linux and linux64 2009-01-21 15:24:13 +00:00
Antony Dovgal 30a0135d18 fix tests 2009-01-21 12:50:10 +00:00
andy wharmby f1c66c9229 New gzuncompress() test. php6 tets fails currentlly due to #47179. Tested on Windows, Linux and Linux 64 bit 2009-01-21 12:28:32 +00:00
andy wharmby 435d194059 New gzencode() test. php6 tets fails currentlly due to #47178. Tested on Windows, Linux and Linux 64 bit 2009-01-21 11:39:11 +00:00
Sanjay Mantoor 5b75dd317f New testcases for strftime function 2009-01-21 10:51:04 +00:00
andy wharmby 65b60a54fe New gzinflate() error test. Tested on WIndows, Linux and Linux 64 bit 2009-01-20 23:37:47 +00:00
andy wharmby de5f62bba9 Fix SKIPIF logic 2009-01-20 23:19:44 +00:00
andy wharmby 6a5b8a57e5 New stripcslashes() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 22:54:36 +00:00
Felipe Pena 5db1f786fb BFN #47087 2009-01-20 20:28:04 +00:00
Felipe Pena f1aadc30ea - MFH: Fixed bug #47087 (Second parameter of mssql_fetch_array() is ignored) 2009-01-20 20:03:04 +00:00
Ilia Alshanetsky 49295515d7 Added an E_NOTICE when precision value is truncated 2009-01-20 18:02:35 +00:00
Felipe Pena 0b3afcf67b - MFH: Fixed bug #47152 (gzseek/fseek using SEEK_END produces strange results) 2009-01-20 15:41:23 +00:00
andy wharmby d4e765f4a6 New vfprintf() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 14:19:31 +00:00
Dmitry Stogov 666bf10d1a Removed wrong warning message 2009-01-20 13:21:52 +00:00
Dmitry Stogov d1958eeea8 Fixed bug #47165 (Possible memory corruption when passing return value by reference) 2009-01-20 11:22:45 +00:00
Scott MacVicar e596baa520 BFN 2009-01-20 09:59:25 +00:00
Scott MacVicar 5b79c37500 MFH Fix bug #47159 - Any SQLite3 statement prepared should be added to the freelist 2009-01-20 09:57:34 +00:00
Pierre Joye b0c1d09cda - fnmatch entry 2009-01-20 01:45:12 +00:00
Pierre Joye d0c201d3f4 - [DOC] add support for fnmatch() on Windows
- enable tests (pass)
2009-01-20 01:40:06 +00:00
Pierre Joye f8aff4ad07 - add fnmatch() support on windows (C API), using the BSD implementation 2009-01-20 01:37:48 +00:00
Felipe Pena d29e47652f - MFH: Added missing "return;" 2009-01-20 00:43:25 +00:00
Scott MacVicar cc9e86a588 BFN 2009-01-20 00:25:27 +00:00
Scott MacVicar 4b02b12f54 MFH Fix bug #47145 - As soon as sqlite3_step is called on a statement it always must be finalised. 2009-01-20 00:24:13 +00:00
Scott MacVicar 6d406ccedf Fixed bug #47141 - Unable to fetch error messages after the database can't be opened. 2009-01-19 22:43:58 +00:00
Ilia Alshanetsky 2b456001da MFB: Fixed bug #47131 (SOAP Extension ignores "user_agent" ini setting). 2009-01-19 21:58:02 +00:00
Scott MacVicar 390ccd899d MFH Fix apache2handler under Apache 2.3.0-alpha 2009-01-19 19:32:40 +00:00
David Soria Parra 65e3d00366 MFH: Fix #47149. Remove check for script_filename = path_translated, as this the actual value that we get from apache. 2009-01-19 18:17:32 +00:00
andy wharmby 71d0cd594c New substr_replace() and unpack() error tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 17:13:18 +00:00
Takeshi Abe 78ca92f77b MFH: bump up and use IMAGE_FILTER_MAX_ARGS instead of a magic number. 2009-01-19 16:35:58 +00:00
Zoe Slattery f9de6e62a9 fixing the test to expect PHP6 and PHP53 behaviour 2009-01-19 16:16:48 +00:00
andy wharmby a7e129f217 New vprintf() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 16:03:44 +00:00
andy wharmby 0a34f4ad2c New strval() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 15:54:47 +00:00
andy wharmby 68b5346285 New tests for str_pad(), str_shuffle(), stristr() and strlen(). Tested on WIndows, Linux and Linux 64 bit 2009-01-19 15:46:41 +00:00
Takeshi Abe c422d15d0e MFH: fixed the bug of libgd #191 (A circle becomes square) 2009-01-19 15:43:48 +00:00
Dave Kelsey 8f9ec4238f new tests for zlib extension, tested on windows, linux and linux64 2009-01-19 14:03:08 +00:00
Antony Dovgal 357ed77aea MFH: fix memleaks in sscanf() 2009-01-19 09:52:24 +00:00
Hannes Magnusson f42dfac501 Make sense of these NEWS entries 2009-01-19 08:50:50 +00:00
Pierre Joye d60692dabc - ime_ nanosleep and time_ sleep_ until entry 2009-01-19 02:36:57 +00:00
Pierre Joye 274dad3b83 - MFH:
- add nanosleep
 - expose nanosleep and usleep
 - [DOC] time_ nanosleep and time_ sleep_ until available on windows
 - change nanosleep signature to match posix one
2009-01-19 02:35:22 +00:00
Felipe Pena e77326faba - MFH: Fixed bug #47048 (Segfault with new pg_meta_data) 2009-01-18 23:49:31 +00:00
andy wharmby b83859120d New nl_langinfo(), number_format() and ord() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 22:51:02 +00:00
andy wharmby 571650e64d New hebrev() and hebrevc() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 21:59:39 +00:00
andy wharmby 2075498207 New sha1f() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 19:37:45 +00:00
Ilia Alshanetsky a0a31f3998 Upgraded bundled sqlite3 to 3.6.10 2009-01-18 18:01:53 +00:00
andy wharmby b819f60eed New sscanf() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:40:29 +00:00
andy wharmby cdef2ee23b New explode() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:35:00 +00:00
andy wharmby 18a6f9e55d New money_format() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 22:52:26 +00:00
Felipe Pena 5b1026966b - Fixed test 2009-01-17 17:59:51 +00:00
Felipe Pena 27c77c3985 MFH:
- Added header
- Fixed compiler warning ("no newline at end of file")
2009-01-17 17:18:00 +00:00
andy wharmby 98076f58db New trim() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 16:41:15 +00:00
Johannes Schlüter cf84f2c5f5 MFH Fix Zend extensions 2009-01-17 16:14:59 +00:00
andy wharmby d70ea4bc8a New ltrim() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 15:47:59 +00:00
Stanislav Malyshev dc6a2f4705 build IDs 2009-01-17 02:09:53 +00:00
Stanislav Malyshev 5d8c9f8c56 Build IDs 2009-01-17 02:05:13 +00:00
Etienne Kneuss fc1b5427d8 MFH: Add tests for addAll/RemoveAll 2009-01-17 01:30:52 +00:00
Stanislav Malyshev 0c5d83b053 fix nts build 2009-01-17 01:12:36 +00:00
andy wharmby 80ef307033 New string tests. Tested on Windows, Linux and Linu 64 bit 2009-01-16 22:46:08 +00:00
Etienne Kneuss 5755d152ca MFH: Implement SplObjectStorage::addAll/removeAll 2009-01-16 22:20:53 +00:00
Pierre Joye 8ccc7777b1 - fix vc6 build 2009-01-16 14:10:16 +00:00
Pierre Joye bce6bc73fc -add some doc about versions 2009-01-16 13:52:13 +00:00
andy wharmby 7cf16584df New string function tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-16 12:53:27 +00:00
Pierre Joye c5da0ffb4d - typo (thx rza) 2009-01-16 11:31:02 +00:00
Pierre Joye 205b558fb1 - entry for symlink, readlink, linkinfo and link 2009-01-16 11:25:14 +00:00
Pierre Joye dcb5027b93 - MFH:
- return SUCCESS on success
 - check return value
2009-01-16 10:26:32 +00:00
Pierre Joye 192df76b26 - simplify code by using OPENBASEDIR_CHECKPATH 2009-01-16 10:07:03 +00:00
Pierre Joye 8dfe43815e - MFH: add OPENBASEDIR_CHECKPATH macro to ease merge between 5.3 and 6, it includes safemode (5.3) and openbasedir check 2009-01-16 10:06:10 +00:00
Pierre Joye 59b6e456cb - symlink, hardlink & co support (2.1/2 :) 2009-01-16 01:01:04 +00:00
Pierre Joye dcd2b78d14 - symlink, hardlink & co support (2/2) 2009-01-16 01:00:22 +00:00
Pierre Joye f704a50732 - add EG(windows_version_info), set at init time once per instance
contains a OSVERSIONINFOEX struct. It lets us determine easily on which windows version is used (for example)
2009-01-16 00:57:43 +00:00
Pierre Joye 2f61ad9b98 - add EG(windows_version_info), set at init time once per instance
contains a OSVERSIONINFOEX struct. It lets us determine easily on which windows version is used (for example)
- add the ability to disable a function when the windows function does not support a feature (for example symlink)
- symlink, hardlink & co support (1/2)
2009-01-16 00:57:05 +00:00
Ilia Alshanetsky fc6c8f5440 Improved parameter handling 2009-01-16 00:07:03 +00:00
Jani Taskinen b32d357e7a MFH:- Fixed bug #47104 (Linking shared extensions fails with icc) 2009-01-15 14:37:25 +00:00
andy wharmby 1de33abc50 New test for strripos() string function. All tests checked on Windows, Linux and Linux 64 bit. 2009-01-15 13:40:05 +00:00
Dmitry Stogov 8075f2e4b7 Fixed bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object) 2009-01-15 08:48:58 +00:00
Kalle Sommer Nielsen be7d6a6299 MFH: Change optional parameter for IMG_FILTER_PIXELATE to be a boolean
Added missing NEWS log entry for the new pixelation filter
2009-01-15 07:57:11 +00:00
Ilia Alshanetsky a6263465cf Removed unused variable 2009-01-14 19:16:24 +00:00
Takeshi Abe 40d3b2f7f3 MFH: added pixelate filter. 2009-01-14 19:06:12 +00:00
Antony Dovgal ad0935cd47 fix typo 2009-01-14 16:32:41 +00:00
andy wharmby c1bf1627dd Fix date_suninfo_tests; add missing date_default_timezone_set() to ensure they PASS when run in any timezone. Tested on WIndows, Linux and Linux 64bit. 2009-01-14 16:28:18 +00:00
Etienne Kneuss cd63e52c0b MFH: Fix #47045 (Correctly compare splobjectstorages with ==) 2009-01-14 15:53:03 +00:00
andy wharmby 582b32c426 Fixed base64_decode variation tests and new base64_encode test. Tested on Windows, Linux and Linux64 bit 2009-01-14 14:38:58 +00:00
Dmitry Stogov f7abb84b43 Fixed bug #46755 (warning: use statement with non-compound name)
Fixed bug #46979 (use with non-compound name *has* effect)
2009-01-14 13:57:42 +00:00
Dmitry Stogov 5d060ebe05 Fixed __call() to be invoked on private/protected method access through callbacks 2009-01-14 11:56:08 +00:00
Jani Taskinen ab61459f61 fix news 2009-01-14 10:50:39 +00:00
Dmitry Stogov 312176f083 Reverted "Rebind closure when binding to property" 2009-01-14 10:28:22 +00:00
Pierre Joye 6a969c7a3b - entry for support for PNG gray levels+ alpha image, loaded as truecolor 2009-01-14 10:18:13 +00:00
Pierre Joye 9880d8dbe7 - [DOC] support for PNG gray levels+ alpha image, loaded as truecolor 2009-01-14 10:16:15 +00:00
Pierre Joye 84f13ab73a - NEWS entry for the recent DNS improvement
- [DOC] already submitted but it is a good summary
2009-01-14 09:46:34 +00:00
andy wharmby f52ad63dfb Fix new date tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 23:08:03 +00:00
Ilia Alshanetsky 4093573e5c Fixed a bug inside mail() logging code that prevents log file from existing
outside of open_basedir
2009-01-13 21:29:12 +00:00
Felipe Pena 5c654e617f - Fixed test 2009-01-13 20:15:59 +00:00
Ilia Alshanetsky dfa86ccf73 Improved parameter handling 2009-01-13 19:08:08 +00:00
andy wharmby 5ca19085bb Fix test. Tested on Windows, Linux and Linux 64 bit 2009-01-13 18:51:41 +00:00
Felipe Pena 9d9c461ef4 - Typo 2009-01-13 18:27:59 +00:00
Rob Richards 39570bc38b news 2009-01-13 18:13:01 +00:00
Andrei Zmievski 440c8c9cb1 Add test 2009-01-13 18:08:25 +00:00
Rob Richards 5336054811 MFH: Add method DomNode::getLineNo to return line number for a parsed node 2009-01-13 18:06:48 +00:00
Felipe Pena 6757c0c9fc - Fixed test 2009-01-13 17:08:26 +00:00
andy wharmby cb9476027c New date extension tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 13:38:19 +00:00
Antony Dovgal 61e3fbabb8 fix test 2009-01-13 12:00:53 +00:00
andy wharmby 791dabcc3b New zlib extension tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 10:08:37 +00:00
Scott MacVicar 148ae0cfe0 BFN 2009-01-13 02:54:37 +00:00
Scott MacVicar efaba65cf5 MFH Add table key to getColumnMeta() with SQLite 2009-01-13 02:50:54 +00:00
Stanislav Malyshev fc044adb9f ns bugfix out 2009-01-12 22:24:31 +00:00
Stanislav Malyshev c1147bcb07 report fix 46304 2009-01-12 21:56:36 +00:00
Stanislav Malyshev e2ad4e0178 fix #46304: Defining namespaced constant using define() uses case sensitive match for namespace 2009-01-12 21:54:37 +00:00
Felipe Pena 47a8643e71 - Reverted my previous commit to avoid unnecessary BC.
[DOC] Added new entry to the array returned by dns_get_record(), 'entries', which contains the separated value from TXT value. (so 'txt' kept the concatenated version) (Pierre)
2009-01-12 20:07:28 +00:00
Andrei Zmievski d7b6f0103b memset() requires a pointer. 2009-01-12 19:09:34 +00:00
Scott MacVicar c430f3377a BFN 2009-01-12 19:08:25 +00:00
Scott MacVicar dba82da304 MFH Fix building of pdo_sqlite without sqlite3 2009-01-12 19:03:07 +00:00
Scott MacVicar 4bdf8de929 MFH Update sqlite to 3.6.8 2009-01-12 18:55:37 +00:00
andy wharmby 84ca63c1b3 New math tests. Tested on Windows, Linux and Linux 64 bit 2009-01-12 17:56:28 +00:00
Ilia Alshanetsky 4afe6ccc54 Upgraded libsqlite3 to 3.6.8 2009-01-12 17:13:38 +00:00
andy wharmby 07cc6d4d10 Fix Windows tests after #47037 2009-01-12 15:59:04 +00:00
andy wharmby f4af0b3f39 New math tests. Tested on Windows, Linux and Linux 64 bit 2009-01-12 14:30:52 +00:00
Scott MacVicar b4fa66e858 Fix build, missing comma 2009-01-12 14:28:05 +00:00
Scott MacVicar 534c200925 The previous error was masked by a missing entry, sync them back up. 2009-01-12 14:26:47 +00:00
Johannes Schlüter e4a348d782 MFH: Fix #47050 mysqli_poll() modifies improper variables 2009-01-12 14:04:32 +00:00
Scott MacVicar b6f32086f9 This entry doesn't exist upstream any more, it also caused all error messages to be one off. 2009-01-12 13:34:33 +00:00
Johannes Schlüter 74cfc5f3d7 MFH Fix #45940 MySQLI OO does not populate connect_error property on failed
connect
2009-01-12 12:56:01 +00:00
Antony Dovgal 68ecbd73d3 fix typo 2009-01-12 10:47:47 +00:00
Ilia Alshanetsky 2bcdd36879 Improved parameter handling 2009-01-11 23:52:29 +00:00
Scott MacVicar 3fb23c0173 BFN 2009-01-11 23:43:45 +00:00
Scott MacVicar 8911ba1c62 Add support for the older style bind 8 functions, this adds support for OS X to use all of the dns_* functions. 2009-01-11 23:37:16 +00:00
Felipe Pena cc50663b56 MFH:
- Improved fix for #47035 (win32 part by Henrique M. Decaria)
[DOC] The TXT part needs be returned as an array of strings. (dns_get_record())
2009-01-11 18:47:17 +00:00
Rob Richards c87d6031e5 MFH: export php_pcre_free to make mbstring happy 2009-01-11 13:59:00 +00:00
Uwe Schindler b70260d392 revert last commit, sizeof does not work in preprocessor :( 2009-01-11 13:47:01 +00:00
Uwe Schindler 4db4009c71 MFH: add sanity check for time_t size of win32 2009-01-11 13:39:39 +00:00
Rob Richards d14021cb4e MFH: fix bug #45996 (libxml2 2.7 causes breakage with character data in xml_parse()) 2009-01-11 12:01:16 +00:00
Dmitry Stogov 828566dafb Disable dl() in CGI and FastCGI modes 2009-01-11 08:35:36 +00:00
Felipe Pena 23f7fa57fe - MFH: Fixed bug #47054 (BC break in static functions called as dynamic) 2009-01-10 19:15:42 +00:00
Felipe Pena ac9508b286 - Fixed tests 2009-01-10 17:18:08 +00:00
Felipe Pena 2deadbe666 - Fixed test 2009-01-10 17:15:09 +00:00
Felipe Pena 06aa1da0cd - MFH: Fixed test (patch by Timm Friebe [thekid@php]) 2009-01-10 17:07:09 +00:00
Felipe Pena 51b05cd54d - Fixed tests 2009-01-10 17:01:00 +00:00
Scott MacVicar cb4d76b505 Fix bug #47055 - When intl is shared dont enable icu support in SQLite3 2009-01-10 01:46:55 +00:00
Scott MacVicar b4707a5e02 Some more tests that needed fixed. 2009-01-10 00:51:04 +00:00
Scott MacVicar a9e5e22275 If a TZ environmental is set then it ends up getting used instead of the INI setting, use date_default_timezone_set() instead. 2009-01-10 00:50:45 +00:00
Antony Dovgal cc6b14ef6d cleanup garbage 2009-01-09 23:16:49 +00:00
Antony Dovgal e3e34fa7ed MF52: fix test: don't create tmp files in "." and clean up when done 2009-01-09 23:12:12 +00:00
Antony Dovgal 4c7b6dd78a okay, no news for new internal functions then 2009-01-09 22:26:23 +00:00
David Soria Parra 544150aef8 MFH: Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache). 2009-01-09 22:13:55 +00:00
Antony Dovgal a4d6ab1376 news 2009-01-09 19:17:08 +00:00
Antony Dovgal 514e633327 MFH: add zend_ts_hash_copy_to_hash() 2009-01-09 19:16:55 +00:00
Ilia Alshanetsky 71ea95354b MFH: Corrected fix for bug #46844 to only trigger on the 1st line of CLI
opened files.
2009-01-09 17:21:12 +00:00
Antony Dovgal 2538bd21e7 fix ZTS build 2009-01-09 15:08:10 +00:00
Ilia Alshanetsky 905a5c0590 [DOC]
Added mail logging functionality that allows logging of mail sent via
mail() function

THe logging functionality is disabled by default but can be enabled on a
per-directory or globaly via 2 INI settings.

The mail.log directive allows you to specify the file where each call to
mail() will be logged. The log file will contain the path and line # of the
calling script in addition to all of the headers indicated by the user.

The mail.add_x_header directive will introduce a X-PHP-Originating-Script
header that will contain the file name (no path) of the calling script and
the uid of the script. This combination should be sufficient for the admin
to locate the sending script.
2009-01-09 14:59:30 +00:00
Johannes Schlüter 7d3d47fa27 MFH: Fixed bug #46653 2009-01-09 14:30:00 +00:00
Sanjay Mantoor 49a6cc243e New testcases for localtime function 2009-01-09 05:09:40 +00:00
Felipe Pena 857959838f - Fixed tests 2009-01-09 02:11:54 +00:00
Antony Dovgal 7670ad31e6 MFH: use correct check for constants and stop segfaulting
(5_2 doesn't need this)
2009-01-08 22:36:03 +00:00
Antony Dovgal 7478ceada3 fix tests 2009-01-08 22:03:32 +00:00
Antony Dovgal c4fb924c7e fix test 2009-01-08 21:53:50 +00:00
andy wharmby a7bdc76551 New PHPT tests for math functions. Tested on Windows, Linux and Linux 64 bit. 2009-01-08 21:20:11 +00:00
Felipe Pena 4f07ef1f78 - Fixed test [only in this branch] 2009-01-08 19:00:02 +00:00
Arnaud Le Blanc 665b8f5510 MFH: XFAIL test 2009-01-08 18:58:34 +00:00
Felipe Pena f21cabe5e3 - MFH: Fixed tests 2009-01-08 18:47:26 +00:00
Felipe Pena 31169e2c1a MFH:
- Fixed bug #47037 (No error when using fopen with emty string)
Patch by Cristian Rodriguez R.
2009-01-08 18:46:00 +00:00
Arnaud Le Blanc 9c6c5c6f98 MFH:
Fix memleak when a user filter appends a bucket and returns != PSFS_PASS_ON
Improved tests
2009-01-08 18:40:27 +00:00
Felipe Pena b5182d7aff - MFH: Fixed bug #47035 (dns_get_record returns a garbage byte at the end of a TXT record) 2009-01-08 17:19:50 +00:00
Arnaud Le Blanc 61ae60f805 MFH: Fixed error conditions handling in stream_filter_append() 2009-01-08 17:01:58 +00:00
Ilia Alshanetsky ae9d5f737e Improved parameter fixing & address a compiler warning 2009-01-08 16:13:51 +00:00
Scott MacVicar 6fe58b3542 Fix test again... 2009-01-08 14:09:49 +00:00
Scott MacVicar b08ceb79b3 Fix broken test 2009-01-08 13:35:58 +00:00
andy wharmby 9ccdaa362d Fix bogus file tests - addresses 2 failures in PHP GCOV reports. Tested on Windows, Linux and Linux 64 bit 2009-01-08 10:40:36 +00:00
Ilia Alshanetsky 9ce52853c7 Simplify parameter parsing 2009-01-08 00:37:39 +00:00
Felipe Pena 93638ba661 - MFH: Removed WRONG_PARAM_COUNT usage 2009-01-08 00:12:19 +00:00
Felipe Pena 241c414422 - MFH: Fixed test 2009-01-07 23:04:52 +00:00
Felipe Pena 51fc4e878d - MFH: More suitable parameter checking 2009-01-07 22:55:38 +00:00
Felipe Pena 15851cd771 MFH:
- New parameter parsing
- Removed METHOD_NOTSTATIC_NUMPARAMS
2009-01-07 22:40:17 +00:00
Andrei Zmievski 93adc26ed7 Add test for last commit. 2009-01-07 22:35:51 +00:00
Andrei Zmievski 26bb96e218 Changed __call() to be invoked on private/protected method access,
similar to properties and __get().
2009-01-07 22:12:39 +00:00
Antony Dovgal 76548a8d1e MFH: fix test 2009-01-07 21:23:10 +00:00
Felipe Pena 5ae3b86724 - Fixed test 2009-01-07 20:32:52 +00:00
Felipe Pena 7c989115c2 MFH:
- Added check for EWOULDBLOCK
- Using EWOULDBLOCK instead of EAGAIN by portability issues
(Related to #46917)
2009-01-07 20:21:46 +00:00
Felipe Pena c7ef31aefb - Checking 0 param in the new way [only in this branch] 2009-01-07 18:34:18 +00:00
Felipe Pena c0de7f3113 - MFH: Fixed duplicate errmsg 2009-01-07 18:26:27 +00:00
Felipe Pena 90c059872d - Fixed bug #47029 (quoted_printable_decode() produces duplicate warning)
Patch by Andy wharmby
2009-01-07 17:20:18 +00:00
Johannes Schlüter 1e3e6cdf29 MFH: Proper ctor usage (Fix #46044) 2009-01-07 16:32:08 +00:00
andy wharmby 1f56f22fa3 New pcre extension tests. Tested on Windows, Linux and Linux 64-bit 2009-01-07 14:52:26 +00:00
Derick Rethans 8ef259994f - MFH: Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject). 2009-01-07 14:36:07 +00:00
andy wharmby c41cc6aaed New hash extension tests. Tested on Windows, Linux and Linux 64-bit 2009-01-07 14:32:46 +00:00
Pierre Joye 4f70499923 - fix regression introduced by the move to the new parsing api (thx Bjori) 2009-01-07 13:49:53 +00:00
Pierre Joye 4b91d9b57a - fix parameter parsing options 2009-01-07 13:46:13 +00:00
Pierre Joye 7dff2f8550 - declaration and impl match 2009-01-07 13:02:43 +00:00
Pierre Joye 27b89ad09b - remove PHP_FE(dl) (actually removing the commented PHP_FE, was commited with my dns patch for win) 2009-01-07 08:53:47 +00:00
Pierre Joye b7063014da - sanity check if we got an A as well (valid too but not desired) 2009-01-07 01:35:36 +00:00
Ilia Alshanetsky 194fff3551 Param parsing cleanup 2009-01-06 23:45:16 +00:00
Pierre Joye 6f1a0edb11 - these ifdefs are a mess, fix build on win 2009-01-06 23:37:28 +00:00
Pierre Joye 789367bd7e - [DOC] VC6 does not have NAPTR 2009-01-06 23:23:28 +00:00
Pierre Joye 8afdcba444 - fix build 2009-01-06 21:47:13 +00:00
Pierre Joye c83e0d50d0 - add multi threaded build support (automatic detection of the number of cpus, add a custom number if you prefer to use only a few of your available cores) 2009-01-06 20:50:57 +00:00
Pierre Joye 3c967db4a1 - [MFH]
- [DOC] add support for all DNS function on Windows
  - dns_check_record  (and its alias  checkdnsrr)
  - dns_get_record
   - IPV6 specific info not available yet:
     . AAAA info is available only on vista/2k8 for now
     . A6 info is not available
  - dns_get_mx (and its alias getmxrr)
2009-01-06 20:48:21 +00:00
Pierre Joye 86ae6a2676 - add DNSApi for the DNS functions 2009-01-06 20:46:36 +00:00
Uwe Schindler 3d4c47e2e5 MFH: the #ifdef was never working. If Sun extends its NSAPI to support subrequests, much of this code must be rewritten. Because of that it is better to have a clean start. This commit does not change behaviour. 2009-01-06 13:46:20 +00:00
Felipe Pena 9e831698f6 - Fix for #46701 merged into 5_2 2009-01-06 01:31:33 +00:00
Felipe Pena aea77fd164 - New test 2009-01-05 22:17:28 +00:00
Felipe Pena 7454cbd7f3 - BFN 2009-01-05 20:46:52 +00:00
Felipe Pena f8689552a4 MFH:
- Fixed bug #46701 (Creating associative array with long values in the key fails on 32bit linux)
Patch by Shire
2009-01-05 20:31:54 +00:00
Ilia Alshanetsky f0240a0382 MFB: Improved parameter handling 2009-01-05 16:24:26 +00:00
Antony Dovgal 9b9cd5421d create temporary db in the current dir and cleanup on completion 2009-01-05 16:02:04 +00:00
Antony Dovgal 24163ce0b2 fix ws 2009-01-05 11:14:43 +00:00
Antony Dovgal fde1c3d332 MFH: only add "# original source" if a redirect is active 2009-01-05 09:19:09 +00:00
Antony Dovgal dc7aa2a949 fix memleaks correctly and make valgrind happy 2009-01-05 09:14:58 +00:00
Pierre Joye c6f6997504 - fix build 2009-01-04 20:18:57 +00:00
Ilia Alshanetsky 96b1c50ea9 Added missing initialization 2009-01-04 16:31:12 +00:00
Antony Dovgal fab5be7f21 MFH: fix PDO and other 'redirected' tests - add that "# original source" line only if the test fails 2009-01-04 15:56:45 +00:00
Antony Dovgal 543a554da9 fix test 2009-01-04 15:21:56 +00:00
Marcus Boerger edc7e3054e - MFH Add compiler globals as 2009-01-04 15:20:19 +00:00
Antony Dovgal 64b5048d80 MFH 2009-01-04 15:19:57 +00:00
Marcus Boerger 8e741674af - MFH - Set scope when copying a closure with a new this pointer. 2009-01-04 14:23:29 +00:00
Felipe Pena 08a25290e7 MFH:
- Removed unnecessary repeated arginfos
- Changed sqlite3stmt and sqlite3result to ZEND_ACC_PRIVATE to avoid reflection instantiation
2009-01-03 22:08:38 +00:00
Marcus Boerger 7c8c0414e1 - MFH Minor corrections and a new test 2009-01-03 20:41:01 +00:00
Marcus Boerger 4ffc3235e3 - MFH Show closure's bound as static parameter 2009-01-03 20:04:22 +00:00
Marcus Boerger b5d15b2975 - MFH Prevent instantiation from Reflection 2009-01-03 19:29:55 +00:00
Marcus Boerger 12df96e0de MFH
- Add ReflectionFunctionAbstract::getClosureThis()
[DOC]
# Returns the this pointer bound to the closure is the relection object
# points to closure. Since not all closures have a bound this, the method
# cannot be used to differentiate between normal functions/methods and
# closures. Instead ReflectionFunctionAbstract::isClosure() has to be used.
2009-01-03 19:08:47 +00:00
Marcus Boerger 4651b7f635 - MFH Overlooked one instance number 2009-01-03 18:50:56 +00:00
Marcus Boerger b7bb8034b5 - MFH Fix refcounting 2009-01-03 18:22:20 +00:00
Marcus Boerger 0e131653c1 - MFH Rebind closure when binding to property 2009-01-03 17:48:40 +00:00
Marcus Boerger 7ca830742e - MFH Improved closure support 2009-01-03 14:20:22 +00:00
Marcus Boerger 4490ca3104 - MFH Add minimalistic closure support 2009-01-03 12:39:27 +00:00
Marcus Boerger d9a78a887f - MFH Add reflection support helpers 2009-01-03 12:25:59 +00:00
Felipe Pena acd8f0020e - MFH: Windows part 2009-01-03 00:06:33 +00:00
Felipe Pena 5b2bb471f7 - MFH: Errr, rule nº 1: be portable :) 2009-01-02 21:42:52 +00:00
Felipe Pena 9c2043d41a - MFH: Working with unintialized errno (#46917, noticed by Jost Boekemeier) 2009-01-02 21:28:28 +00:00
Felipe Pena bfcea7ffa8 - MFH: Year++ 2009-01-02 20:45:43 +00:00
Ilia Alshanetsky 6ca15bfe0f Fixed a possible crash when phar_create_signature() fails 2009-01-02 20:43:41 +00:00
Marcus Boerger 2aba368462 - MFH Catch exceptions in cli -a 2009-01-02 13:14:49 +00:00
Kalle Sommer Nielsen 46dc120cdc MFH: Check if configure script was copied, and output an error if it wasn't 2009-01-02 12:18:21 +00:00
Kalle Sommer Nielsen 7c12271a56 MFH: Redirect the "1 file(s) copied" message to nul 2009-01-02 05:51:20 +00:00
Andi Gutmans 8accd1addc - Remove NO_RECURSE as it causes a huge performance impact. Up to 50%
with Wordpress. Stack size is not really anymore of an issue than on
  Linux with FastCGI (php-cgi.exe). For ISAPI it may be an issue but we
  have other places where we may eat up stack.
2009-01-02 04:59:41 +00:00
Scott MacVicar 81c5f379e7 Add some missing NEWS items 2009-01-02 03:04:50 +00:00
Scott MacVicar 0bdbc4e356 MFH Fix bug #46944 - UTF-8 characters outside the BMP aren't encoded correctly. 2009-01-02 03:02:22 +00:00
Pierre Joye 8d62f3dd02 - fix build (declaration first please) 2009-01-02 01:50:13 +00:00
Pierre Joye 206a7cef30 - year++ 2009-01-02 00:39:14 +00:00
Pierre Joye ee86a20296 - fix filename property read 2009-01-02 00:10:20 +00:00
Pierre Joye d00fb8b360 - MFB: restore overwrite feature (regression introduced in 5.2.8) 2009-01-02 00:07:57 +00:00
Pierre Joye 14f2f4148c - MFB: restore fix for binary mode on win (regression introduced in 5.2.8) 2009-01-02 00:04:33 +00:00
Ilia Alshanetsky 7b5baaac9b BFN 2009-01-01 20:16:33 +00:00
Ilia Alshanetsky fec58a89ee Fixed bug #46844 (php scripts or included files with first line starting
with # have the 1st line missed from the output).
2009-01-01 20:16:24 +00:00
Marcus Boerger 480fccce37 - MFH Add var_dump support for closures 2009-01-01 16:22:44 +00:00
Marcus Boerger 41cc091141 - MFH Fix SEGV if get_method() returns a non bound function 2009-01-01 15:28:15 +00:00
Pierre Joye 438c4cfacc - MFH: expose glob and globfree on wi ndows, can be used by shared ext (core or extern) 2009-01-01 12:32:49 +00:00
Kalle Sommer Nielsen 2f2d910797 MFH:
[DOC] Renable socket_create_pair() on Windows

# ext/sockets have its own implementation of socketpair(), perhaps we should move it
# to the core. This will make stream_socket_pair() available on Windows aswell
2009-01-01 05:24:29 +00:00
Zoe Slattery 455b551314 removing xfail sections as test passes 2008-12-31 20:45:04 +00:00
Zoe Slattery ded4196c10 removing xfail sections as test passes 2008-12-31 20:30:09 +00:00
Zoe Slattery 380214bedb removing xfail sections as test passes 2008-12-31 20:21:00 +00:00
Zoe Slattery 6d246c060b new test from Nat Mcugh 2008-12-31 20:06:26 +00:00
Pierre Joye e266d17a44 - enable gehostname on windows [DOC] 2008-12-31 19:47:13 +00:00
Marcus Boerger d02bb82d72 - Fix windows build (missing MFH snippet) 2008-12-31 18:55:22 +00:00
Zoe Slattery 89743669d2 Fixed bug #46845 Test expected to fail, but pass, don't cause error 2008-12-31 17:35:50 +00:00
Marcus Boerger 88f19296c9 - Add needed include as reported by Pierre 2008-12-31 17:33:05 +00:00
Antony Dovgal 85af2a05db MFH: don't use WRONG_PARAM_COUNT with new param parsing API 2008-12-31 15:48:18 +00:00
Felipe Pena eca64a8f60 - BFN 2008-12-31 15:45:59 +00:00
Felipe Pena 3d2edc7c1c - MFH: Fixed bug #46973 (IPv6 address filter rejects valid address) 2008-12-31 15:03:18 +00:00
Hannes Magnusson 1ceaa1de72 Nuke unused variables 2008-12-31 14:45:14 +00:00
Marcus Boerger 88ca8e7279 - Use Revision instead of Id tag for version 2008-12-31 14:36:27 +00:00
Ilia Alshanetsky 540242dc2d [DOC]
Added gethostname() to return the current system host name.
2008-12-31 14:30:38 +00:00
Marcus Boerger f77719d800 MFH
- Changed dl() to be disabled by default. Enabled only when explicitly
  registered by the SAPI layer. Enabled only with CLI, CGI and EMBED. (Dmitry)
[DOC]
2008-12-31 14:27:09 +00:00
Marcus Boerger 2faea53de2 - Sync with HEAD, no ability to not start builtin functions 2008-12-31 14:05:22 +00:00
Marcus Boerger 0bbbe42156 - MFH Fix info output 2008-12-31 13:49:14 +00:00
Marcus Boerger 8797aa99b7 MFH
- Register engine classes when and where they should be
- Show core module version as PHP version
2008-12-31 13:25:21 +00:00
Marcus Boerger 7d9e04000c - MFH Do not show core ini entries twice 2008-12-31 12:52:39 +00:00
Marcus Boerger 8bdeb10a08 - MFH Fix test 2008-12-31 12:33:12 +00:00
Marcus Boerger 63d00f7006 - MFH Move stdClass registering where it should be 2008-12-31 12:26:33 +00:00
Sebastian Bergmann 08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Sebastian Bergmann 3c1ed020c7 MFH: Bump copyright year, 2 of 3. 2008-12-31 11:13:54 +00:00
Sebastian Bergmann 06de2c4de2 MFH: Bump copyright year, 1 of 3. 2008-12-31 11:13:47 +00:00
Ant Phillips 666759bc73 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-31 10:36:12 +00:00
Etienne Kneuss b296c25ba2 MFH: Fix #45820 (Empty ArrayObject keys not allowed) 2008-12-30 23:34:29 +00:00
Marcus Boerger 826cc0dc3d - MFH Provide a core module that contains all Zend and php/main (in 5.3 incl. stdClass) 2008-12-30 20:15:28 +00:00
Andrei Zmievski cae97c3b8e MFH 2008-12-30 19:37:35 +00:00
Ilia Alshanetsky bead44c487 MFB: Fixed bug #46964 (Fixed pdo_mysql build with older version of MySQL). 2008-12-30 19:11:13 +00:00
Marcus Boerger aab40960c6 - MFH Show version and ini entries as default module info. 2008-12-30 19:10:37 +00:00
Marcus Boerger d6d4121546 - MFH Do not show empty ini directive tables for modules without ini entries. 2008-12-30 19:08:54 +00:00
Hannes Magnusson 7cfc6b9116 Fix arginfo and proto 2008-12-30 18:55:16 +00:00
Marcus Boerger ff037203c7 MFH Use a module struct for the built-in functions 2008-12-30 18:17:44 +00:00
Ant Phillips f17c2db736 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-30 16:49:43 +00:00
Zoe Slattery 553d34e811 refixing missing skipif 2008-12-30 15:57:23 +00:00
Felipe Pena e33a951c58 - MFH Added missing check for void param. (patch by Kalle) 2008-12-30 12:50:16 +00:00
Felipe Pena 9212a9584e - MFH: Bug #46763 (mb_stristr() wrong output when needle does not exist) (patch by Henrique M. Decaria) 2008-12-30 02:17:30 +00:00
Jani Taskinen c168107cbf This is not TODO file.. 2008-12-29 09:58:18 +00:00
Felipe Pena 19eae50153 - Errr, I lost the practice ;D 2008-12-28 00:02:13 +00:00
Felipe Pena 82be2f6f34 - BFN #46957 2008-12-27 23:59:43 +00:00
Felipe Pena cfe152206c - Bug #46957 (The tokenizer returns deprecated values) 2008-12-27 23:16:56 +00:00
Hannes Magnusson b21891361f MFH: Nuke more removed extensions 2008-12-27 21:03:53 +00:00
Hannes Magnusson 51ab4da07a MFH: - Add missing INI entries (pdo_odbc, odbc/birdstep, sybase_ct)
MFH: - Remove entries from removed extension (ifx
2008-12-27 20:55:06 +00:00
Hannes Magnusson e88e432b44 MFH: Add sysvshm.init_mem.
[DOC] Looks like this setting has always been available
2008-12-27 20:28:38 +00:00
Antony Dovgal 16fef2c6b0 MFH 2008-12-27 20:23:12 +00:00
Antony Dovgal 16df93413f MFH: fix compile warning 2008-12-27 20:22:10 +00:00
Antony Dovgal 4f447b39a5 add missing .cvsignore 2008-12-27 20:03:49 +00:00
Felipe Pena 90e87528b4 - Fixed tests 2008-12-27 19:16:49 +00:00
Felipe Pena e13d011551 - MFH: Fixed code (comparison with string literal) 2008-12-27 19:06:48 +00:00
Felipe Pena 2f2fb609df - MFH: Fixed memory leaks 2008-12-27 13:32:24 +00:00
Rob Richards b3f4191d35 MFH: proper exports/imports for win32 2008-12-27 12:22:38 +00:00
Rob Richards 8fc5e99478 MFH: add missing exports 2008-12-27 12:16:12 +00:00
Brian Shire b4141cc424 MFH: fix explode behavior to respect negative limit when string is empty. 2008-12-27 05:15:51 +00:00
Arnaud Le Blanc 2dd8d6ff94 MFH: Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists) 2008-12-27 03:06:57 +00:00
Felipe Pena 765618b97f - Fix test 2008-12-27 01:19:49 +00:00
Rob Richards 90b040b7d0 MFH: force export on win32 to workaround win32 conig issues 2008-12-27 01:07:49 +00:00
Felipe Pena 4cf4b5bf44 - MFH: Fix test 2008-12-27 01:05:07 +00:00
Rob Richards 5690e188da MFH: properly export functions 2008-12-26 20:28:43 +00:00
Pierre Joye 50d26a85a6 - remove the temp hack for libxml path (fixed now)
- do not raise a warning if the extension was not enabled anyway
2008-12-26 14:13:38 +00:00
Pierre Joye b593dfa388 - MFB:
- usual suspects must be in the default include/lib path (thx Rob for the notice!)
  - fix the --wtih-php-build doc, remove dead url, update the name of the deps dir
2008-12-26 14:11:44 +00:00
Pierre Joye bfa5044bb3 - be sure we define the deps so the right exts are built before (dom symbol error) 2008-12-26 14:05:05 +00:00
Felipe Pena 84c12b2df4 - MFH: Fixed memory leak 2008-12-25 19:30:47 +00:00
Scott MacVicar 6267a33aba MFH Enable salsa hashing algorithm 2008-12-25 13:35:05 +00:00
Pierre Joye be4a8abd0c - add libxml cflag for shared and static 2008-12-25 01:00:26 +00:00
Pierre Joye b73aec3e08 - work around missing libxml include path (will be replaced by a PHP_SETUP_LIBXML macro) 2008-12-25 00:47:32 +00:00
Pierre Joye 63fe8179d0 - MFH: be sure that at least one SAPI has been selected 2008-12-25 00:09:49 +00:00
Pierre Joye 15fa3c1d93 - MFH: the config summary is a must, do not allow to disable it 2008-12-25 00:08:51 +00:00
Pierre Joye 68bf21ecad - MFH: disable simplexml when libxml is not enabled 2008-12-25 00:01:10 +00:00
Scott MacVicar 3fb7f05991 MFH Stop using sqlite3_aggregate_count() as this is now deprecated. 2008-12-24 19:22:16 +00:00
Scott MacVicar 4b3197a9cd BFN 2008-12-24 18:11:41 +00:00
Scott MacVicar 7fe245af85 MFH Make sure we clear out the error when the scalar version decoding works. 2008-12-24 18:09:09 +00:00
Scott MacVicar db73c5ec74 MFH Fix bug #45991 - UTF-8 BOM breaks ini parser 2008-12-24 13:49:31 +00:00
Felipe Pena b4caf5314f - MFH: Fixed memory leak in imap_rfc822_parse_adrlist 2008-12-24 13:31:16 +00:00
Felipe Pena da9a15d586 - New test 2008-12-24 11:51:04 +00:00
Pierre Joye 0696223079 - version and WS 2008-12-24 11:08:14 +00:00
Felipe Pena fa28710039 - Merged into 5.3 2008-12-24 00:46:09 +00:00
Felipe Pena 6651864c25 - Sync code with HEAD
- [DOC] Backported: shm_has_var()
2008-12-24 00:23:18 +00:00
Scott MacVicar 372256b002 MFH Remove all of the stuff we have in here for pre PHP 5.2 support and memset the fileinfo struct. 2008-12-22 16:45:07 +00:00
Scott MacVicar 178e0c726e MFH Enable ICU support within bundled SQLite if intl is enabled but not shared. 2008-12-22 16:43:21 +00:00
Etienne Kneuss dbd703131d MFH: Fix #46646 (Implement zend functions to restrict serialization or internal classes) 2008-12-22 14:19:47 +00:00
Etienne Kneuss f48d22afa1 MFH: Fix #46646 (Implement zend functions to restrict serialization or internal classes) 2008-12-22 14:11:49 +00:00
Scott MacVicar 3c1e53deb4 MFH Patch has the wrong filename 2008-12-22 13:26:25 +00:00
Scott MacVicar 1465ea28ef BFN 2008-12-22 13:24:47 +00:00
Scott MacVicar 366fe43d79 MFH SQLite 3.6.7 plus a vc6 backport for LL 2008-12-22 13:22:25 +00:00
Scott MacVicar ec8c4723b0 BFN 2008-12-19 02:05:32 +00:00
Scott MacVicar fdf2d1e46f MFH Add json_last_error() for getting a bit of information about what failed during a decode, also fixes a segfault when we have [1}
[DOC]
2008-12-19 02:00:57 +00:00
Pierre Joye c310143ac7 - MFH: no need to look for bindlib_w32, not used anymore 2008-12-18 23:21:22 +00:00
Derick Rethans e5491af3c5 - MFH: Fixed bug #46268 (DateTime::modify() does not reset relative time
values).
2008-12-18 20:32:23 +00:00
Ilia Alshanetsky c9f030f576 Fixed bug #46887 (Invalid calls to php_error_docref())
# Patch by oeriksson at mandriva dot com and crrodriguez at opensuse dot org
2008-12-18 20:02:20 +00:00
Arnaud Le Blanc 0cd7fdd99f MFH: Fixed test 2008-12-18 16:04:59 +00:00
Robin Fernandes bd7f18ab4f Additional output buffering tests. 2008-12-18 15:20:07 +00:00
Derick Rethans aea378c91c - MFH: Fixed bug #46889: Memory leak in strtotime(). 2008-12-18 14:55:36 +00:00
Stanislav Malyshev 47769245ad bug #46005 -> 5.2 2008-12-18 14:30:13 +00:00
Ilia Alshanetsky 9c97213e0b Fix a small portion of memory leak in bug #46889 2008-12-17 21:32:29 +00:00
Scott MacVicar 6393540c75 MFH Fix Windows build 2008-12-17 15:46:21 +00:00
Zoe Slattery fee9ce41f3 README for ext/imap tests 2008-12-17 15:36:06 +00:00
Zoe Slattery b8a79234df Miscellaneous tests for ext/imap 2008-12-17 15:07:30 +00:00
Scott MacVicar e5587ee4cc MFH Test for bug #45791 2008-12-17 14:46:47 +00:00
Scott MacVicar 8ef7fe1d99 Update the JSON parser with that on json.org, biggest change here is code readability. Less magic numbers in the state table.
Add missing reflection information to json_encode()
Fixes bug #45791 with 0e0 not being supported as a value
Error values are stored when encountered during parsing
2008-12-17 14:40:06 +00:00
Jani Taskinen 77a63540a5 MFH:- Fixed bug #45161 (Reusing a curl handle leaks memory) 2008-12-17 14:13:40 +00:00
Jani Taskinen 3ce9e6d6d9 MFH 2008-12-17 14:00:20 +00:00
Zoe Slattery 7156227045 New FTP test from Nathaniel McHugh 2008-12-17 12:35:26 +00:00
Stanislav Malyshev c0346a304f report fix 2008-12-17 11:36:34 +00:00
Stanislav Malyshev 40cd1d49b3 MFH fix #46005 2008-12-17 11:34:50 +00:00
Ilia Alshanetsky 5856a68c8d Removed unused variable 2008-12-17 00:30:27 +00:00
Zoe Slattery 78d7ff706e bug #46837 fix 2008-12-16 21:35:01 +00:00
Zoe Slattery 92d3eb31b7 bug #46884 fix 2008-12-16 21:10:16 +00:00
Rob Richards 5fa06bbe64 BFN 2008-12-16 12:54:05 +00:00
Rob Richards c373356f45 MFH: fix bug #46849 (Cloning DOMDocument doesn't clone the properties)
fix some warnings
add test
2008-12-16 12:53:29 +00:00
Steve Seear da35833236 call_user_func_array() tests 2008-12-15 14:11:57 +00:00
Zoe Slattery 32d03cc340 fixed test 2008-12-15 13:17:53 +00:00
Stanislav Malyshev feb50cd762 initialize op1 2008-12-15 11:29:36 +00:00
Lars Strojny 29f49d2ded If a wrapper could not be found it is either a typo or a configuration issue. But in both cases it is critical enough to warn the user. 2008-12-14 16:25:37 +00:00
Pierre Joye ea7c47c97d - fix build 2008-12-14 16:25:15 +00:00
Ilia Alshanetsky 830be669cc Simplify code 2008-12-14 15:34:49 +00:00
Johannes Schlüter e23b2b3fa5 MFH (Use the same test fiel as in HEAD) 2008-12-13 22:23:29 +00:00
Lars Strojny e34f9a87ac Cleanup: remove trailing whitespaces 2008-12-13 15:06:53 +00:00
Lars Strojny dda00318d9 One len variable is enough here, we can reuse it 2008-12-13 15:06:20 +00:00
Marcus Boerger fcf784502e MFH Use ' -f' as requested 2008-12-13 14:49:39 +00:00
Pierre Joye d4b63c8d7e - fix builds for VC8+, strnlen is available in vc8 and later (used in spprintf.c) 2008-12-13 11:47:06 +00:00
Pierre Joye 33d110f8f8 - do not add .cvsignore to the tests package 2008-12-13 11:46:23 +00:00
Kalle Sommer Nielsen 68ff190aaa Already in 5.2 NEWS 2008-12-13 05:31:15 +00:00
Andrei Zmievski 568b146480 Fix tests, add NEWS entry. 2008-12-12 23:59:48 +00:00
Nuno Lopes f2f7ed4987 we do not need the strndup() now that php_stream_printf() handles non-null terminated strings correctly 2008-12-12 23:46:05 +00:00
Nuno Lopes 7c910b94cf make *printf() functions do not read strings past their specified length (if any) 2008-12-12 23:43:18 +00:00
Scott MacVicar 1b72ac1301 BFN 2008-12-12 23:21:22 +00:00
Scott MacVicar ed5f04710b MFH Fix bug #45989 - json_decode() doesn't return NULL on certain invalid strings 2008-12-12 23:19:47 +00:00
Andrei Zmievski dddbfccb9f MFH 2008-12-12 19:20:49 +00:00
Hannes Magnusson f6cf54d2b1 Fixed bug#46847 (phpinfo() is missing some settings.) 2008-12-12 13:07:28 +00:00
Hannes Magnusson 259715e69b BFN 2008-12-12 12:46:24 +00:00
Hannes Magnusson e5c13558e8 MFH: Fixed bug#46681 (mkdir() fails silently on PHP 5.3) 2008-12-12 12:44:48 +00:00
Antony Dovgal f090e83eaf fix test 2008-12-12 12:14:00 +00:00
Rob Richards ca954ad613 MFH: fix bug #46699: (xml_parse crash when parser is namespace aware)
fix a couple warnings
add test
2008-12-12 04:16:21 +00:00
Ilia Alshanetsky 0594dd91d3 Fixed a possible corruption inside PDOStatement::debugDumpParams() 2008-12-11 15:32:24 +00:00
Pierre Joye 162b0b612a - MFB: fix build 2008-12-11 15:31:31 +00:00
Pierre Joye 9d6e793b4b - MFH: fix build (was never used like that before recent commit to session) > local include use quotes not <> 2008-12-11 13:12:22 +00:00
Stefan Esser 1940a3aa91 Added test for magic_quotes_gpc 2008-12-11 13:05:53 +00:00
Antony Dovgal 0c0bb70ba9 add missing .cvsignore 2008-12-11 10:59:31 +00:00
Antony Dovgal 4df574285a MFH 2008-12-11 10:58:56 +00:00
Pierre Joye cd57fe323d - WS 2008-12-11 10:22:12 +00:00
Ant Phillips 4faa1f1624 MCrypt tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows and Linux but not Linux 64 bit or 5.3). 2008-12-11 10:21:38 +00:00
Scott MacVicar 4d391cdebd BFN 2008-12-11 02:58:22 +00:00
Scott MacVicar 7877cbdcfc MFH Fix bug #46738 - Segfault when mb_detect_encoding() fails. 2008-12-11 02:56:45 +00:00
Lars Strojny 1f4fd81a27 Fixing strict warning when null is passed 2008-12-11 02:37:36 +00:00
Scott MacVicar 2ea6780873 MFH Fix bug #35975 - Session cookie expires date format isn't the most compatible. Sync to that of setcookie(). 2008-12-11 01:21:35 +00:00
Pierre Joye 38b1e4c702 - ws 2008-12-11 00:13:48 +00:00
Ilia Alshanetsky 0f51787f74 Fixed bug #46798 (Crash in mssql extension when retrieving a NULL value
inside a binary or image column type)
2008-12-10 20:53:44 +00:00
Scott MacVicar fdb9b62cef MFH Fix segfault and potential security issue in imagerotate(). 2008-12-10 13:32:02 +00:00
Ant Phillips bd266a5bbf Test for bug #43841 2008-12-10 10:34:15 +00:00
Nuno Lopes c61d5627ba export the pcre API when compiling with gcc 4. this fixes e.g. the linkage of APC (reported by shire) 2008-12-10 10:16:14 +00:00
Pierre Joye d6f27e909c - c/p error. 2008-12-10 09:49:59 +00:00
Arnaud Le Blanc f5b2818225 MFH: fixed test 2008-12-09 22:53:42 +00:00
Johannes Schlüter d828b8acc0 MFH: Fix #46813 (class_exists doesn`t work with fully qualified namespace) 2008-12-09 19:17:11 +00:00
Pierre Joye a8578a5ab1 - double declaration and comments cleanup 2008-12-09 17:57:59 +00:00
Pierre Joye 9e59295224 - fix VC6 build 2008-12-09 17:54:01 +00:00
Ilia Alshanetsky 780ff63c37 MFH: Fixed bug #46746 (xmlrpc_decode_request outputs non-suppressable error
when given bad data).
2008-12-09 17:22:12 +00:00
Ilia Alshanetsky 9049b6948e Fixed missing initialization of uses when copying a curl handle 2008-12-09 17:17:27 +00:00
Jani Taskinen e967b0fec9 MFH:- Better descriptions for these tests 2008-12-09 16:05:49 +00:00
Jani Taskinen f2c711b132 MFH: fix tests 2008-12-09 15:44:39 +00:00
Jani Taskinen b2a2aaff93 MFH 2008-12-09 15:21:15 +00:00
Antony Dovgal bc41d716a7 fix test 2008-12-09 14:48:41 +00:00
Pierre Joye ef3ec02f6f - MFH: silent conversion warnings as it is not going to be "fixed" any time soon, removing false positive alerts. noise--; 2008-12-09 14:28:54 +00:00
Hannes Magnusson 76a17847c1 Deprecate session_register(), session_unregister() and
session_is_registered() (removed in HEAD)
2008-12-09 14:03:58 +00:00
Zoe Slattery d5f6620091 fix resource id 2008-12-09 13:41:49 +00:00
Hannes Magnusson 4bfd481076 MFH: fix test 2008-12-09 13:02:40 +00:00
Hannes Magnusson 902e9af1c2 Fix test.
You cannot set include_path as empty, and never could
2008-12-09 12:54:01 +00:00
Jani Taskinen ed4d53ff56 MFH 2008-12-09 10:53:47 +00:00
Jani Taskinen 57804f29d3 style 2008-12-09 10:50:08 +00:00
Hannes Magnusson f9bc85a19b Whoops. Missing bit from the open_basedir tightening MFH 2008-12-09 10:23:44 +00:00
Hannes Magnusson 76669fce23 MFH: - Changed open_basedir to allow tightening in runtime contexts. (Sara)
- Add test
2008-12-09 10:20:11 +00:00
Hannes Magnusson ac30b3a8de BFN 2008-12-09 10:12:21 +00:00
Hannes Magnusson a2f63f583b Fixed bug#46811 ini_set() doesn't return false on failure 2008-12-09 10:11:21 +00:00
Hannes Magnusson 336cb15d69 MFH: - Changed opendir/dir/scandir to use default context when no context argument is passed. (Sara) 2008-12-09 09:03:38 +00:00
Scott MacVicar d8edbd2729 Add test for the recent magic_quotes_gpc regression. 2008-12-09 01:47:57 +00:00
Pierre Joye a6841bf66b - MFH:
- buildconf accepts arguments (pecl dir for ex.)
 - copy configure.bat
2008-12-08 22:42:28 +00:00
Pierre Joye 10f2b1519b - MFH: add configure script 2008-12-08 22:39:55 +00:00
Zoe Slattery 6cf2385268 tests for imap_fetch_overview 2008-12-08 19:12:39 +00:00
Jani Taskinen 733abc019a - Sync with HEAD 2008-12-08 12:36:10 +00:00
Scott MacVicar 15a212b259 MFH Fix bug #46748, segfault when SSL has more than one error message. 2008-12-08 11:54:22 +00:00
Sanjay Mantoor fb6ae89566 New testcases for idate function 2008-12-08 10:48:22 +00:00
Stanislav Malyshev 1235a544af improve Windows version detection 2008-12-08 07:32:14 +00:00
Marcus Boerger c727b68ca1 - MFH Only show switch -y if available 2008-12-08 00:16:05 +00:00
Marcus Boerger 43c7b7f679 - MFH When installing phar, make phar a link to phar.phar 2008-12-07 23:57:40 +00:00
Matt Wilmas a31c7ebdff MFH: Fixed bug #46782 (fastcgi.c parse error) 2008-12-07 10:55:16 +00:00
Scott MacVicar e5e17578bf MFB: Back out bugfix for #42718 as this broke magic_quotes_gpc 2008-12-06 17:25:35 +00:00
Marcus Boerger e244527833 - MFH Remove more dead code 2008-12-06 15:24:47 +00:00
Marcus Boerger dbee447265 - MFH Drop dead code 2008-12-06 15:16:00 +00:00
Zoe Slattery dcdd18e01e More changes to allow the same tests to be used with PHP5 and PHP6 2008-12-06 12:00:37 +00:00
Robin Fernandes 2057a9a3f9 Add some class related tests, fix hard-coded object ID in serialize_001.phpt. 2008-12-05 22:12:07 +00:00
Rob Richards 64a1f04f17 MFH: fix arginfo - these also accept SimpleXMLElement 2008-12-05 18:35:43 +00:00
Zoe Slattery 9271f52838 FTP test from Nathaniel McHugh 2008-12-05 16:28:16 +00:00
Ant Phillips fc8a260a92 Remove duff comment produced by the test generator tool 2008-12-05 14:18:02 +00:00
Ant Phillips 1a9de83ddf MBString tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-05 14:01:49 +00:00
Ant Phillips 4a78652f34 MBString tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-05 13:10:48 +00:00
Ant Phillips 3ccae5954e Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-05 12:42:15 +00:00
Mikko Koppanen aab5212b32 Added test for bug #46739 2008-12-05 11:21:44 +00:00
Zoe Slattery 7b4f84770f Update to use norsh flag 2008-12-05 11:02:04 +00:00
Derick Rethans 9d1eca8ee1 *** empty log message *** 2008-12-04 14:55:19 +00:00
Mikko Koppanen 57caba14ea Fixes bug #46739 2008-12-04 13:13:22 +00:00
Johannes Schlüter a2266a7782 Back to -dev 2008-12-03 21:01:52 +00:00
Johannes Schlüter abe7bc1433 fix vi user error 2008-12-03 20:44:51 +00:00
Felipe Pena 5341de4a9d - Fixed strange typos 2008-12-03 20:44:15 +00:00
Johannes Schlüter 2cfbe8c9ff 5.3.0. Alpha 3 2008-12-03 20:40:59 +00:00
Johannes Schlüter cf4a811b57 MFH One more cleanup after running tests 2008-12-03 20:30:44 +00:00
David Soria Parra fe8d326d57 Fix test for auto_cflags and explictly set GCC="no" if we detect suncc 2008-12-03 19:53:45 +00:00
David Soria Parra 2b830291bb Fix cc detection in phpize according to changes in configure.in 2008-12-03 19:52:59 +00:00
Ant Phillips 3fb86b0b9e XML tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-03 19:09:14 +00:00
Zoe Slattery c9fff9cc2d bug #46731 modification to previous fix 2008-12-03 16:52:04 +00:00
Felipe Pena 3c227429b2 - Coverage++ 2008-12-03 16:20:59 +00:00
Ant Phillips f23dfd498f Put bug number in the XFAIL section for cross referencing 2008-12-03 12:38:32 +00:00
Scott MacVicar 7a174e1701 BFN, just some missing NEWS entries 2008-12-03 11:59:16 +00:00
Johannes Schlüter 22f0005f02 Update credits 2008-12-03 11:45:31 +00:00
Johannes Schlüter ad44e25339 Cleanup after running the tests ...
# I wonder we such basic tests fail and with an XFAIL a reason would be nice
2008-12-03 11:28:13 +00:00
Johannes Schlüter 76b988475a MFH: Fix tests (use a in-memory database not a file called memory) 2008-12-03 11:00:31 +00:00
Antony Dovgal b9653b8358 MFH 2008-12-03 10:18:42 +00:00
Ilia Alshanetsky a3a73148aa Fixed bug #46731 (Missing validation for the options parameter of the
imap_fetch_overview() function).
2008-12-03 01:04:13 +00:00
Matt Wilmas fafa7f2709 Fixed error message typo 2008-12-03 00:10:17 +00:00
Christian Seiler cb98d43a6a - MFH: Fixed autoconf 2.13 issues with FP checks. 2008-12-02 21:06:50 +00:00
Felipe Pena 00cb5de0ab MFH:
- Fixed memory leaks
- Added new tests (Coverage++)
2008-12-02 21:01:37 +00:00
Derick Rethans 7a28b876e4 - MFH: Fixed bug #46732 (mktime.year description is wrong). 2008-12-02 18:02:16 +00:00
Christian Seiler 1c3d2019b3 #- Updated NEWS file 2008-12-02 16:28:24 +00:00
Christian Seiler 2e32354456 - MFH: Implemented http://wiki.php.net/rfc/rounding 2008-12-02 16:27:15 +00:00
Christian Seiler 04c528609a - MFH: Changed floating point behaviour to consistently use double precision
on all platforms and with all compilers.
2008-12-02 16:19:10 +00:00
Matt Wilmas d5295fc9c8 MFH: Changed logic for LONG_MIN 2008-12-02 14:50:22 +00:00
Ant Phillips 2b1a411806 Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-02 13:32:53 +00:00
Ant Phillips ec1ee12281 Fix broken tests (thanks to Johannes for spotting these). 2008-12-02 10:20:56 +00:00
Pierre Joye ef68d9fc72 - export php_scandir and php_alphasort correctly (used by APC for example) 2008-12-02 10:15:08 +00:00
Johannes Schlüter 4b24c89a9d MFH: hash_insert was renamed in MySQL 5.0 so we can safely use recode and mysql
with recent libmysql versions [DOC]
2008-12-01 23:30:21 +00:00
Johannes Schlüter 1ece804688 MFH: Fix mysql_fetch_* and tests after param parsing changes 2008-12-01 21:20:47 +00:00
Iain Lewis 91ce2d5963 Adding tests for array_multisort 2008-12-01 16:42:13 +00:00
Felipe Pena 8d161f97cd - MFH: Fixed memory leak 2008-12-01 12:27:35 +00:00
Ant Phillips ee934d356b Exif tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-01 12:25:21 +00:00
Ant Phillips 5eaaf3843f DOM tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-01 11:30:10 +00:00
Uwe Schindler f24ac1603c remove unneeded includes (not needed since NSAPI 3.0, wich is very old). This is needed for cleanup of the windows build. 2008-12-01 10:11:09 +00:00
Dmitry Stogov 1a3f557b1a Fixed bug #43069 (SoapClient causes 505 HTTP Version not supported error message) 2008-12-01 09:49:58 +00:00
Pierre Joye bc192e183d - c/p fix, correct description 2008-12-01 00:02:37 +00:00
Pierre Joye f16120e883 - MFB: Enable fix fo #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer overflow) on windows (we use the latest imap) 2008-11-30 23:59:39 +00:00
Ilia Alshanetsky 7f232eba06 BFN 2008-11-30 17:34:07 +00:00
Ilia Alshanetsky fdc286abee Fixed bug #46711 (cURL curl_setopt leaks memory in foreach loops). 2008-11-30 17:30:50 +00:00
Sebastian Bergmann 7eb847cade Update ReflectionProperty::setAccessible() entry. 2008-11-30 10:33:09 +00:00
Hannes Magnusson 97f64c3957 Fix arginfo 2008-11-30 00:23:06 +00:00
Hannes Magnusson ad672f1a93 MFH: Fix proto 2008-11-30 00:12:29 +00:00
Uwe Schindler 482d167a77 MFH: support stat cache of webserver (like apache does) 2008-11-29 23:44:08 +00:00
Felipe Pena 63f6f500a7 - Fixed tests 2008-11-29 22:45:48 +00:00
Uwe Schindler 0bcf89e266 MFH: Some nsapi.h specific ifdefs unified & corrected 2008-11-29 19:57:49 +00:00
Uwe Schindler 7db781fc1b MFH: remove one stat call and replace by cached one 2008-11-29 19:37:06 +00:00
Sebastian Bergmann 2f49305bc8 MFH: Fix #46718: ReflectionProperty::setValue() and ReflectionProperty::setAccessible(). 2008-11-29 15:58:54 +00:00
Uwe Schindler 321b1b6884 MFH:
- Implement the changes needed for http://news.php.net/php.cvs/54228
- Additionally implement flushing in NSAPI and fix some small things
2008-11-29 14:45:51 +00:00
Stanislav Malyshev 09e37bc5ed MFB: init server context before config variables are processed 2008-11-29 00:45:31 +00:00
Stanislav Malyshev f1056a827c MFB: init BG(page_uid) and BG(page_gid) 2008-11-29 00:44:33 +00:00
Johannes Schlüter a022cd1d5e MFH: Change to zend_parse_parameters 2008-11-28 20:38:20 +00:00
Johannes Schlüter cfc3bfdabb MFH: New param parsing for ext/mysql 2008-11-28 20:23:49 +00:00
Matt Wilmas e651a09ddf MFH: Updated description to match docs 2008-11-28 19:06:10 +00:00
Zoe Slattery f5e46d5b15 Committing include files required for tests. Tests and bug reports to follow. 2008-11-28 17:40:14 +00:00
Felipe Pena 9983e2689a - MFH: Fixed memory leaks in createFunction and createAggregate methods 2008-11-28 15:37:02 +00:00
Johannes Schlüter 836dd82c8e MFH: No infinite loop in case the connection broke 2008-11-28 14:38:03 +00:00
Dmitry Stogov 9190796120 Fixed bug #41534 (SoapClient over HTTPS fails to reestablish connection) 2008-11-28 14:20:58 +00:00
Jani Taskinen 225714a080 - remove this too 2008-11-28 13:22:31 +00:00
Dmitry Stogov c5c9e45af9 Fixed bug #46366 (bad cwd with / as pathinfo) 2008-11-28 11:57:02 +00:00
Ant Phillips 775389cd1d Language tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-28 10:41:19 +00:00
Pierre Joye ea5dd34c77 - MFH: fix build 2008-11-27 21:58:38 +00:00
Scott MacVicar 9c11d5e138 MFH Move mhash extension registration code into the hash module startup. This allows extension_loaded('mhash'); to work. 2008-11-27 21:11:55 +00:00
Scott MacVicar ceabdbb483 MFH Add asprintf, use regular system malloc and free and add checks in configure.in for the functions 2008-11-27 19:45:27 +00:00
Dmitry Stogov 7d4fd3fd38 Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:01:23 +00:00
Ilia Alshanetsky d741138a46 Fixed bug #46696 (cURL fails in upload files with specified content-type) 2008-11-27 17:00:04 +00:00
Ant Phillips 12e27a7014 Directory tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-27 14:50:28 +00:00
Dmitry Stogov 725640d82b Fixed bug #44882 (SOAP extension object decoding bug) 2008-11-27 14:49:56 +00:00
Ant Phillips 587363da3c Latest and greatest versions of these session tests - checked on 5.2.X snap on Windows, Linux and Linux 64 bit. 2008-11-27 14:39:33 +00:00
Ant Phillips 45e14cea18 Latest and greatest versions of these session tests - checked on 5.3 snap on Windows, Linux and Linux 64 bit. 2008-11-27 13:50:28 +00:00
Dmitry Stogov f80d26e68a Fixed bug #46427 (SoapClient() stumbles over its "stream_context" parameter) 2008-11-27 11:25:40 +00:00
Scott MacVicar b388624d7d MFH Update libsqlite to 3.6.6.2 2008-11-27 08:46:13 +00:00
Felipe Pena d5bb19938d - MFH: New parameter parsing API 2008-11-27 02:17:22 +00:00
Antony Dovgal a9132bb75f fix test 2008-11-26 11:30:48 +00:00
Felipe Pena 1f89cd329f - New test 2008-11-26 10:17:01 +00:00
Ant Phillips f689708192 File system tests: checked on PHP 5.3 (Windows, Linux and Linux 64 bit). 2008-11-26 10:10:19 +00:00
Arnaud Le Blanc dffdb48c3b MFH: Fixed bug #46673 (stream_lock call with wrong paramater) 2008-11-26 04:19:20 +00:00
Arnaud Le Blanc c5c9fd8b07 MFH: Missed file from commit for #44181 & #44182 2008-11-26 04:08:19 +00:00
Arnaud Le Blanc 18794addbd MFH: Added ENT_IGNORE as a compatibility flag for htmlentities() and
htmlspecialchars() to skip multibyte sequences intead of returning an
empty string (as iconv's //IGNORE). These functions will still never
return an invalid or incomplete multibyte sequence.
Fixes #43896
2008-11-26 03:00:06 +00:00
Arnaud Le Blanc a05edaf2bd MFB 5.2 2008-11-26 02:43:16 +00:00
Arnaud Le Blanc 5b4a154a59 MFH: Fixed bug #42473 (ob_start php://output and headers) 2008-11-26 01:20:31 +00:00
Arnaud Le Blanc 6a6289a90d MFH: Fixed bugs #44181 & #44182 (extract() and references)
(robin_fernandes at uk dot ibm dot com)
2008-11-26 00:59:41 +00:00
Stanislav Malyshev 16dc391f1f cleanup from ::->\ change 2008-11-26 00:57:05 +00:00
Ilia Alshanetsky 87f1f82677 Upgraded bundled sqlite to version 3.6.6.1 2008-11-25 23:50:42 +00:00
Stanislav Malyshev 2016a84cae cleanup 2008-11-25 22:15:22 +00:00
Stanislav Malyshev b2cd1a717a fix tests for array/object BC 2008-11-25 22:13:44 +00:00
Felipe Pena 8f32490ca3 - Fixed bug #46665 (Triggering autoload with a variable classname causes truncated autoload param) 2008-11-25 21:14:23 +00:00
Dmitry Stogov ea45b713c8 Added support for namespaces with brackets. (Greg) 2008-11-25 09:56:32 +00:00
Arnaud Le Blanc cc2c720912 MFH: Fixed endless loop in cli when ignore_user_abort is on 2008-11-25 03:52:00 +00:00
Stanislav Malyshev 281676da26 MFB: fix php_value application order for Apache 2008-11-24 22:23:11 +00:00
Ilia Alshanetsky 24e7e62307 Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly) 2008-11-24 21:23:03 +00:00
Arnaud Le Blanc c3f0c8dd3c MFH 2008-11-24 19:17:34 +00:00
Stanislav Malyshev 45572a498a restore BC for arrays
[DOC] natsort, natcasesort, usort, uasort, uksort, array_flip, array_unique
still won't work with objects
2008-11-24 18:12:17 +00:00
Stanislav Malyshev fce39ed9f7 add object-compatible array modes 2008-11-24 18:10:36 +00:00
David Soria Parra a9282f72a8 MFH: Revert fix for 43782, as it caused problems. 2008-11-24 15:36:47 +00:00
Sanjay Mantoor db0376cf94 Fixed testcsae inputs so that test runs faster 2008-11-24 11:10:02 +00:00
Arnaud Le Blanc a23d168531 MFH: Fixed bug #46649 (Setting array element with that same array produces
inconsistent results)
2008-11-23 20:35:16 +00:00
Felipe Pena 65cfb01eaa - MFH: New parameter parsing API 2008-11-23 20:01:21 +00:00
David Coallier f6b6746f2e - Removed the "unreleased-fix-feature" entry as per Marcus's request
- Made sure to include my PDO fix in the proper 5.3 release
2008-11-22 22:54:17 +00:00
Scott MacVicar 74ee87a631 MFH Patch file for sqlite3 amalgamation so things don't get missed. 2008-11-22 15:44:21 +00:00
Scott MacVicar 49a15f0bd4 MFH Better fix for va_copy since some architectures like to do a deep copy. 2008-11-22 15:16:47 +00:00
David Coallier a9879d34a8 - Added news item for bug #46615 2008-11-22 14:34:00 +00:00
David Coallier 16de7fbd16 - MFH
- Bug #46615
- Return the count - 1 when invoking SplHeap->key()
- Adjusted the tests
2008-11-22 14:19:47 +00:00
Pierre Joye b2e419ef40 - Fix windows build
please keep the fixes while merging the new versions.
   if the updates do not contain the fixes, create a little todo list so it is
   not forgotten (wiki)
2008-11-22 13:41:21 +00:00
Pierre Joye bbb88024ec - make va_copy safer using () around arguments 2008-11-22 13:34:15 +00:00
Scott MacVicar add2b6df3a MFH Fix build on Windows 2008-11-22 12:39:16 +00:00
Scott MacVicar 7ba273e3b5 MFH Error handler isn't properly restored when using fetchObject() with SQLite 2008-11-22 11:48:42 +00:00
Scott MacVicar 2d73897856 MFH Update libsqlite to 3.6.6 2008-11-22 11:06:04 +00:00
Scott MacVicar 3a93ef37c4 MFH Warnings from libmagic should be notices rather than sent to stderr, this fixes a test on Windows 2008-11-22 10:29:05 +00:00
Felipe Pena 01dec97a90 - Missing SKIPIF :( 2008-11-21 22:55:58 +00:00
Felipe Pena a9455b5be6 - MFH: Fixed memory leak in readline_callback_handler_remove() 2008-11-21 22:27:02 +00:00
Scott MacVicar bfbe9a34ab MFH Add vasprintf() so the buffer can be automatically calculated, you need to efree this when done though! 2008-11-21 22:05:03 +00:00
Felipe Pena a7dc862b6d - New tests 2008-11-21 21:44:11 +00:00
Felipe Pena bf90950756 - Fix test 2008-11-21 21:03:35 +00:00
Felipe Pena 8d85566ebe - New tests 2008-11-21 21:00:47 +00:00
Felipe Pena f649d973aa - BFN #46578 2008-11-21 20:36:12 +00:00
Felipe Pena b4150fdc3f - MFH: Fixed bug #46578 (strip_tags() does not honor end-of-comment when it encounters a single quote) 2008-11-21 19:16:50 +00:00
Jani Taskinen 80d5100309 MFH 2008-11-21 16:41:04 +00:00
Pierre Joye 67d86010ae - MFH:
- expose PHP_BUILD in the Makefile
 - ICU 3.8/4.0 are dynamically linked, add $PHP_BUILD\bin to the PATH so php.exe can find them (nmake test, nmake snaps)
2008-11-21 14:18:27 +00:00
Pierre Joye 941749f5ec - MFH: add build type (debug/release) and TS info to the summary 2008-11-21 14:17:33 +00:00
Iain Lewis 28c1803bcf Adding some tests for array_product 2008-11-21 13:00:01 +00:00
Sanjay Mantoor 223c2d002e New testcases for gmmktime function 2008-11-21 06:22:58 +00:00
Felipe Pena 8b00dc3f9e - Changed split() to preg_split() 2008-11-20 23:11:25 +00:00
Felipe Pena e7cd391e21 - BFN 2008-11-20 22:30:51 +00:00
Felipe Pena da067890db - MFH: Fixed memory leaks in readline_completion_function() 2008-11-20 22:25:37 +00:00
Andrey Hristov d43b7b022f MFH:
Windows fixes for mysqlnd
Less warnings + PHPAPI for mysqlnd_poll
2008-11-20 17:21:36 +00:00
Kalle Sommer Nielsen e61c2e8c17 MFH: Fix typo 2008-11-20 16:06:26 +00:00
Mark Karpeles 75b07963e3 - MFH: ext/wddx: classes providing __sleep() are stored without properties (fixed)
- ext/wddx: fixed wddx_add_vars() ignoring first var in php 5.3
2008-11-20 15:55:00 +00:00
Felipe Pena 8258b703c5 - MFH: Fixed memory leak in wddx_add_vars() 2008-11-20 14:48:41 +00:00
Felipe Pena d41c3506f6 - MFH: Added ZEND_FETCH_RESOURCE_NO_RETURN 2008-11-20 14:47:55 +00:00
Mark Karpeles 995deb9aef - MFH: #46496, wddx_serialize treats input as ISO-8859-1 (Mark Karpeles) 2008-11-20 14:14:05 +00:00
Felipe Pena 277c3e4172 - Fixed tests 2008-11-20 13:31:34 +00:00
Felipe Pena 83a6215dcc - Fixed test 2008-11-20 13:27:00 +00:00
Pierre Joye 2295b682a4 - MFH: declarations must be.. 1st 2008-11-20 10:22:55 +00:00
Arnaud Le Blanc 756aef0607 CS 2008-11-19 17:53:47 +00:00
Andrey Hristov e62f5f8f03 MFH:
Fix a small bug that mysqlnd::next_result didn't care about an error in a
multi-statement. In an inner layer the error has been already set, thus it
needed better massage on the top level.
2008-11-19 17:45:43 +00:00
Felipe Pena 83c0eb69ad - Fixed tests 2008-11-19 16:58:28 +00:00
Arnaud Le Blanc a46300ec06 Improved ArrayObject performance (made spl_hash_verify_pos() an O(1)
and removed some spl_array_get_hash_table() calls). Fixes #46039
2008-11-19 14:41:40 +00:00
Felipe Pena 2ea37c7780 - Fixed tests 2008-11-19 11:41:47 +00:00
Pierre Joye 60742c414d - new naming and allow libcurl static build 2008-11-19 09:28:13 +00:00
Etienne Kneuss 5b4c00a1f3 typo 2008-11-19 02:03:26 +00:00
Etienne Kneuss 3919b16f04 MFH: Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 02:00:53 +00:00
Alexey Zakhlestin 202426a1fb new parameter-parsing api 2008-11-18 19:07:47 +00:00
Andrey Hristov 3343619b9a MFH: Fix Windows build, pure C compiler 2008-11-18 18:02:44 +00:00
Felipe Pena 1881091e0f - Deprecate ereg 2008-11-18 17:55:07 +00:00
Andrey Hristov 825034cea5 MFH:
Asynchronous queries for mysqli, when mysqlnd is enabled.
Includes 4 tests for mysqli_poll
2008-11-18 17:02:18 +00:00
Ant Phillips 4126370491 Reflection tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-18 15:36:48 +00:00
Pierre Joye c213742fe2 - MFH: declaration has to be first... 2008-11-18 14:27:09 +00:00
Pierre Joye d316c3e0d1 - MFB: fix title 2008-11-18 02:03:38 +00:00
Pierre Joye d543e3d987 - #41033, enable signing with DSA keys 2008-11-18 01:56:12 +00:00
Felipe Pena 34742e3f13 MFH:
- Changed 'strlen' to use ZEND_FUNCTION(strlen)
- Removed duplicated arginfo structs
2008-11-17 22:21:55 +00:00
Scott MacVicar 4525c2d41e Missed test for previous commit 2008-11-17 21:54:47 +00:00
Scott MacVicar 1858b25407 MFH Add openssl_random_pseudo_bytes() in order to expose access to a PRG, this wraps around whatever the OS provides.
- OpenBSD uses arc4random()
- Windows uses the Windows Crypto API
- FreeBSD, Linux, etc use /dev/random or /dev/urandom if available
[DOC]
2008-11-17 21:54:25 +00:00
Scott MacVicar cd3f5c1fa7 MFH Fix #46033 - Segfault when instantiating SQLite3stmt and SQLite3Result directly. 2008-11-17 19:34:03 +00:00
Stanislav Malyshev 4cb8b8ba40 Improve use syntax
[DOC] use \foo\bar is the same as use foo\bar
2008-11-17 18:00:44 +00:00
Scott MacVicar 0fab3f5b68 MFH Sync libsqlite to 3.6.5 2008-11-17 17:13:55 +00:00
David Soria Parra 978129fd9b MFH: Feature request #46595. Use cc as default compiler and fallback to gcc. 2008-11-17 15:17:49 +00:00
Ant Phillips 0b79202140 Commit tests for ext/reflection 2008-11-17 12:26:43 +00:00
Felipe Pena fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Pierre Joye df3dc8d974 - MFB: skip if pcntl is not present 2008-11-16 23:22:43 +00:00
Pierre Joye c25d835bbe - entry for #46127 2008-11-16 23:15:28 +00:00
Pierre Joye 569a48922e - MFH: #46127, php_openssl_tcp_sockop_accept forgets to set context on accepted stream 2008-11-16 23:14:12 +00:00
Ilia Alshanetsky 4907faecd1 Fixed memory leak inside readline_callback_handler_install() function 2008-11-16 18:00:50 +00:00
Felipe Pena 96ab6ace7c - MFH: Fixed strlen function entry (missing arginfo struct size, thanks Philip!) 2008-11-16 00:45:03 +00:00
Arnaud Le Blanc c6e1b8bc67 MFH: Added stream_cast() and stream_set_options() to user-space stream
wrappers, allowing stream_select(), stream_set_blocking(),
stream_set_timeout() and stream_set_write_buffer() to work with user-space
stream wrappers.
Will document.
2008-11-15 12:52:13 +00:00
Hannes Magnusson dd9e9f26e2 MFH: Interfaces extend other interfaces, not implement 2008-11-14 19:22:43 +00:00
Sanjay Mantoor ccef11d68f New testcases for gmdate function 2008-11-14 09:16:00 +00:00
Arnaud Le Blanc 3b9fce6246 MFH: Fix proto line 2008-11-14 06:00:48 +00:00
Hannes Magnusson 4562ddaba4 MFH: Document the xmlrpc_errors option 2008-11-13 19:06:28 +00:00
Stanislav Malyshev 2a5079e64c [DOC] Add option for error_log to send directly to SAPI logger 2008-11-13 18:48:25 +00:00
Ilia Alshanetsky 9c9b5b3925 Fixed a bug inside dba_replace() that could cause file truncation with
invalid keys
2008-11-13 18:21:40 +00:00
Felipe Pena c29ebd8a23 - MFH: Better fix 2008-11-13 18:14:50 +00:00
Pierre Joye c8103324bf - MFH: declaration goes first... 2008-11-13 14:40:06 +00:00
Arnaud Le Blanc aaaf67e19e Updated header_handler in apache2filter and apache_hooks 2008-11-13 13:41:08 +00:00
Felipe Pena 494dbdb1c1 - MFH: Fixed invalid reads 2008-11-13 13:08:12 +00:00
Arnaud Le Blanc 8c4151ad72 Added header_remove() (chsc at peytz dotdk, Arnaud)
[DOC] proto void header_remove([string header_name])
      Removes an HTTP header previously set using header()
      The header_name parameter is optionnal, all headers are
      removed if it is not set

[SAPIs] The header_handler callback in sapi_module_struct has
           been changed, it now take a new argument.

           When it is set to SAPI_HEADER_DELETE, sapi_header->header is
           the name of an header, header_handler has to delete it.

           When it is set to SAPI_HEADER_DELETE_ALL, header_handler has
           to delete all headers.

           When sapi_header_op_enum is SAPI_HEADER_ADD or _REPLACE,
           sapi_header->header is in the form "Name: value", header_handler
           has to add or replace the given header.

           In all cases, header_handler must not free sapi_header or
           sapi_header->header. SAPI_HEADER_ADD must be returned if the
           header has been added or replaced, or 0 in other cases.
2008-11-13 10:14:04 +00:00
Arnaud Le Blanc 06119f4748 MFH: Added stream_context_get_params() 2008-11-13 05:47:47 +00:00
Felipe Pena 39b1f65aab - Fixed tests 2008-11-13 01:49:51 +00:00
Felipe Pena cd5d85856c - MFH: Fixed macro redefinition warning 2008-11-13 01:35:21 +00:00
Felipe Pena a94cd6d54f - MFH: Fixed a macro redefinition on BSD for different purpose 2008-11-12 23:38:02 +00:00
Felipe Pena 3c121bf15f - MFH: Removed unused variables 2008-11-12 17:26:36 +00:00
Felipe Pena cd0a8efe41 - Fix test 2008-11-12 17:16:51 +00:00
Felipe Pena f85b94ef33 - Silent valgrind 2008-11-12 16:40:40 +00:00
Pierre Joye b9853c4ff0 - MFH:
- #14962, makes extractTo 2nd argument really optional
 - replace ZEND_ENGINE_2_1 by PHP_ZIP_USE_OO
2008-11-12 11:41:21 +00:00
Antony Dovgal 512b812761 make sure the slash is actually thre before reading past it 2008-11-12 09:05:48 +00:00
Stanislav Malyshev a51bbb2754 fix potential crash in zend_do_assign due to opcodes realloc 2008-11-12 00:44:56 +00:00
Stanislav Malyshev 6ebc2b21f1 fix crash - using old opline after realloc 2008-11-12 00:23:21 +00:00
Ilia Alshanetsky 681515b3df Removed unused vars 2008-11-12 00:10:24 +00:00
Stanislav Malyshev 3cd19b8ecb fix memleak 2008-11-11 21:11:24 +00:00
Stanislav Malyshev 1b4134c07b Namespace resolution streamlining patch
[DOC] new resolution rules should be documented soon
2008-11-11 19:45:29 +00:00
Stanislav Malyshev caa133b3d3 some new tests 2008-11-11 19:44:16 +00:00
Felipe Pena a2556b1f1c - MFH: New parameter parsing API 2008-11-11 17:54:43 +00:00
Felipe Pena 02050bc6f5 - New tests 2008-11-11 17:54:11 +00:00
Felipe Pena 9b894e6e62 - Fixed bug #46546 (Segmentation fault when using declare statement with non-string value)
# This issue only happens in this branch
2008-11-11 16:15:53 +00:00
Felipe Pena 9178503610 MFH:
- Added ZEND_FETCH_RESOURCE2_NO_RETURN() (a version of ZEND_FETCH_RESOURCE2 but without the ZEND_VERIFY_RESOURCE() which contains RETURN_FALSE)
- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters)
2008-11-11 13:28:22 +00:00
Pierre Joye 5fc86e0213 - MFH: fix build with all curl versions, even very old (thx Felipe for having found all versions info) 2008-11-11 12:26:04 +00:00
Jani Taskinen 5493b4b7d1 fix build 2008-11-11 11:56:01 +00:00
Arnaud Le Blanc e13a4238e5 MFH: Fixed stream_get_contents() when using $maxlength and socket is not
closed. indeyets@php.net on #46049.
2008-11-11 01:55:51 +00:00
Arnaud Le Blanc f6345133b3 MFH: Fixed bug #44818 (php://memory writeable when opened read only) 2008-11-11 00:44:55 +00:00
Pierre Joye dcdf00bdfc - MFH: make the curl phpinfo more verbose 2008-11-10 22:59:28 +00:00
Felipe Pena 493b0589e8 - Make expected result compatible with recent Firebird version 2008-11-10 22:33:53 +00:00
Kalle Sommer Nielsen 220049d05f MFH: State that bugs should be sorted desc. 2008-11-10 22:10:59 +00:00
Andrey Hristov abf612ba59 MFH: Remove unneeded cast 2008-11-10 20:06:23 +00:00
Ilia Alshanetsky 757087553b MFH: Fixed compiler warnings 2008-11-10 19:04:05 +00:00
Sean Coates 4e3929d278 add test for ArrayObject acting as array (for 5.3) 2008-11-10 19:01:35 +00:00
David Coallier feeaa6568e - Added resolution of bug #44153, #44154 2008-11-10 18:54:30 +00:00
David Coallier 9334bbd650 - After readying Johannes's mail, the conclusion that a "smarter" system
to find out if the return_value had the correct number of elements was
  definitely needed. Simply added a difference to both dbh and stmt to
  make sure that the error info always has 3 elements.

- Bug #44154 (pdo->errorInfo doesn't always return three elements)
- Now pdo->errorInfo() AND stmt->errorInfo() return three elements.

- [DOC] Make sure that not only the pdo->errorInfo() is returning 3 elms, but
  also the PDOStatement object
2008-11-10 18:47:28 +00:00
David Coallier 55ad0efd17 - Make test conform to the error reporting that always returns
three elements. Adjusted all bugs and tests that were using
  errorInfo() and errorCode() (dbh & stmt)
2008-11-10 18:44:04 +00:00
Felipe Pena 1460f722e3 - New tests 2008-11-10 18:02:56 +00:00
Felipe Pena 4680f6ab3d - Fixed tests (thanks Timm) 2008-11-10 15:07:26 +00:00
Timm Friebe dc07057b06 - Removed notes about fixes to sybase_ct that are already announced in PHP 5.2 news 2008-11-10 14:45:30 +00:00
David Coallier d781f9d67f - Hrphm, sorry about that, forgot the array value. Now the test runs fine 2008-11-10 12:49:51 +00:00
David Coallier d2c1047241 - Adjusted test to make sure it reflects the behavior of the method 2008-11-10 12:40:23 +00:00
Derick Rethans cb448dca05 - Make it work with bison 2.4. 2008-11-10 12:05:28 +00:00
Felipe Pena 7368bfce56 - New tests 2008-11-10 11:39:57 +00:00
Timm Friebe 9543aa058d - Documented sybase_connect()'s new optional parameter 'new' 2008-11-10 11:03:22 +00:00
Timm Friebe 15adc0ddaf - Added test for optional parameter "new" to sybase_connect() 2008-11-10 11:00:48 +00:00
Timm Friebe 12abaadf84 - Added optional parameter "new" to sybase_connect
# [DOC] If a second call is made to sybase_connect() with the same arguments
# no new link will be established, but instead, the link identifier of the
# already opened link will be returned. The new parameter modifies this
# behavior and makes sybase_connect() always open a new link, even if
# sybase_connect() was called before with the same parameters.
2008-11-10 10:59:44 +00:00
Sanjay Mantoor eb2e561bfe New testcases for date_sunset function 2008-11-10 07:12:00 +00:00
Arnaud Le Blanc 2756c75304 MFH 2008-11-10 06:30:16 +00:00
Arnaud Le Blanc cf7ad21ce5 MFH: Added the oldset parameter to pcntl_sigprocmask().
Already documented.
2008-11-10 05:57:18 +00:00
Sanjay Mantoor 42325f9d48 New testcases for date_sunrise function 2008-11-10 05:52:20 +00:00
Lukas Smith 6092e3a4a0 MFH 2008-11-09 12:13:04 +00:00
Kalle Sommer Nielsen 88bb4f6134 Fix NEWS 2008-11-09 11:39:15 +00:00
Timm Friebe 39bd93bc62 - Fixed sybase_close() to actually close connections
# Broken during parameter parsing refactoring lately, OK in PHP_5_2
2008-11-09 11:39:14 +00:00
Timm Friebe 4b96eea15f - Initial release 2008-11-09 11:38:17 +00:00
Timm Friebe 66f5639327 - Initial release 2008-11-09 10:57:09 +00:00
Timm Friebe 7dc8109ff3 - Initial release 2008-11-09 10:44:03 +00:00
Timm Friebe 34906d50f3 - Added note on bugfix for #30312
- Added entry on CS_ROW_FAIL patch fix
2008-11-09 10:32:35 +00:00
Timm Friebe 2268bf47e3 - Added test for sybase_free_result() without full fetch 2008-11-09 10:29:52 +00:00
Timm Friebe 963aa85764 - Initial release
# Tests sybase_unbuffered_query() together with sybase_free_result()
2008-11-09 10:26:31 +00:00
Rasmus Lerdorf f121e72ac7 Fix for bug #46525 2008-11-08 22:56:17 +00:00
Felipe Pena d5ad77167a - MFH: Added connection checking on SKIPIF 2008-11-08 15:39:01 +00:00
Timm Friebe ec17daec29 - Adjusted tests to reality
# We select 123456789.12345679, we should have this returned and not
# something 123456789.123457 (rounded)
2008-11-08 13:32:29 +00:00
Timm Friebe 8089d14c9a - Fixed problems with segmentation faults when using unbuffered queries
# Double-freeing results caused these
2008-11-08 13:22:14 +00:00
Timm Friebe 9224d4cc6c - Made this test independent of date format 2008-11-08 13:21:30 +00:00
Timm Friebe 65c5b135d5 - Initial release 2008-11-08 13:21:01 +00:00
Timm Friebe b99923a434 - QA: Unified error messages in php_sybase_query() 2008-11-08 12:24:52 +00:00
Timm Friebe 927804e288 - Changed while loop in php_sybase_fetch_result_row() to also read rows with
retcode == CS_ROW_FAIL.
# Reported by Detlef Neumerkel and Frank Irnich of Sybase
2008-11-08 12:05:46 +00:00
Timm Friebe 87ad2dd067 - Changed source to read host, user and password from environment
# E.g. nmake test TESTS=ext/sybase_ct PHP_SYBASE_HOST=db PHP_SYBASE_USER=sa PHP_SYBASE_PASS=***
2008-11-08 11:47:35 +00:00
Timm Friebe 847e9922d1 - Made this test independent of field types in master..sysprocesses
# char on ASE 11, varchar on ASE 15
2008-11-08 11:46:06 +00:00
Timm Friebe d40014873f - Fixed expected warning messages
# Changed during migration to parameter parsing API
2008-11-08 11:45:03 +00:00
Antony Dovgal f26f2c0961 fix more invalid reads 2008-11-08 11:00:23 +00:00
Felipe Pena a4390f3e46 MFH:
- Fixed bug #46521 (Curl ZTS OpenSSL, error in config.m4 fragment)
  Noticed by: jd at cpanel dot net
2008-11-07 21:14:46 +00:00
Alexey Zakhlestin f9d86cf9d3 new parameter-parsing API 2008-11-07 13:28:23 +00:00
Alexey Zakhlestin deb420ee63 new parameter-parsing API 2008-11-07 12:39:11 +00:00
Kalle Sommer Nielsen 2b0df36f42 MFH: New parameter parsing API 2008-11-07 11:05:24 +00:00
Antony Dovgal 57b9a6449a fix typo causing invalid reads 2008-11-07 10:51:26 +00:00
Alexey Zakhlestin 9942da41cf added const, as required by struct-definition 2008-11-07 09:12:39 +00:00
David Soria Parra acdc79e876 Use right format 2008-11-06 22:12:12 +00:00
David Soria Parra 6e3bf2157e Refer to a feature request that contains a better description of the flags 2008-11-06 21:56:06 +00:00
Philip Olson 453a17a9bf Added the "update INSTALL and win32/install.txt" tasks 2008-11-06 21:35:42 +00:00
David Soria Parra 47e909faed MFH: Detect Sun C compiler and set default flags if it is used 2008-11-06 20:42:11 +00:00
Andrey Hristov 737c3c89c6 MFB: More Windows types cleanup 2008-11-06 18:48:55 +00:00
Andrey Hristov e49366850f MFH: Use win32/php_stdint.h for stdint types on Windows 2008-11-06 14:21:50 +00:00
Pierre Joye 710638db54 - revert previous commit (borked editor) 2008-11-06 13:30:18 +00:00
Pierre Joye 11f6df597a - bump year 2008-11-06 13:11:56 +00:00
Andrey Hristov e099d732a6 MFH: More cleanup of config-win.h 2008-11-06 11:29:20 +00:00
Johannes Schlüter ef3ce03e5e MFH: Don't enable mysqlnd when pdo_mysql is being built with libmysql 2008-11-06 11:12:21 +00:00
Andrey Hristov 9186528994 MFH:
Get rid of many defines (which simplifies the code a lot),
as well as uint->unsigned int
2008-11-06 10:37:47 +00:00
Pierre Joye 963f7c0234 - typo 2008-11-06 10:17:44 +00:00
Pierre Joye 789eb9cc9a - fix build on linux (static)
- add gd[Format]Version[Int|String] first methods to work around the png
  header issues
2008-11-06 10:14:37 +00:00
Derick Rethans f2720ecc34 - MFH: Export DateTime and DateTimeZone class entries so that external
extensions can make use of it as well.
2008-11-06 09:45:58 +00:00
Scott MacVicar 895eb06945 MFH: Support versions of valgrind from SVN. The version is shown as 3.4.0.SVN 2008-11-06 03:09:41 +00:00
Scott MacVicar a94ac5d436 MFH: Fix buffer overread in libmagic and sync a skipped change from 4.26 2008-11-06 03:00:04 +00:00
Felipe Pena a3714456e6 - Reorder 2008-11-06 01:38:56 +00:00
Etienne Kneuss c6fbd074ce Add references to #46421 #45976 2008-11-06 01:09:32 +00:00
Etienne Kneuss e415c37ed4 MFH: Fix #46421 (Take care about /) 2008-11-06 01:07:22 +00:00
Etienne Kneuss 27e41ff48c MFH: Fix #45976 (Move SXE from SPL to SimpleXML) 2008-11-06 00:37:13 +00:00
Felipe Pena a912d80adb MFH:
- Fixed wrong check
- Improved test
2008-11-05 23:40:38 +00:00
Arnaud Le Blanc bc569c56a6 sync zend_ini_scanner.c 2008-11-05 21:36:11 +00:00
Arnaud Le Blanc 2276e85f13 MFH: Added parse_ini_string() function (grange at lemonde dot fr, Arnaud)
[DOC] new function parse_ini_string()
      proto array parse_ini_string(string ini_string
          [, bool process_sections [, int scanner_mode]])
      Same as parse_ini_file() except that it takes a string instead of a
      filename.
2008-11-05 21:35:02 +00:00
Hannes Magnusson cab00baafa Fixed bug#46445 (run-tests2.php is missing or README.TESTING2 is unneeded) 2008-11-05 17:15:50 +00:00
Felipe Pena 2f26deb0e0 - Fixed Windows build 2008-11-05 11:00:38 +00:00
Derick Rethans 1c08ae1c8e - MFH: Fixed an issue with the * format specifier for parsing from a
user-defined format.
2008-11-05 10:42:42 +00:00
Kalle Sommer Nielsen 9b3ab1c67a MFH: New tests for syslog 2008-11-05 09:58:51 +00:00
Lukas Smith c172547008 MFH 2008-11-05 07:25:18 +00:00
Lukas Smith abbd6d3811 fixed ext/msql NEWS entry 2008-11-04 23:01:13 +00:00
Lukas Smith 53827be086 MFH 2008-11-04 23:00:57 +00:00
Lukas Smith 839cdb409e ext/msql is now in PECL starting alpha3 [DOC] 2008-11-04 22:31:48 +00:00
Lukas Smith 2c23aa9bf1 MFH 2008-11-04 22:22:43 +00:00
Brett Bieber 47964af98a Test - if this works, something is wrong. 2008-11-04 21:25:22 +00:00
Arnaud Le Blanc 9b0d76d585 Open STDIN and php://stdin streams with the relevant
wrapper when the file descriptor is a socket (inetd, etc)
Fixes bug #43731
2008-11-04 21:05:31 +00:00
Arnaud Le Blanc 43400aaf87 MFH: initialize memory 2008-11-04 20:40:30 +00:00
Pierre Joye a4e959e4a1 - MFH: add png and jpeg version info 2008-11-04 20:25:45 +00:00
David Coallier 80e3ed5630 - MFH
- Bug #44154: [DOC] Return 3 elements at all times. If the dbh stmt doesn't have
  an error code we used to return an array with one element. For the sake
  of consistency and verification of returned values at userland we are now
  returning an array with 3 elements. Note the two last elements are null but
  present

- Bug #4413: [DOC] If the error code returned by the DBH is null, we return
  a null value. This is used in order to help with empty error codes.
2008-11-04 18:28:41 +00:00
Felipe Pena 358ecee529 - Fixed tests 2008-11-04 17:50:30 +00:00
Arnaud Le Blanc d441b5db5b MFH: Fixed stream_get_line() to behave as documented on non-blocking
streams
2008-11-04 17:05:55 +00:00
Greg Beaver 981d2ee6d0 ignore stuff that clutters cvs diffs 2008-11-04 17:04:22 +00:00
Arnaud Le Blanc 55ccadecbe MDH: Avoids fclose() from complaining that stream_socket_pair() streams
have not been closed
2008-11-04 16:46:03 +00:00
Marcus Boerger 7126de4912 - Next step in namespaces, using / as namespace separator. 2008-11-04 15:58:55 +00:00
Marcus Boerger 6ca3ad3f41 - MFH We only rely on hash if it is built-in 2008-11-04 14:04:29 +00:00
Marcus Boerger 582cdf9a27 - MFH Add hash dependency at module source level 2008-11-04 13:33:15 +00:00
Pierre Joye 7102449f76 - sync tests with pecl 2008-11-04 13:24:39 +00:00
Marcus Boerger 4f04fdc735 - MFH Fix test 2008-11-04 11:12:23 +00:00
Marcus Boerger e2ab5164ce - MFH Fix dependency from Phar to hash 2008-11-04 01:27:52 +00:00
Arnaud Le Blanc 55e7b35e6b MFH: Fixed bug #46024 (stream_select() doesn't return the correct number) 2008-11-04 00:42:41 +00:00
Marcus Boerger 1c40f21ae8 - Fix tests: dos2unix 2008-11-04 00:27:05 +00:00
Felipe Pena a5e72fd696 - MFH: Improved fix 2008-11-03 23:44:38 +00:00
Arnaud Le Blanc 7fc9c9e429 cleanup 2008-11-03 23:34:26 +00:00
Arnaud Le Blanc 8e220d99df MFH: Fixed bug #44607 (stream_get_line unable to correctly identify the
"ending" in the stream content)
2008-11-03 23:29:17 +00:00
Felipe Pena 22147d94af - New test 2008-11-03 21:49:34 +00:00
Felipe Pena 27965c932f MFH:
- Fixed endless loop in PDOStatement::debugDumpParams()
  patch by: Jonah H. Harris <jonah.harris at gmail dot com>
2008-11-03 20:48:51 +00:00
Johannes Schlüter 850f9567b8 MFH: Use a better function name for closure related errors and debug_backtrace() 2008-11-03 19:28:32 +00:00
Elizabeth Marie Smith d4e4cebd65 MFH 2008-11-03 19:25:42 +00:00
Arnaud Le Blanc de29f4161f MFH: Fixed bug #45303 (Opening php:// wrapper in append mode results
in a warning)
2008-11-03 16:58:53 +00:00
Arnaud Le Blanc 0a2bfc7968 MFH: Fixed bug #43353 (wrong detection of 'data' wrapper causes notice) 2008-11-03 15:47:31 +00:00
Felipe Pena e0fededeba - MFH: Fixed bug #44327 (PDORow::queryString property & numeric offsets / Crash) 2008-11-03 15:33:23 +00:00
Felipe Pena ade487e693 - Opss, reverted accidental changes 2008-11-03 13:07:28 +00:00
Jani Taskinen 963abc546d - Fix order (this is not rocket science.. >:-p ) 2008-11-03 12:03:46 +00:00
Felipe Pena 7e25733927 - MFH: Fixed bug #42855 (dns_get_record() doesn't return all text from TXT record)
patch by: misc at e2007 dot cynergi dot com
2008-11-03 11:35:11 +00:00
Arnaud Le Blanc e47e0828f6 sync zend_ini_scanner.c 2008-11-02 23:36:53 +00:00
Arnaud Le Blanc b3d0514b6f Fixed bug #44575 (parse_ini_file comment # line problems)
[DOC] parse_ini_file(): comments starting with # are deprecated in PHP 5.3
      (comments starting with ; should be used instead)
2008-11-02 23:36:10 +00:00
Scott MacVicar 355f62c264 Add some missing news entries 2008-11-02 23:06:27 +00:00
Arnaud Le Blanc 517e365ce1 MFH: Fixed bug #42718 (FILTER_UNSAFE_RAW not applied when configured as
default filter)
2008-11-02 22:22:43 +00:00
Felipe Pena 7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felix De Vliegher d90dfe7dbf MFH: XFAIL test for bug #46196 on restore_error_handler(). 2008-11-02 20:15:46 +00:00
Felipe Pena 82a251172c - Backported str_getcsv() into 5.3 2008-11-02 18:32:12 +00:00
Felipe Pena 8f12025b21 - MFH: Added str_getcsv() 2008-11-02 18:24:34 +00:00
Scott MacVicar 3e543f2464 MFH: Sync libmagic with 4.26 and add support for the new v6 magic file format 2008-11-02 16:13:49 +00:00
Jani Taskinen 16c46c635f - Done in 5.2.7 2008-11-02 14:14:12 +00:00
Jani Taskinen ffa97c5496 MFH 2008-11-01 23:09:31 +00:00
Andrey Hristov a836ea7b71 Fix windows build 2008-11-01 21:22:29 +00:00
Andrey Hristov 9726d6b047 Fix the build 2008-10-31 21:29:54 +00:00
Andrey Hristov 77c1e145e1 MFB:
64bit fixes:
- fixes to sprintf modifiers, cleaning warnings
- use _t types, like uint64_t instead of uint64, thus skipping series of
typedefs.
2008-10-31 20:32:17 +00:00
Andrey Hristov 4f5895a4d2 MFH: Fix warnings in sprintf 2008-10-31 20:31:27 +00:00
Felipe Pena 16bce25da2 - Fixed memory leak when using offset out of range. (php_stream_copy_to_mem returns 0, but the empty string is alloced) 2008-10-30 15:53:18 +00:00
Felipe Pena 1eb552a712 - Fix the fix
- Improved test
2008-10-30 14:34:25 +00:00
Lars Strojny b51214fce7 MFH: #44938 2008-10-30 14:22:50 +00:00
Sanjay Mantoor 2ca0889e8c New testcases for gettimeofday function 2008-10-30 10:49:45 +00:00
Felipe Pena bfa5404e90 - MFH: Fixed bug #46426 (3rd parameter offset of stream_get_contents not works for "0") 2008-10-30 10:09:22 +00:00
Dmitry Stogov 8107a8f121 Fixed ability to use "internal" heaps in extensions. 2008-10-30 08:55:20 +00:00
Felix De Vliegher bdda0cff3f MFH: Tests for SQLite3Stmt::paramCount(). 2008-10-29 22:36:19 +00:00
Rob Richards 7465d0103f MFH: fix bug #46406 (Unregistering nodeclass throws E_FATAL) 2008-10-29 21:21:47 +00:00
Ilia Alshanetsky f2d9767eb5 Fixed bug #44938 (gettext functions crash with overly long domain) 2008-10-29 20:29:12 +00:00
Ilia Alshanetsky 22f3c8b05b Fixed bug #42294 (Unified solution for round() based on C99 round)
[DOC] New implementation of round() to work-around inconsistencies for win32
and 64 bit platforms.

This solution is very roughly based on BSD's implmentation of round(), which
itself is an implementation of C99 standard. We take the absolute value of number
we want to round time the 10 to the power of the number of decimal spaces we are
rounding to. The resulting value is rounded up and the pre-rounded value is
subtracted from it. If the difference is greater then 0.5000000001 we round up,
otherwise we round down.
2008-10-29 20:03:34 +00:00
Felipe Pena b9c03aa4a5 - MFH: Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property) 2008-10-29 12:56:29 +00:00
Felix De Vliegher 101e472c66 MFH: Various tests for the sqlite ext.
The sqlite session tests are by Mats Lindh <mats at lindh.no>.
2008-10-29 11:44:34 +00:00
Zoe Slattery 7902763a82 scottish time variation 2008-10-28 19:24:49 +00:00
Andrey Hristov ec20906b1b Fix that instance too - mysql_get_client_version() returns unsigned long 2008-10-28 15:59:42 +00:00
Sanjay Mantoor b73113d644 New testcases for array_intersect_uassoc function 2008-10-28 10:24:41 +00:00
Derick Rethans e40786ca1b - Updated to version 2008.9 (2008i) 2008-10-28 08:17:33 +00:00
Ilia Alshanetsky a509ac3510 Fixed compiler warning 2008-10-27 23:27:21 +00:00
Johannes Schlüter d13d710cee Fix NEWS 2008-10-27 18:33:22 +00:00
Johannes Schlüter 40e42663f5 MFH: Fix #44135 (PDO MySQL does not support CLIENT_FOUND_ROWS) 2008-10-27 18:32:08 +00:00
Johannes Schlüter 806ea848f4 BFN 2008-10-27 17:25:43 +00:00
Johannes Schlüter 04d9bbe65e MFH: Fix #46285 (lastInsertId() returns "0" when a deferenced PDOStatement is
executed)
2008-10-27 17:21:22 +00:00
Andrey Hristov 7d4c51c2bd MFH:
Fix overusage of memory when the result set is empty. Then no memory will be
allocated compared to before. Also grow (realloc) the rset with 10% instead
of 33% - more reallocs but better memory usage. Of course later theres is a
realloc to shrink the rset t ofree it from unused rows but its better to
to eat too much at once.
2008-10-27 15:14:17 +00:00
Arnaud Le Blanc 877d5f8fed MFH: Fix compile error 2008-10-27 14:59:03 +00:00
Andrey Hristov b18bf1f880 Fix a name 2008-10-27 14:38:31 +00:00
Andrey Hristov 34ca27a191 MFH: Fix an issue with mysqli.default_port not being used 2008-10-27 14:34:35 +00:00
Hannes Magnusson 5668f32b68 MFH: Improve test and fix skipif 2008-10-27 14:25:33 +00:00
Andrey Hristov 4df718a477 MFH:
Warning if the library API version differs from the headers used to compile.
Patch versions are not considered but major.minor
Fix build of ext/mysql with 4.0.x and pre.
2008-10-27 12:09:36 +00:00
Felipe Pena c0611c10ef - Fixed condition 2008-10-26 23:34:13 +00:00
Felipe Pena 8502d0b7a6 - Fixed test 2008-10-26 23:00:35 +00:00
Kalle Sommer Nielsen a6a68ba758 Fixed #44748 (php.ini comments on magic_quotes_gpc promote bad practices) 2008-10-26 15:38:47 +00:00
Ilia Alshanetsky 8bd2943877 Fixed compiler warning 2008-10-26 14:35:41 +00:00
Felipe Pena 5d804d163a - MFH: Fixed bug #46388 (stream_notification_callback inside of object destroys object variables) 2008-10-26 13:25:06 +00:00
Derick Rethans 0d084028c8 - Fixed NEWS entries. 2008-10-26 12:56:46 +00:00
Greg Beaver 86f8d0a8e9 fix several errors found by valgrind
1 - entry metadata not properly processed or retrieved from cached phars
2 - copy on write was using a void return value instead of int, a dangerous oversight in phar_update_cached_entry
3 - metadata creation in entries for cached phars was causing an invalid read
2008-10-26 05:49:09 +00:00
Felipe Pena 5153c19714 - MFH: Fixed bug #46389 (NetWare needs small patch for _timezone) (patch by guenter at php.net) 2008-10-26 02:00:44 +00:00
Pierre Joye 7376ddb66a - add php-test-pack-[version].zip to nmake snap so we can distribute the tests as single zip
TODO: add run-tests.bat to the package
2008-10-26 00:14:23 +00:00
Felipe Pena 8fa119a6f6 - MFH: Fixed bug #46382 (Mismatching allocation and deallocation in stresstest.cpp) (dvice_null at yahoo dot com) 2008-10-24 23:16:46 +00:00
Antony Dovgal 73f81e9df6 add test 2008-10-24 20:17:01 +00:00
Felipe Pena cc9a286005 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 16:03:15 +00:00
Felipe Pena df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Felipe Pena c96d79b2e6 - MFH: Fixed bug #46082 (stream_set_blocking() can cause a crash in some circumstances) 2008-10-24 10:44:43 +00:00
Felipe Pena ff8246ff6e - MFH: Removed unnecessary check for array (#46273, noticed by serovov at gmail dot com) 2008-10-24 10:28:29 +00:00
Arnaud Le Blanc 96103c8793 BFN moved to PHP_5_2 2008-10-23 20:23:57 +00:00
Felipe Pena 981a23fff3 - MFH: Fixed bug #43925 (Incorrect argument counter in prepared statements with pgsql) 2008-10-23 18:53:05 +00:00
Pierre Joye 7d5a67a022 - flatten path and make them relative before extraction
- remove unnecessary export
2008-10-23 16:12:55 +00:00
Ilia Alshanetsky 8a106deb24 Revert define() fix, it needs further review 2008-10-22 23:28:34 +00:00
Stanislav Malyshev 5c50be3674 fix instantclient detection 2008-10-22 19:29:24 +00:00
Arnaud Le Blanc 15aced54b0 MFH: Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option) 2008-10-22 18:59:33 +00:00
Scott MacVicar a8c8963bc0 MFH: Fix a stat on a null when the internal database is used. 2008-10-22 16:34:40 +00:00
Scott MacVicar a6ec097f68 MFH: When using the internal database and there is an error it could try free some invalid things. This was causing a bus error on ppc. 2008-10-22 14:15:47 +00:00
Sanjay Mantoor 5a37a48082 New PHP testcases for array_diff_ukey function 2008-10-22 05:53:36 +00:00
Arnaud Le Blanc 1d5ba8bb21 MFH: initialize optional vars 2008-10-21 23:39:15 +00:00
Ilia Alshanetsky b2bc40f70c Already in 5.2 2008-10-21 23:22:00 +00:00
Arnaud Le Blanc d69dfa4b9f MFH: initialize optional vars 2008-10-21 22:08:38 +00:00
Arnaud Le Blanc 261f0c32a5 initialize optional vars 2008-10-21 22:08:20 +00:00
Arnaud Le Blanc 5b320b8a9b BFN moved to PHP_5_2 2008-10-21 16:44:30 +00:00
Alexey Zakhlestin 575ba83c0b skip tests on systems without fnmatch() function (f.e.: old darwin) 2008-10-21 13:38:18 +00:00
Alexey Zakhlestin a4d609ab04 proper check for php-version 2008-10-21 12:59:45 +00:00
Alexey Zakhlestin a7730c9c8c these tests work just fine on macos-x 2008-10-21 12:45:35 +00:00
Alexey Zakhlestin 7ff4c359e6 fixed wrong check for version 2008-10-21 12:26:35 +00:00
Zoe Slattery 5fe0e9c5ed Committing test for till 2008-10-21 09:33:21 +00:00
Arnaud Le Blanc 007538e228 typo 2008-10-21 03:32:11 +00:00
Arnaud Le Blanc e3c556c85e MFH: Fixed FCGI_GET_VALUES requests (fixes #45522) 2008-10-21 03:19:28 +00:00
Scott MacVicar 55a965f793 MFH Fix bug #46331 - The internal magic db is const memory and segfaults when you try to do byte swapping
on big endian machines. This fixes it by copying the memory for those processors, but this isn't ideal as
it wastes memory. Perhaps using a static cache would be better.
2008-10-20 23:36:14 +00:00
Ilia Alshanetsky 2357d51900 Fixed bug #46343 (IPv6 address filter accepts invalid address) 2008-10-20 23:22:45 +00:00
Rob Richards 2f3b8856ee MFH: fix bug #46323 (compilation of simplexml for NetWare breaks) 2008-10-20 19:29:04 +00:00
Arnaud Le Blanc f5dd8c00a0 WS 2008-10-20 18:43:32 +00:00
Arnaud Le Blanc 0f31ed2f77 Better fix for #46313 2008-10-20 18:42:58 +00:00
Arnaud Le Blanc c98e28795f Fixed #46313 (Magic quotes broke $_FILES)
# magic_quotes_gpc was disabled during registration of $_FILES["x"]["tmp_name"]
# and $GLOBALS["x"] (which is tmp_name with register_globals enabled). This
# caused "x" to not be escaped so there was 2 different keys for the same file
# in $_FILES, one with tmp_name and the other without.
# All other variables (name, size, etc) are registered with magic_quotes_gpc
# untouched, both in $_FILES and $GLOBALS and I did not found a reason for
# disabling it for tmp_name.
2008-10-20 17:09:10 +00:00
Pierre Joye 16bda08080 - add strto*i64 (VC6, decent compilers/crt have them) 2008-10-20 14:47:33 +00:00
Pierre Joye 61aeb63e8a - add strto*i64 support (VC6 only, decent compilers/crt have them) 2008-10-20 14:47:01 +00:00
Pierre Joye 144527b190 - support for VC6 and some other platforms (before some other cleanup) 2008-10-20 14:45:59 +00:00
Rob Richards f3f71b7351 MFH: fix bug #46335 (DOMText::splitText doesn't handle multibyte characters)
add test
2008-10-20 12:45:47 +00:00
Felipe Pena 02fee77584 - Fixed test 2008-10-19 18:23:53 +00:00
Johannes Schlüter a3e4b27857 Fix test 2008-10-19 18:08:29 +00:00
Ilia Alshanetsky e2bee4923b Fixed bug #46341 (Added missing validation checks into define() for class
constants)
2008-10-19 18:07:37 +00:00
Johannes Schlüter 0c6da3760b Add %S and %A to EXPECTF, they work like %s and %a but match empty strings, too 2008-10-19 18:05:43 +00:00
Etienne Kneuss 1a642296ba Fix #46317 (Iterator class not properly checked) 2008-10-19 18:00:24 +00:00
Johannes Schlüter c8361e7cfe MFH: fix mysqlnd detection 2008-10-19 12:43:34 +00:00
Johannes Schlüter c3dab8f191 MFH: Don't dereference NULL-pointer 2008-10-19 12:28:43 +00:00
Johannes Schlüter 0b216b4161 Fix test 2008-10-19 12:20:43 +00:00
Antony Dovgal 8696c38966 MFH: fix memleak 2008-10-17 22:09:44 +00:00
Zoe Slattery 057f422c03 Replacing explicit object ID with %d 2008-10-17 15:03:48 +00:00
Zoe Slattery f591bffba9 Committing for Robin Fernandes 2008-10-17 14:34:55 +00:00
Dmitry Stogov 41ad9b4d1f Fixed bug #46308 (Invalid write when changing property from inside getter) 2008-10-17 10:26:07 +00:00
Felipe Pena e52fc53bc2 - MFH: Fixed bug #45726 (PHP_Archive / Archive.php missing) 2008-10-17 01:58:20 +00:00
Ilia Alshanetsky e45af91313 Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304 response
code, in cgi sapi)
2008-10-17 01:31:12 +00:00
Kalle Sommer Nielsen 9de7506f8e Use PHP_DEP_FE instead of throwing an E_DEPRECATED manually inside define_syslog_variables() (Thanks Hannes!) 2008-10-16 23:19:13 +00:00
Ed Batutis 8e0529e0d1 Fix for pecl bug 14664 - problem with older gcc 2008-10-16 18:06:05 +00:00
Moriyoshi Koizumi 0c5b6a66a9 * MFH remainder 2008-10-16 17:38:31 +00:00
Dmitry Stogov fe715fbd72 Fixed bug #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer overflow) 2008-10-16 16:21:06 +00:00
Dmitry Stogov ec7cca7f2d ws 2008-10-16 15:49:29 +00:00
Dmitry Stogov 001a548b1a Fixed bug #43723 (SOAP not sent properly from client for <choice>) 2008-10-16 15:36:59 +00:00
Felipe Pena c0c9fb9def - Revert 2008-10-16 13:00:27 +00:00
Alexey Zakhlestin 35780b69a8 Updated functions-signatures (const) 2008-10-16 12:52:38 +00:00
Alexey Zakhlestin e06765b9c5 Fixed compilation warnings: tsrm_ls is not used here (anymore?) 2008-10-16 11:59:37 +00:00
Alexey Zakhlestin 5058774e1f propagated const, to avoid "discards qualifiers from pointer target type" errors 2008-10-16 11:38:25 +00:00
Moriyoshi Koizumi d7ddc19853 - MFH 2008-10-16 01:01:37 +00:00
Felipe Pena 8563497a94 MFH:
- Fixed:
  . Memory leak in pg_delete() when using PGSQL_DML_STRING.
  . Bug #24679 (pg_insert problem!)
  . Bug #35996 (pg_meta_data should take the schema into account)
  . Bug #40808 (pg_insert problem)
  . Bug #42078 (pg_meta_data mix tables metadata from different schemas)
- Improved:
  . Error messages
- Added:
  . Tests
2008-10-16 00:39:31 +00:00
Ilia Alshanetsky 5a28412ad2 Removed dead-code 2008-10-15 22:56:57 +00:00
Kalle Sommer Nielsen 12bd1eae9f [DOC] Deprecate define_syslog_variables() in 5.3 2008-10-15 18:41:57 +00:00
Felipe Pena 30173a8ec8 - Fixed possible efree(NULL) 2008-10-15 13:34:26 +00:00
Ilia Alshanetsky 7b57c9e6e1 Fixed bug #46271 (local_cert option is not resolved to full path) 2008-10-14 23:38:41 +00:00
Johannes Schlüter cb8c5cf48c Update NEWS 2008-10-14 19:03:36 +00:00
Johannes Schlüter 0614a7763e MFH: Add PDO::MYSQL_ATTR_COMPRESS connection flag [DOC] 2008-10-14 19:00:53 +00:00
Felipe Pena 42e3a93a8b - Added SKIPIF 2008-10-14 17:45:52 +00:00
Felipe Pena 84be2eb47b - MFH: Fixed bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE) 2008-10-14 17:36:02 +00:00
Scott MacVicar 3d61571709 Disable optimizations at the moment for libsqlite on VC6 with the amalgamation, will most likely need to track down what particular function is causing problems or consider setting the flags to /O1 for libsqlite specifically. 2008-10-14 09:56:25 +00:00
Greg Beaver 347a58939d last test for cached phar copy on write (forgot this one yesterday) 2008-10-14 00:38:01 +00:00
Felipe Pena 310ac30e5a MFH:
- Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
  Patch by Tony
2008-10-13 13:44:32 +00:00
Derick Rethans 8f8f18bc18 - Updated to version 2008.8 (2008h) 2008-10-13 11:45:39 +00:00
Greg Beaver fdac2c9a12 increase code coverage 2008-10-13 04:50:37 +00:00
Greg Beaver 3a54017556 add complete tests verifying copy-on-write for cached phars 2008-10-13 04:21:09 +00:00
Greg Beaver 5bc1122056 fix faulty tests 2008-10-12 23:32:50 +00:00
Antony Dovgal 8b793f4274 MFH: fix ZTS build 2008-10-12 21:09:22 +00:00
Greg Beaver 114861e330 fix incorrect key for Phar destructor 2008-10-12 19:45:01 +00:00
Greg Beaver e16636f069 add tests for copy-on-write support
- fix metadata handling with cached phars
 - fix virtual_dirs with rmdir
 - ensure that after copy-on-write, all existing Phar objects link to the newly copied phar data
2008-10-12 19:40:11 +00:00
Greg Beaver eaf5d4c8b3 add missing --INI-- section 2008-10-12 18:54:00 +00:00
Greg Beaver a2b4f65a0c re-add as binary 2008-10-12 18:47:19 +00:00
Greg Beaver da731473aa oops, need to add as binary 2008-10-12 18:46:46 +00:00
Greg Beaver 15cac7f22f add missing file for tests 2008-10-12 18:45:46 +00:00
Felipe Pena a88f7fbc3e - Fixed compiler warnings 2008-10-12 15:01:12 +00:00
Felipe Pena e90d487720 - Removed unnecessary strcmp call (thanks Tony) 2008-10-12 13:46:10 +00:00
Felipe Pena d2d4e044c7 - Complete the fix for #46274, and tests 2008-10-12 13:01:31 +00:00
Greg Beaver 261d300a0f add new test for copy-on-write, fix copy-on-write for Phar/PharFileInfo methods 2008-10-12 06:53:32 +00:00
Greg Beaver 5a00c7baf0 re-add as binary 2008-10-12 06:41:27 +00:00
Greg Beaver 415a37bfae stupid cvs added this as text 2008-10-12 06:41:01 +00:00
Greg Beaver 0182bbf76b fix files for advanced include_path test 2008-10-12 06:40:36 +00:00
Greg Beaver 53e1428b06 increase code coverage 2008-10-12 05:41:22 +00:00
Greg Beaver 60969b5385 fix links for fseek as well 2008-10-11 22:20:57 +00:00
Greg Beaver 59379244ad fix reading links from streams (works with PharFileInfo->getContent()) 2008-10-11 22:12:07 +00:00
Greg Beaver bf268a68f9 cosmetics/maintainability: reduce code redundancy on error conditions 2008-10-11 21:22:58 +00:00
Greg Beaver eb41e0d64f work around crap stream filter implementation, update tests for compressed aliases in zip-based phar so they actually test the compression 2008-10-11 20:57:08 +00:00
Greg Beaver 59e52885a1 fix Bug #46026: bz2.decompress/zlib.inflate filter tries to decompress after end of stream
[DOC] add concatenation option to bz2.decompress stream filter
2008-10-11 19:14:08 +00:00
Felipe Pena 9552f1a573 - Fixed bug #46249 (pdo_pgsql always fill in NULL for empty BLOB)
- Fixed bug #46274 (pdo_pgsql - Segfault when using PDO::ATTR_STRINGIFY_FETCHES and blob)
2008-10-11 19:03:23 +00:00
Kalle Sommer Nielsen 0c183be27f MFH:
Add missing zend_parse_paramters_none() in pdo_drivers()
2008-10-10 23:38:14 +00:00
Stanislav Malyshev f2ada381bb improve OCI detection 2008-10-10 20:05:05 +00:00
Felipe Pena 6f81d12eb1 - Added skipif 2008-10-10 19:53:20 +00:00
Felipe Pena cefe0f3c22 - New test 2008-10-10 19:49:42 +00:00
Felipe Pena 86f0b45ef8 - MFH: Static'fication 2008-10-10 19:35:34 +00:00
Felipe Pena 8a5ee4b33a - Fixed tests 2008-10-10 16:51:43 +00:00
Felipe Pena a3c8772fd1 MFH:
- Fixed bug #46139 (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE)
  Initial patch by: chsc at peytz dot dk
2008-10-10 16:47:15 +00:00
Dmitry Stogov 3c5ff0f8f4 Fixed bug #46246 (difference between call_user_func(array($this, $method)) and $this->$method()) 2008-10-10 15:19:35 +00:00
Felipe Pena 1f54af9245 MFH:
- Fixed bug #44251 (Question mark and an escaped singel quote lead to an exception)
- Fixed bug #41125 (PDO mysql + quote() + prepare() can result in seg fault)
  Patch by: tsteiner at nerdclub dot net
2008-10-10 12:10:41 +00:00
Kalle Sommer Nielsen d77277c0e2 MFH:
* Fix gcov warnings about parameters not initialized (Thanks for noticing Felipe!)
* Changed int to be long in mssql_num_fields
2008-10-09 18:34:20 +00:00
Felipe Pena 8d03c0de19 - MFH: Fixed bug pecl#9641 (Unable to add driver specific methods to PDOStatement) (patch by Christopher Jones) 2008-10-09 13:00:58 +00:00
Felipe Pena 62d2239964 - Fix typo 2008-10-09 01:08:55 +00:00
Greg Beaver 61d3c9f8c7 note fix to bug #45907: undefined reference to 'PHP_SHA512Init' 2008-10-09 00:51:10 +00:00
Greg Beaver fffdf661c9 fix bug #45907: undefined reference to PHP_SHA512Init 2008-10-09 00:50:47 +00:00
Ilia Alshanetsky 529105427e use proper macro 2008-10-08 23:04:38 +00:00
Derick Rethans bac72c6052 - MFH: Fixed mime-type generation.
#- Charset markers need to be prepended with ; -- the tests were also wrong.
2008-10-08 09:44:24 +00:00
Felipe Pena e8f25c5b98 - MFH: Fixed bug #45575 (Segfault with invalid non-string as event handler callback)
patch by Christian seiler
2008-10-07 18:18:45 +00:00
Felipe Pena d0ad1517f5 - MFH: Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback without event) 2008-10-07 15:28:45 +00:00
Felipe Pena 8a24cfc98c - MFH: Fixed code ("Division by zero" anymore) 2008-10-07 12:51:21 +00:00
Kalle Sommer Nielsen 1b34fa1675 MFH:
* is_output and is_null parameters are now booleans instead of int in mssql_bind
* Added missing conditional from old parameter parsing
2008-10-06 21:50:48 +00:00
Ilia Alshanetsky 96d199d1b1 Removed deprecated usage of zend_get_parameters_ex() 2008-10-06 17:57:32 +00:00
Felipe Pena 1f150fa10c - MFH: Fixed compiler warning 2008-10-06 15:13:53 +00:00
Felipe Pena 0af1239a82 - MFH: Fixed bug #45373 (php crash on query with errors in params) 2008-10-06 14:33:34 +00:00
Derick Rethans 642f5cffd4 - Updated to version 2008.7 (2008g) 2008-10-06 14:27:41 +00:00
Ilia Alshanetsky 5bb68042b8 Fixed a few signedness warnings 2008-10-06 01:18:54 +00:00
Felipe Pena e68106988a - MFH: Fixed bug #46238 (Segmentation fault on static call with empty string method) 2008-10-06 00:40:02 +00:00
Etienne Kneuss 46aad39ee2 Moved to NEWS in 5_2 2008-10-05 14:50:42 +00:00
Etienne Kneuss 0d7d9b0540 Fix #46222 (Allow indirect modifications of Arrays inside ArrayObject + fix EG(uninitialized_zval_ptr) overwrite) 2008-10-05 14:20:55 +00:00
Kalle Sommer Nielsen b5661c4e0c MFH: New parameter parsing API (with lots of help from Felipe) 2008-10-05 04:55:49 +00:00
Felipe Pena e0327fcc4e - MFH: Initialize variable 2008-10-05 04:38:01 +00:00
Arnaud Le Blanc 8ad19e1801 MFH: Fixed #46164 (stream_filter_remove() closes the stream) 2008-10-05 01:40:19 +00:00
Felipe Pena e1443682af - MFH: Fixed bug #44991 (Compile Failure With freetds0.82) (patch by jklowden at freetds dot org) 2008-10-04 12:55:21 +00:00
Felipe Pena 892fb867c8 - MFH: Fixed bug #44991 (Compile Failure With freetds0.82) (patch by matthias at dsx dot at) 2008-10-04 12:52:58 +00:00
Felipe Pena a547b2589b MFH:
- Fixed:
 - Some segfaults when no connection is open
 - Warning about cfg_get_long (Kalle)
- New parameter parsing API
2008-10-03 17:21:50 +00:00
Pierre Joye 86a352afda - Declarations MUST BE done in the beginning of a context 2008-10-03 16:19:49 +00:00
Mikko Koppanen e3c65a369f Adds signal handling around popen/pclose in mail.c.
Related information on bugs #8992 and #14032
Original patch by D. Parthey
2008-10-03 13:32:41 +00:00
Zoe Slattery e72b3afeb5 Committting tests for Olafur Waage 2008-10-02 20:09:54 +00:00
Etienne Kneuss b879459973 MFH: Use enum alternative instead of explicit value 2008-10-02 19:54:03 +00:00
Antony Dovgal 97e667d250 MFH: use HashPosition to prevent race condition in multithreaded env 2008-10-02 08:46:16 +00:00
Felipe Pena 3ecc545018 - New test 2008-10-02 03:36:52 +00:00
Felipe Pena 604c7f6ad2 - MFH: Fixed bug #46215 (json_encode mutates its parameter and has some class-specific state) 2008-10-02 03:36:20 +00:00
Johannes Schlüter 80720205c0 MFH: Improve order in MINFO output 2008-10-01 21:36:43 +00:00
Ilia Alshanetsky fdcdf8c02b Fixed bug #46206 (pg_query_params/pg_execute convert passed values to
strings).
2008-10-01 20:30:23 +00:00
Johannes Schlüter 3c335a3b5e MFH: Handle failed connections right 2008-10-01 19:47:17 +00:00
Johannes Schlüter 5db154d49e MFH: Fix test 2008-10-01 19:45:22 +00:00
Antony Dovgal f5b09f1907 MFH: initialize variable 2008-10-01 14:31:01 +00:00
Dmitry Stogov 8d610e79ac Added ability to send user defined HTTP headers with SOAP request. 2008-10-01 13:13:34 +00:00
Scott MacVicar f37e905b8c MFH: Fix bug #46209 - Remove license condition that is no longer required. 2008-10-01 11:03:15 +00:00
Dmitry Stogov 71aad5da4a Fixed bug #43045 (SOAP encoding violation on "INF" for type double/float) 2008-10-01 08:42:48 +00:00
Dmitry Stogov f656c6fc70 Fixed bug #46205 (Closure - Memory leaks when ReflectionException is thrown) 2008-10-01 07:30:31 +00:00
Rob Richards a16bcaeb4b MFH: use getenv 2008-09-30 15:11:05 +00:00
Rob Richards 2e4989cc50 MFH: initialize keyresource 2008-09-30 14:41:49 +00:00
Greg Beaver 41c95a030d fix test (thanks Tony) 2008-09-30 13:25:48 +00:00
Rob Richards db5da11f8a MFH: Windows requires SystemRoot env var to run tests 2008-09-30 13:21:48 +00:00
Scott MacVicar 14982115cd MFH: SQLite3::escapeString can be static as it doesn't rely on an instance of SQLite 2008-09-30 11:14:48 +00:00
Greg Beaver 21c9fb32c1 note fix to Bug #46194 SIGSEGV when requested file is not found 2008-09-30 02:41:33 +00:00
Greg Beaver dcc919c449 fix Bug #46194: SIGSEGV when requested file is not found 2008-09-30 02:40:17 +00:00
Etienne Kneuss f0cf9b4c88 MFH: Fix #46192 (Serialization of ArrayObject with objects as storage) 2008-09-29 22:45:28 +00:00
Johannes Schlüter 45c04bb67d MFH: Free persistent cache and improve MINFO output 2008-09-29 21:20:50 +00:00
Johannes Schlüter 3540da5344 MFH: No mysqli stuff in ext/mysql 2008-09-29 21:18:31 +00:00
Rob Richards 612beefba8 BFN 2008-09-29 16:53:08 +00:00
Rob Richards 641347202b MFH: fix bug #46185 (importNode changes the namespace of an XML element)
add test
2008-09-29 16:52:45 +00:00
Rob Richards 84bfd4040e MFH: fix bug #46191 (BC break: DOMDocument saveXML() doesn't accept null) 2008-09-28 12:00:37 +00:00
Greg Beaver e1d0a964da fix 017.phpt in streams.c, and very dangerous intercepting of file functions in all cases introduced in multi-threaded fix 2008-09-26 23:34:57 +00:00
Greg Beaver c6f452fb53 note fix to Bug #46178 memory leak in ext/phar, remove 'useless entry' according to Hannes 2008-09-26 16:32:21 +00:00
Greg Beaver 1847779210 fix bug #46178: memory leak in ext/phar 2008-09-26 16:29:44 +00:00
Pierre Joye 142ee7a89d - add nts to the zip names 2008-09-26 13:29:11 +00:00
Sanjay Mantoor 55039a95fd New testcases for array_diff_uassoc() function 2008-09-26 11:53:48 +00:00
Greg Beaver f2ad965863 fix another memory leak 2008-09-26 04:54:08 +00:00
Greg Beaver 7a62dcaa5e fix obvious memory leak 2008-09-26 04:41:22 +00:00
Pierre Joye 1b5a8cc258 - MFH: add VC version and architecture to the created zip(s) names 2008-09-25 15:00:59 +00:00
Ilia Alshanetsky 310f4583a4 Fixed typo 2008-09-24 23:43:28 +00:00
Felipe Pena 6bc9869ad9 - MFH: Fixed bug #46157 (PDOStatement::fetchObject prototype error) 2008-09-23 23:07:52 +00:00
Nuno Lopes 8a77e55566 clean some dead code (with static analysis help) 2008-09-23 15:18:26 +00:00
Felipe Pena a1d2b4d940 - BFN #46160 2008-09-23 12:17:50 +00:00
Felipe Pena 54231ab577 - MFH: Fixed bug #46160 (SPL - Memory leak when exception is throwed in offsetSet method) 2008-09-23 12:06:01 +00:00
Rob Richards 169e68ed1a MFH: fix hints causing phpdoc crash 2008-09-22 15:09:46 +00:00
Felipe Pena fa592702a7 - New test 2008-09-22 13:09:50 +00:00
Felipe Pena 084124fb37 - MFH: Fixed bug #46088 (RegexIterator::accept - segfault) 2008-09-22 13:09:09 +00:00
Greg Beaver 498ffbc84f workaround for Bug #46147 for PHP < 5.2.7 2008-09-22 01:39:11 +00:00
Greg Beaver 17cfd5f24e MF52 fix Bug #46147: after stream seek, appending stream filter reads incorrect data 2008-09-22 01:26:14 +00:00
Ilia Alshanetsky 5c95af8be3 WS 2008-09-21 18:13:45 +00:00
George Wang ffe4bd566f *** empty log message *** 2008-09-21 02:38:32 +00:00
George Wang 0f4f00e3ae disable core dump by default 2008-09-21 02:34:08 +00:00
Pierre Joye f6b2e89ea6 - fix VC6 build 2008-09-20 23:10:16 +00:00
Arnaud Le Blanc a7279c4457 MFH: Fixed #46059 (Compile failure under IRIX 6.5.30 building posix.c) 2008-09-20 22:12:43 +00:00
Dmitry Stogov b6a4094c03 Fixed bug #46115 (Memory leak when calling a method using Reflection) 2008-09-19 12:48:33 +00:00
Andrey Hristov bf20aa12c7 MFH:Fix for bug#46019 MySQLi::init() leaks memory 2008-09-19 11:38:46 +00:00
Scott MacVicar ba2f507871 MFH: Show the library version currently loaded as well as the version the extension was compiled with. Useful for checking PHP is using the latest version. 2008-09-18 16:09:19 +00:00
Antony Dovgal eaec817e1b update tests 2008-09-18 12:16:15 +00:00
Scott MacVicar d875c9f889 MFH: mhash algorithm parameter was modified when it was a zval, also update a test. 2008-09-18 11:59:13 +00:00
Rob Richards 766ad69755 BFN 2008-09-18 11:49:36 +00:00
Rob Richards 24e9b91193 MFH: fix bug #46099 (Xsltprocessor::setProfiling - memory leak) 2008-09-18 11:47:59 +00:00
Antony Dovgal 46ab8303e1 fix test 2008-09-18 08:40:02 +00:00
Ilia Alshanetsky 4732ab390c Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on
multiple calls).
2008-09-17 23:27:53 +00:00
Dmitry Stogov e46d328934 Fixed bug #46106 (Memory leaks when using global statement) 2008-09-17 15:11:28 +00:00
Dmitry Stogov df9b7a1fe0 Fixed possible crash because of overriden error handler 2008-09-17 13:08:54 +00:00
Ilia Alshanetsky fcc0fdd125 Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). 2008-09-17 00:20:30 +00:00
Johannes Schlüter 2c98da2d17 MFH Fix #44425 (Extending PDO/MySQL class with a __call() function doesn't work) 2008-09-16 23:35:50 +00:00
Felipe Pena 4c32eb9989 - BFN #46071 2008-09-16 23:02:16 +00:00
Felipe Pena 516ac7e726 - MFH: Fixed bug #46071 (finfo_open() segfaults with wrong file name on BSD) 2008-09-16 22:25:52 +00:00
Antony Dovgal 86660c69b7 MFH 2008-09-16 14:36:27 +00:00
Andrey Hristov b429a84c2b MFH:
Fix a crash introduced yesterday in mysqlnd, non-zts mode - missing if () for
STAT_LAST was accessing wrong memory thus overwritting method pointers.

Windows doesn't have atoll(), which is C99, C89 has only atoi() + atol().
Win has _atoi64, so use it.
2008-09-16 14:35:01 +00:00
Antony Dovgal bbbb0f1ae5 fix test 2008-09-16 13:41:34 +00:00
Antony Dovgal 02022c766c MFH: fix compile warning 2008-09-16 09:48:17 +00:00
Scott MacVicar 3940782c25 MFH: Fix memory leak in a few cases 2008-09-16 09:46:24 +00:00
Ilia Alshanetsky e39d08794e Fixed bug #46087 (DOMXPath - segfault on destruction of a cloned object). 2008-09-16 00:38:45 +00:00
Scott MacVicar b845244370 Missed variable declaration. 2008-09-15 22:16:25 +00:00
Scott MacVicar db907e5bc3 Fixed bug #46086 (Segfault when accessing fileinfo class property) 2008-09-15 22:13:25 +00:00
Andrey Hristov 8bb2465a51 MFH:
Add float conversions too. Float users should understand how float works!!!
2008-09-15 18:09:20 +00:00
Felipe Pena 2fced40b76 MFH: - Added E_ERROR in constructors 2008-09-15 18:07:16 +00:00
Derick Rethans 77ba4c0e07 - Updated to version 2008.6 (2008f) 2008-09-15 18:02:58 +00:00
Andrey Hristov 5f7bd521f0 MFH:Compile-in a string-to-int conversion for INT columns by default,
controlled by a ini setting.
2008-09-15 14:07:44 +00:00
Dmitry Stogov 1474d9dfad Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:16 +00:00
Antony Dovgal 612c93b78b add missing .cvsignore 2008-09-15 11:00:50 +00:00
Etienne Kneuss 6ebc3a8b9b MFH: Fix #45656 (new Class silenting exceptions in autoloaders) 2008-09-15 10:19:53 +00:00
Felix De Vliegher 7251de9eb8 MFH: More fileinfo tests. 2008-09-15 08:51:43 +00:00
Scott MacVicar 52695ff939 MFH: Sync libsqlite to 3.6.2 with some VC6 patches 2008-09-15 01:22:06 +00:00
Scott MacVicar 8b912cc49c Fixed bug #46033 (Segfault when instantiating SQLite3Stmt and SQLite3Result) 2008-09-15 00:55:37 +00:00
Pierre Joye 6c7f41d482 - fix build (declaration must be fist in a given contex) 2008-09-14 22:10:24 +00:00
Nuno Lopes da804874f7 update list of pcre symbols 2008-09-14 14:15:52 +00:00
Greg Beaver 1799136925 fix compile on IRIX with MIPSPro (Bug #46072) 2008-09-14 06:47:08 +00:00
Greg Beaver dd51a607e2 increase code coverage, fix bzip2-compressed alias in zip 2008-09-14 06:31:20 +00:00
Greg Beaver 9eb83b6ae9 fix minor issues found by ICC (unused variables and the like) 2008-09-13 22:30:55 +00:00
Antony Dovgal 8209f891a4 MFH 2008-09-13 21:32:21 +00:00
Greg Beaver 86808da90b note fix of Bug #46060: Phar::addEmptyDir() breaks 2008-09-13 20:57:41 +00:00
Greg Beaver 760172fcee fix Bug #46060: addEmptyDir() breaks 2008-09-13 20:57:09 +00:00
Moriyoshi Koizumi 111d815b41 - MFH: Reenable ini_set("mbstring.internal_encoding", VALUE) to work on runtime.
(noticed by Antony. Thanks!)
2008-09-13 19:53:01 +00:00
Moriyoshi Koizumi 8fe2cb8ced - MFH: Properly initialize/finalize the library. This plugs the leaks caused by
onig_new().
2008-09-13 02:33:15 +00:00
Moriyoshi Koizumi b8e81fd0a7 - MFH: mb_list_*() issue settlements 2008-09-13 00:30:51 +00:00
Moriyoshi Koizumi a4cb898283 - MFH: WS 2008-09-13 00:23:48 +00:00
Moriyoshi Koizumi e47bf9fbf5 - MFH: Add missing =DIR 2008-09-13 00:14:31 +00:00
Moriyoshi Koizumi 6c8d64f6b4 - MFH: use memcmp() for binary safety. 2008-09-12 23:35:01 +00:00
Arnaud Le Blanc 41201c78b2 Add tests for pcntl 2008-09-12 19:49:46 +00:00
Arnaud Le Blanc 52f5ee8805 MFH: initialize optional args 2008-09-12 19:49:18 +00:00
Arnaud Le Blanc 28c49938d3 MFH: make pharcommand.inc works without ereg 2008-09-12 16:09:01 +00:00
Andrey Hristov 99ea8068df MFH:
- More statistics
- Fixed endless loop - mysqlnd_stmt_next_result() returned FAIL but as it
  is defined to be 1 (and PASS is 0), checking for mysqlnd_stmt_more_result()
  was successful although we were expecting a FAIL.
2008-09-12 15:08:41 +00:00
Arnaud Le Blanc 343d958b25 MFH: Fix cwd when running tests out of tree with ZTS builds (fixes #45837) 2008-09-12 14:15:05 +00:00
Arnaud Le Blanc b08615c675 MFH Fix test 2008-09-12 12:17:07 +00:00
Felipe Pena b861898fc7 - MFH: Fixed unexpected zval changes 2008-09-12 01:14:14 +00:00
Ilia Alshanetsky 4c6db91b87 Fixed bug #45382 (timeout bug in stream_socket_enable_crypto). 2008-09-11 23:56:43 +00:00
Lars Strojny fc9c3a17c6 MFH: prev()-tests by Iain Lewis <ilewis@uk.ibm.com> 2008-09-11 18:21:37 +00:00
Arnaud Le Blanc c238cb8f84 MFH: Fixed #46053 (SplFileObject::seek - Endless loop) 2008-09-11 15:31:58 +00:00
Arnaud Le Blanc 7f5079ab3a MFH: Fixed #46051 (SplFileInfo::openFile - memory overlap) 2008-09-11 15:22:49 +00:00
Rob Richards dea7f49f70 MFH: fix bug #46047 (SimpleXML converts empty nodes into object with nested array)
add test
2008-09-11 14:21:33 +00:00
Rob Richards 94fd10cd79 MFH: fix bug #45901 (wddx_serialize_value crash with SimpleXMLElement object)
add test
2008-09-11 14:17:31 +00:00
Antony Dovgal f2d766b917 fix test 2008-09-11 13:38:15 +00:00
Sanjay Mantoor 49eba8cb23 Fixed expected output 2008-09-11 11:21:53 +00:00
Sanjay Mantoor 313728200d New testcases for array_intersect_key() function 2008-09-11 10:48:12 +00:00
Greg Beaver d19e466d96 update NEWS to note bug #46032 fix 2008-09-11 03:29:54 +00:00
Greg Beaver e7b6fe1b45 fix Bug #46032: PharData::__construct wrong memory read 2008-09-11 03:29:15 +00:00
Stanislav Malyshev 92a547c7e4 fix file format 2008-09-11 00:41:29 +00:00
Stanislav Malyshev 530ffde4fd add some windows-style INI entries to tests 2008-09-11 00:34:48 +00:00
Stanislav Malyshev a873cfc134 update scanner files 2008-09-11 00:34:10 +00:00
Stanislav Malyshev 193dd31a22 Fix BC issue with ini scanner.
# Now in "": \LETTER is literal, \" is escaped ", value ending with \" is literal
2008-09-11 00:33:38 +00:00
Ilia Alshanetsky 66ec2ac601 Fixed bug #46042 (memory leaks with reflection of mb_convert_encoding()) 2008-09-10 23:19:38 +00:00
Rob Richards dcda8d83dd MFH: fix bug #46003 (isset on nonexisting node return unexpected results)
add test
2008-09-10 16:28:53 +00:00
Rob Richards e19c053adf MFH: fix bug #46029 (Segfault in DOMText when using with Reflection) 2008-09-10 15:40:11 +00:00
Felipe Pena 39a0c5f4e6 - Fixed mem. leak 2008-09-10 13:47:29 +00:00
Rob Richards 6d59a6d6b5 MFH: fix bug #45553 (Using XPath for attributes with a namespace does not work)
add test
2008-09-10 11:21:12 +00:00
Arnaud Le Blanc 49abf21fea MFH: Fix test 2008-09-10 11:12:25 +00:00
Arnaud Le Blanc 0ea8c1c70e BFN 2008-09-10 10:28:57 +00:00
Arnaud Le Blanc ffb76017d5 MFH: Fixed #45928 (large scripts from stdin are stripped at 16K border) 2008-09-10 10:28:39 +00:00
Ilia Alshanetsky b3bbaf7d06 Fixed unused var warning 2008-09-10 01:39:35 +00:00
Felipe Pena c818d0d013 MFH:
- Merged fix from SF project (Import Jeff Lawsons patches for XML datetime bug fixes)
  Fixed bugs:
  #45226 (xmlrpc_set_type() segfaults with valid ISO8601 date string)
  #18916 (xmlrpc_set_type() "not working")
2008-09-10 00:07:45 +00:00
Arnaud Le Blanc 506e49c6e1 MFH: Fixed bug #46031 (Segfault in AppendIterator::next) 2008-09-09 19:44:15 +00:00
Felipe Pena bbb083fa24 - New try 2008-09-09 13:26:40 +00:00
Nuno Lopes c778b3eb19 upgrade to PCRE 7.8. this includes a security improvement. I'll upgrade HEAD later (not urgent..) 2008-09-09 07:55:10 +00:00
Ilia Alshanetsky 6a2729ed4d Fixed a compiler warning 2008-09-09 01:21:07 +00:00
Stanislav Malyshev f77aa102ea fix tests to work both in ICU 3.6 and 3.8 2008-09-08 20:49:10 +00:00
Felipe Pena c3cda40f8f - MFH: Changed error level E_ERROR into E_WARNING in parameter validation 2008-09-08 19:41:42 +00:00
Alexey Zakhlestin 2955943a78 pcntl_sigwaitinfo() and pcntl_sigtimedwait() functions are conditionally enabled, so, test should verify if they are present 2008-09-08 12:08:41 +00:00
Antony Dovgal 4126e2d8f1 add missing file 2008-09-08 10:24:25 +00:00
Arnaud Le Blanc 0dac02dac2 MFH: Added tests for rfc1867 post handler 2008-09-08 09:25:07 +00:00
Arnaud Le Blanc 163202ac88 MFH: run-tests.php: Added %u|b% placeholder, like %unicode|string%, for
array keys in var_dump() output.
2008-09-08 09:23:51 +00:00
Felipe Pena 0c745885ca - Fixed some wrong format parameters 2008-09-08 01:33:08 +00:00
Felipe Pena 7b59a46711 - New entry 2008-09-07 23:08:20 +00:00
Felipe Pena 49fc9c9e13 - MFH: Fixed bug #46010 (warnings incorrectly generated for iv in ecb mode) 2008-09-07 22:57:37 +00:00
Johannes Schlüter 27637afb90 - MFH: The exact error message might differ (it's "Not owner" on Solaris) 2008-09-07 22:34:40 +00:00
Jani Taskinen 6495909d16 - Revert idiotic patch (hint: Windows IS NOT the most important OS!) 2008-09-07 17:59:24 +00:00
Arnaud Le Blanc ef38ff62a5 MFH: More accurate max_file_size / upload_max_filesize (fixes #45124) 2008-09-07 14:17:47 +00:00
Arnaud Le Blanc dd956381e2 MFH: Fixed #45911 (Cannot disable ext/hash) 2008-09-07 13:15:59 +00:00
Felipe Pena 166ea7073a - MFH: Removed the doubled error message (the error level is no longer E_ERROR) 2008-09-07 02:58:50 +00:00
Kalle Sommer Nielsen 1a1df46be2 MFH: Fix test on Windows 2008-09-07 00:42:40 +00:00
Felix De Vliegher d411698211 Tests for get_browser() 2008-09-06 23:20:15 +00:00
Ilia Alshanetsky a6860ce964 Removed unused variables 2008-09-06 21:31:01 +00:00
Arnaud Le Blanc 898ff10dc0 MFH: Fixed #43540 (rfc1867 handler newlength problem) 2008-09-06 17:18:40 +00:00
Alexey Zakhlestin ff22e27ec6 bugfix is also applied to 5.2, so NEWS moved there 2008-09-06 08:19:33 +00:00
Alexey Zakhlestin 8a2461af4c Fixed bug #45405 (snmp extension memory leak) 2008-09-06 07:57:22 +00:00
Stanislav Malyshev 29a57b1ddd fix formatter tests for ICU 3.8 2008-09-04 19:59:37 +00:00
Pierre Joye 5ec35396e0 - MFH: #45985, touch on opened file raises a warning 2008-09-04 08:05:27 +00:00
Stanislav Malyshev 9bb39338db fix tests 2008-09-04 00:16:58 +00:00
Stanislav Malyshev d8c0c2203b fix formatting/parsing 2008-09-04 00:15:25 +00:00
Stanislav Malyshev 95d9565902 ws cleanup 2008-09-04 00:08:17 +00:00
Stanislav Malyshev 74c83ca209 revert last change 2008-09-03 19:21:11 +00:00
Stanislav Malyshev 47980ee785 better detection for client libraries 2008-09-03 18:42:12 +00:00
Lukas Smith 97eb2d3ef8 MFH 2008-09-03 17:08:05 +00:00
Felipe Pena 11319aa113 - New test 2008-09-02 19:28:21 +00:00
Nuno Lopes 1e3ebc2373 kill dead variables. found by LLVM's clang static analyzer 2008-09-02 19:10:38 +00:00
Dmitry Stogov 51eb7f5de9 Fixed bug #45860 (header() function fails to correctly replace all Status lines) 2008-09-02 13:22:16 +00:00
Felipe Pena 5b0e87618b - Silent valgrind 2008-09-02 12:43:24 +00:00
Pierre Joye ed4db08f69 - fix test (file or path not found) (Thanks Dmitry for the notice) 2008-09-02 10:28:11 +00:00
Pierre Joye c8a0c3b0f5 - don't close caller streams in libmagic (prevent leak and zombie stream)
- string returned by magic_* are freed on magic_close, duplicate before
  calling magic_close (set return value)
- if stat failed, don't try to call magic_* (when FILEINFO_MODE_FILE)
2008-09-02 10:15:54 +00:00
Dmitry Stogov d5bba04ac5 Fixed Bug #43958 (class name added into the error message) 2008-09-02 09:45:49 +00:00
Jani Taskinen 66ebb8019b - Moved to PHP_5_2 2008-09-02 08:58:18 +00:00
Felipe Pena d13b704d25 - Fixed mime_content_type() behavior when a string is given
- Fixed check for "empty file name"
- MFH: New test
2008-09-01 23:44:00 +00:00
Johannes Schlüter 606e0f26a0 back to dev 2008-09-01 20:51:57 +00:00
Johannes Schlüter 8df3c31d86 dev -> release 2008-09-01 20:30:44 +00:00
Pierre Joye 99041160df - use php's stream in libmagic
- remove duplicate code (like mime_content_type() compatibility function
  now use the same base as finfo_file())
- make it portable (works now on windows too, belongs other OSes)

- ([20:28]  <lsmith> Pierre: ok please commit)
2008-09-01 18:56:06 +00:00
Pierre Joye 0f701b8d31 - fix typo and icu bundling 2008-09-01 18:19:58 +00:00
Steph Fox 8e972fcd7e I hate not being able to test. 2008-09-01 16:32:55 +00:00
Steph Fox 94dcaa27fb - Fix the fix (sorry, missed this until now) 2008-09-01 16:29:38 +00:00
Steph Fox e36c24fc50 - Remove pre-made phar.phar 2008-09-01 15:44:48 +00:00
Dmitry Stogov 41840d59a5 Disabled warning messages in SoapClient constructor 2008-09-01 14:55:30 +00:00
Dmitry Stogov 762d6706d3 Fixed bug #42318 (problem with nm on AIX, not finding object files) 2008-09-01 13:15:31 +00:00
Jani Taskinen bfc734e5ed - Remove extra ) 2008-09-01 09:21:37 +00:00
Jani Taskinen db24e89b35 fix news 2008-09-01 09:08:53 +00:00
Patrick van Kleef 9de6178bb4 - fixes for ext/odbc 2008-09-01 08:38:58 +00:00
Steph Fox 318d5f98ff - unnecessary ;
We are now 100% synched - let's keep it that way!
2008-08-31 21:02:55 +00:00
Steph Fox 7b74a7711c - cs, update package files following RC1 (just to keep it all in sync) 2008-08-31 21:01:12 +00:00
Greg Beaver 2f2b08a286 move to 2.0.0-dev 2008-08-31 20:50:09 +00:00
Greg Beaver cabf4c481e use TAR_FILE instead of '0' and '\0' instead of 0 2008-08-31 20:24:04 +00:00
Greg Beaver 4b81bd61d8 temp bandaid on broken build system, revert when snapshot build is fixed in win32 2008-08-31 19:51:49 +00:00
Greg Beaver b597a9c781 hadn't saved tar.c, use '\0' instead of 0 for char values, removes warning in intel compiler 2008-08-31 19:47:31 +00:00
Greg Beaver 28689c9c01 use '\0' instead of 0 for chars, removes intel warning 2008-08-31 19:46:35 +00:00
Greg Beaver 9397c4a5d1 remove unnecessary double variable declarations 2008-08-31 19:42:16 +00:00
Greg Beaver b2efb50cfd remove unnecessary ; 2008-08-31 19:38:40 +00:00
Steph Fox e8be4d93c5 - Ensure that we're always checking for OpenSSL support, rather than just for ext/openssl being loaded 2008-08-31 19:18:35 +00:00
Mikko Koppanen 05c24934cf Removed fileinfo related according to Jani's request 2008-08-31 17:05:12 +00:00
Nuno Lopes 426a1251f6 remove unicode skipif, as the test doesnt require such support 2008-08-31 15:28:35 +00:00
Alexey Zakhlestin 733c27c35b more detailed news-entry 2008-08-31 15:04:21 +00:00
Alexey Zakhlestin 210aed5bd6 added entry about change in ext/session 2008-08-31 14:56:14 +00:00
Alexey Zakhlestin c9fab63584 remove special treatment of /tmp path 2008-08-31 14:49:58 +00:00
Lukas Smith 043ae9ea98 MFH 2008-08-31 10:35:06 +00:00
Mikko Koppanen dc2f8f6e3c Changed name,name,name to name, name, name according to Pierre's advice 2008-08-31 10:20:57 +00:00
Mikko Koppanen 8a03f50679 Added news entries about changes in ext/fileinfo 2008-08-31 10:06:46 +00:00
Lukas Smith 824eea696d MFH 2008-08-31 08:32:32 +00:00
Greg Beaver 270964c193 use safer strlcpy, patch by Tony Dovgal 2008-08-31 07:15:25 +00:00
Greg Beaver 678db15b51 commit missing files for tests 2008-08-31 07:03:26 +00:00
Greg Beaver 513cec31d3 fix compile warning in PHP < 6.0 2008-08-31 06:58:04 +00:00
Greg Beaver c73badb3fd remove superfluous variable declarations, merge WS from pecl/phar 2008-08-31 06:51:49 +00:00
Greg Beaver eec1cf5f0a merge from pecl/phar strlen optimizations 2008-08-31 06:47:38 +00:00
Greg Beaver e30bf5af3b remove superfluous return statements, merge from pecl/phar 2008-08-31 06:42:46 +00:00
Greg Beaver 1c66670ee8 merge minor optimization removing strlen from pecl/phar 2008-08-31 06:38:09 +00:00
Greg Beaver 6dcdb77f7b remove unused variables, merge from pecl/phar 2008-08-31 06:31:53 +00:00
Greg Beaver 642f6aa673 remove superfluous double variable declaration, merge from pecl/phar 2008-08-31 06:28:01 +00:00
Greg Beaver 27cf27568d use %u instead of %d, merge from pecl/phar 2008-08-31 06:26:19 +00:00
Greg Beaver f679e900dd remove orphaned code, merge from pecl/phar 2008-08-31 06:13:42 +00:00
Greg Beaver 5c3749021a remove unused variables, merge from pecl/phar 2008-08-31 06:09:37 +00:00
Greg Beaver a7da5249e2 WS merge from pecl/phar 2008-08-31 06:04:38 +00:00
Greg Beaver 6ac2c92ede 2 fixes, merge minor fixes from pecl/phar. Merge in corrected fix from pecl/phar for is_tar setting of tar_type 2008-08-31 02:14:03 +00:00
Jani Taskinen 80f8ad97fb MFH:- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file) 2008-08-31 00:19:50 +00:00
Jani Taskinen 59aac03d5b update credits 2008-08-31 00:02:31 +00:00
Pierre Joye 10d0029dce - MFH: file will exist only on error (thx tony for the headup) 2008-08-30 23:55:04 +00:00
Greg Beaver 046f8dba55 sync with pecl/phar, missed one line change 2008-08-30 23:50:31 +00:00
Greg Beaver 3ebb94f6a2 sync with pecl/phar, this does not change any functionality in PHP 5.3, but makes syncing easier. This commit is only functional changes, WS will be next 2008-08-30 23:47:55 +00:00
Jani Taskinen 5bdff73b26 MFH: - Move tests to the correct dir 2008-08-30 23:22:27 +00:00
Greg Beaver 61b09ab834 fix OS-dependent order in test 2008-08-30 23:12:56 +00:00
Antony Dovgal 322d57fffd WS 2008-08-30 22:26:09 +00:00
Rasmus Lerdorf 5f178004ea Oops, fix the assert. 2008-08-30 18:27:29 +00:00
Rasmus Lerdorf f52d71d18e Fix for bugs 13961, 39927 and 45947 2008-08-30 16:47:46 +00:00
Pierre Joye 820c2002e4 - fix tests (clean on exit) 2008-08-30 16:24:33 +00:00
Marcus Boerger 3dadcee60b - MFH Fix test 2008-08-30 11:32:29 +00:00
Marcus Boerger 063ed94f28 - MFH Fix -p handling 2008-08-30 11:25:34 +00:00
Patrick van Kleef 905269f056 - MFH: Added odbc.default_cursortype to control the ODBC cursormodel
(bug #43668)
#[DOC]
2008-08-29 19:16:58 +00:00
Matt Wilmas 22a5aea161 MFH: - Updated unary_op_type typedef with TSRMLS_DC
- Added binary_op_type typedef
- Added missing ZEND_BOOL_XOR to get_binary_op()
2008-08-29 18:12:47 +00:00
Matt Wilmas 2e6d655efd MFH: - Saved opcode when unary +/- is applied to IS_CONST op (e.g. for negative numbers)
- Made '+' in static_scalar context behave as '-' by calling add_function()
2008-08-29 17:54:29 +00:00
Patrick van Kleef 1401532e97 - MFH: Fixed code to use ODBC 3.52 datatypes for 64bit systems (bug #43666) 2008-08-29 16:44:29 +00:00
Felipe Pena 9566ebabcb - Fixed tests (Disable COMPRESS support for now) 2008-08-29 15:28:45 +00:00
Dmitry Stogov 78d28494ca Fixed bug #45706 (Unserialization of classes derived from ArrayIterator fails) 2008-08-29 14:59:20 +00:00
Antony Dovgal 740ba5ac0a MFH: fix get_browser() (broken in the process of param API conversion) 2008-08-29 14:14:09 +00:00
Felipe Pena b8541928cb - Fixed tests 2008-08-29 14:10:38 +00:00
Antony Dovgal fa978e8595 MFH: check for \0 to be consistent with other functions 2008-08-29 13:48:38 +00:00
Derick Rethans 057b2401bf - Disable COMPRESS support for now, as it requires forking.
# @DOC [DOC] "DOC"
2008-08-29 13:39:01 +00:00
Derick Rethans 36f20d1730 - Remove ext/mime_magic, it was deprecated and it's only function is now part of
ext/fileinfo.
2008-08-29 13:31:44 +00:00
Derick Rethans 4ca7e129a7 - MFH: Adding back in mime_content_type(). 2008-08-29 13:29:42 +00:00
Marcus Boerger 42eb47d500 - MFH preg_filter()
# As discussed with Lukas
# [DOC] check out the test
2008-08-29 12:13:54 +00:00
Derick Rethans 6fbf14c544 - MFH: Some more cleanups, and fixed some warnings. 2008-08-29 12:05:46 +00:00
Derick Rethans e3cd394979 - MFH: Support for "back of <hour>" and "front of <hour>" phrases that are used
in Scotland.
2008-08-29 12:01:57 +00:00
Pierre Joye 4b5dd8e396 - [DOC] ming has been moved to pecl 2008-08-29 11:20:18 +00:00
Pierre Joye 587b679363 - MFH: move ming to pecl 2008-08-29 11:19:37 +00:00
Matt Wilmas d558979acc - Be more specific about when constant substitution occurs
- And should that be "values" or "value"? Hmm, feel free to improve wording
2008-08-29 11:12:34 +00:00
Pierre Joye 6b35a5df0a - MFH: fix warning 2008-08-29 11:09:28 +00:00
Antony Dovgal c7c4d96c73 fix invalid read 2008-08-29 10:53:13 +00:00
Felix De Vliegher ef8ae4dfc5 Some fileinfo tests 2008-08-29 10:29:55 +00:00
Felix De Vliegher 6476e43eef Added %unicode_string_optional% for differences in output between PHP 5 and 6 2008-08-29 10:25:54 +00:00
Dmitry Stogov 8bf32f28f2 Imporoved compile-time constant substitution (Matt) 2008-08-29 10:17:08 +00:00
Antony Dovgal f6e15a25da fix ZTS build 2008-08-29 10:12:29 +00:00
Scott MacVicar 907c24fd81 Test for fileinfo to check mime types. 2008-08-29 09:52:13 +00:00
Scott MacVicar 4690692519 Replace ereg code with pcre, fix duplicate macro names and segfault. Patch by Mikko 2008-08-29 09:49:01 +00:00
Felipe Pena 42feeddd40 MFH:
- Removed the undocumented object support in the leftover array functions [DOC]
  (natcasesort, natsort, array_walk, array_walk_recursive, array_unique, array_key_exists)
- Changed HASH_OF() to Z_ARRVAL_P()
- Fixed bug #45937 (array_walk and array_walk_recursive can alter private/protected object variable)
2008-08-29 03:05:43 +00:00
Christopher Jones 02b2bcd94b MFH: Bug #45888 (Refcounting in ZTS mode) 2008-08-28 06:33:24 +00:00
Christopher Jones 2b24b003fa Add #45458 2008-08-28 06:22:49 +00:00
Christopher Jones c5aa4a138e MFH: Bug #45458 (OCI8: Numeric keys for associative arrays are not handled properly) 2008-08-28 06:19:45 +00:00
Christopher Jones 38b404fcb6 MHF: Test initialization cleanup 2008-08-28 05:35:26 +00:00
Christopher Jones 999d4938b6 MFH: Update Oracle DLL examples to match build changes 2008-08-28 05:31:31 +00:00
David Soria Parra 9af185c7c9 Already in 5.2 2008-08-27 07:49:43 +00:00
Antony Dovgal 3bd40d9000 fix file check and avoid segfault 2008-08-27 07:40:44 +00:00
Felipe Pena 7208556ca4 - MFH: Fixed check for empty file name 2008-08-27 01:04:23 +00:00
Felipe Pena 1ef7dfce3d - MFH: Fixed crash in file_error_core() 2008-08-27 00:17:27 +00:00
Jani Taskinen c1f52e5868 MFH 2008-08-26 23:26:07 +00:00
George Wang f091e745c9 ignore signal SIGXFSZ 2008-08-26 22:05:17 +00:00
Alexey Zakhlestin e7eba5af6a switch to the new parameter-parse API 2008-08-26 17:34:16 +00:00
Alexey Zakhlestin 97e26d95b7 this test depends on session.hash_bits_per_character, but it was not explicitly set 2008-08-26 16:46:26 +00:00
Felipe Pena d8c43bde79 - MFH: Improved fix 2008-08-26 16:22:27 +00:00
David Soria Parra 9f68483734 MFH: Fixed bug #43782 (feof() does not detect timeout on socket) 2008-08-26 16:06:36 +00:00
Rasmus Lerdorf 421751d240 Remove stray folding tag here 2008-08-26 15:37:01 +00:00
Felipe Pena 727990f432 - MFH: Added check for empty file name 2008-08-26 15:06:28 +00:00
Ilia Alshanetsky b805c7f8b7 Upgraded the lib to use PHP memory allocation routines.
Fixed a crash caused by analysis of DEADJOE files
A little bit of CS inside libmagic
2008-08-26 12:23:29 +00:00
Antony Dovgal f10dd24e79 cleanup garbage 2008-08-26 11:06:09 +00:00
Antony Dovgal 838ac5fdaa fix typo 2008-08-26 10:59:10 +00:00
Dmitry Stogov ced680941a Fixed bug #45786 (FastCGI process exited unexpectedly) 2008-08-26 09:56:08 +00:00
Pierre Joye 41a3bf43c9 - support for copy of ICU DLLS for all ICU versions 2008-08-26 09:10:39 +00:00
Dmitry Stogov 03f4121452 Fixed bug #45910 (Cannot declare self-referencing constant) 2008-08-26 08:38:26 +00:00
Rob Richards 895ba9afc7 MFH: fix warning 2008-08-25 21:04:30 +00:00
Felipe Pena 1152c18e2a - New test 2008-08-25 19:55:54 +00:00
Felipe Pena 9dda408624 - New test 2008-08-25 19:38:37 +00:00
Rob Richards 0bbb07cff6 no zstr in 5_3 2008-08-25 19:38:04 +00:00
Felipe Pena 77e7f1c191 - New tests 2008-08-25 19:36:01 +00:00
Jani Taskinen 1081c6ce1e MFH 2008-08-25 19:07:20 +00:00
Etienne Kneuss efd817bf13 MFH: Fix #45826 (Custom serialization) 2008-08-25 18:40:44 +00:00
Pierre Joye d161d4b3b3 - and the last part of the fix, inline on win 2008-08-25 14:37:07 +00:00
Jani Taskinen 3b714ee113 MFH: fix build on win32 2008-08-25 14:10:38 +00:00
Jani Taskinen 505ad55773 MFH 2008-08-25 13:42:55 +00:00
Jani Taskinen f1e4ae0867 MFH 2008-08-25 12:15:05 +00:00
Jani Taskinen 3680365a70 - fixed in 5.2 branch 2008-08-25 08:37:10 +00:00
Felipe Pena f8330b9ccc MFH:
- New parameter parsing API
- CS
2008-08-24 20:50:41 +00:00
Etienne Kneuss cc9a8ee528 MFH:
- Copy custom callback to the child class if any
- Prevent overwriting valid parent callbacks when implementing Serializable
- Export zend_user_(un)serialize to be available for custom callbacks
2008-08-24 18:22:33 +00:00
Marcus Boerger ce2f9bb0cf - MFH Fix issue with destruction of overloaded objects 2008-08-24 16:49:19 +00:00
Marcus Boerger 0edbdd7680 - Add new test 2008-08-24 16:46:30 +00:00
Pierre Joye bfced427f7 - fix zlib detection and enable features available in 7.18.1 2008-08-24 15:16:39 +00:00
Felipe Pena 473019a9b5 - MFH: CS 2008-08-24 04:02:49 +00:00
Felipe Pena f08e7caee4 - Removed unnecessary variable 2008-08-24 02:13:23 +00:00
Felipe Pena b9748913de - MFH: WS, Comestics
- Folding
2008-08-24 00:47:22 +00:00
Pierre Joye 566a02af26 - MFH: fix build 2008-08-23 21:08:09 +00:00
Pierre Joye 37a37d8743 - MFB: fix build (common inline definition will be done later) 2008-08-23 20:42:18 +00:00
Pierre Joye 8b952208ec - keep inet_aton declaration on non windows (what inet_aton has to do with flock?) 2008-08-23 20:21:08 +00:00
Pierre Joye 2620304003 - MFH:
- drop bindlib usage on windows
 - inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-23 19:22:10 +00:00
Hannes Magnusson 847284086b fix proto 2008-08-23 18:06:59 +00:00
Pierre Joye 76c0f4288d - MFH: expose MAXPATHLEN (PHP_MAXPATHLEN) 2008-08-23 17:55:50 +00:00
Felipe Pena bc96985ba1 MFH:
- WS, Cosmetics
- Removed unnecessary variables
2008-08-23 16:32:04 +00:00
Arnaud Le Blanc 569ea28207 MFH: Fix build on solaris 2008-08-23 13:57:19 +00:00
Felipe Pena 9d5ab6e54f - MFH: Removed unused arguments 2008-08-22 15:54:21 +00:00
Dmitry Stogov 8ed8b011ef Removed redundant code 2008-08-22 15:28:29 +00:00
Antony Dovgal b6a2c27232 MFH: fix zend_register_functions() not displaying duplicate functions (reported by Gopal) 2008-08-22 14:51:30 +00:00
Felipe Pena 611ef9534f - New tests 2008-08-22 13:40:09 +00:00
Marcus Boerger 9a2fc26e59 - MFH Cleanup exports and allow to overwrite ext registration 2008-08-22 12:59:46 +00:00
Felipe Pena 317b48f3af MFH:
- Fixed bug #45862 (get_class_vars is inconsistent with 'protected' and 'private' variables)
- Added some tests
2008-08-22 00:59:39 +00:00
Pierre Joye a7d2377ce4 - MFH: use date.timezone ini setting 2008-08-21 18:36:56 +00:00
Pierre Joye a9b8b3698b - MFH: use date.timezone ini setting instead of ENV 2008-08-21 18:33:21 +00:00
Pierre Joye 8c6ea95dc3 - MFH: fix test on windows 2008-08-21 18:25:13 +00:00
Marcus Boerger 41282aa813 - MFH Fix 64bit issue 2008-08-21 16:55:45 +00:00
Dmitry Stogov 653e523a97 Fixed destruction of dl() loaded extensions 2008-08-21 16:21:43 +00:00
Pierre Joye db31f78801 - MFH: different parser message on windows 2008-08-21 13:05:10 +00:00
Pierre Joye 050e5579f8 - MFH: "fix" crash on windows 2008-08-21 12:38:47 +00:00
Pierre Joye a6b21d3c98 - new API
- MFH: use 'C' on win
2008-08-21 12:25:07 +00:00
Pierre Joye 527e3a339c - MFH: don't skip if windows matches 2008-08-21 12:13:50 +00:00
Pierre Joye 979d3abbd8 - new params parsing API
- use "C" instead of ""
2008-08-21 12:05:30 +00:00
Dmitry Stogov 7d26893d6d Adder error code into error message 2008-08-21 11:27:57 +00:00
Pierre Joye 8d45abb514 - MFH: skip 007 on non windows platform and add a win specific version (file not found instead of filename too long) 2008-08-21 11:01:55 +00:00
Pierre Joye 9d7904932f - MFH: make it portable and clean on in the clean section, session file may still be open (can't be deleted) 2008-08-21 10:30:49 +00:00
Pierre Joye f1ebec34d9 - MFH: make it portable 2008-08-21 09:43:51 +00:00
Antony Dovgal a30c01d698 revert for now 2008-08-21 08:37:19 +00:00
Pierre Joye bb62bf8234 - +skip 2008-08-21 08:30:51 +00:00
Pierre Joye 72482c4f7d - skip on windows (setlocale can even crash on win+VC6...) 2008-08-21 08:27:04 +00:00
Antony Dovgal 898f19975c fix build 2008-08-21 07:38:16 +00:00
Greg Beaver c3e8485971 fix bug #45792: bz2 compressed files in zip failure 2008-08-21 05:17:28 +00:00
Pierre Joye 50066470cd - MFH: work around vc6 bug 2008-08-20 22:23:16 +00:00
Lars Strojny 50fa64885e Reverting local change 2008-08-20 21:26:04 +00:00
Lars Strojny 080157870f MFH: Allow mixed $initial (patch by Christian Seiler) 2008-08-20 20:35:40 +00:00
Pierre Joye 6b2be7c7e9 - quick fix for ICU dlls (better fix with n level deps will be done later) 2008-08-20 20:09:13 +00:00
Pierre Joye 818c4d75c8 - strncpy returns the byte copied not error code or 0 2008-08-20 13:27:10 +00:00
Pierre Joye 2cde8f416a - new args parsing API and correct LOCALE definition (why utf-8 when only ascii is tested) 2008-08-20 13:09:39 +00:00
Antony Dovgal e7a28edcba fix warning 2008-08-20 09:01:24 +00:00
Jani Taskinen 23c5effdbe - Fixed in PHP_5_2 2008-08-20 01:34:51 +00:00
Felipe Pena fdccff19b1 - Removed entries merged into 5_2 2008-08-20 01:32:56 +00:00
Antony Dovgal 9453a9213c MFH: fix memleak in browscap code (noticed by Gopal) 2008-08-19 15:16:33 +00:00
Antony Dovgal 881d80382b MFH: shutdown crypt correctly and fix memleak in ZTS mode 2008-08-19 15:14:46 +00:00
Dmitry Stogov 5293e7981e Fixed support for short windows file names 2008-08-19 15:00:20 +00:00
Felipe Pena 0bbc4d562b - Opss, I forgot add my name... 2008-08-19 11:15:59 +00:00
Felipe Pena 4252aa21c8 - Note about property_exists() 2008-08-19 11:10:17 +00:00
Johannes Schlüter 9a13dea744 MFH: constify strings 2008-08-19 10:42:11 +00:00
Johannes Schlüter aeab8bade6 MFH: Fix empty error message when connecting to a bad server 2008-08-19 10:16:12 +00:00
Pierre Joye 80d020011c - don't use /tmp as tmpdir and avoid endless loop when fopen or tmpnam failed 2008-08-18 21:24:52 +00:00
Felipe Pena c89c62047c - Fixed test 2008-08-18 19:49:33 +00:00
Pierre Joye 04c09fac0f - MFH: new parameter API error 2008-08-18 18:10:50 +00:00
Felipe Pena 09dd1d22dd - BFN: #45743 2008-08-18 17:53:10 +00:00
Felipe Pena e597dde580 - New tests 2008-08-18 17:46:54 +00:00
Felipe Pena 9c787d8c97 - MFH: Fixed bug #45743 (property_exists fails to find static protected member in child class) 2008-08-18 17:44:02 +00:00
Greg Beaver cfca5be40f fix windows build when building phar shared with native-ssl disabled (you can't use the symbols directly if openssl is built shared or is not built at all) 2008-08-18 14:58:03 +00:00
Antony Dovgal 9c8ecb35a6 MFH 2008-08-18 14:34:59 +00:00
Antony Dovgal 523cccc09d MFH: fix bug #45028 (CRC32 output endianness is different between crc32() and hash()) 2008-08-18 14:29:55 +00:00
Antony Dovgal 991ae6e7d3 MFH: add note on 64bit compatibility and mention check_parameters.php 2008-08-18 13:09:41 +00:00
Jani Taskinen e2451b6825 MFH: fix include 2008-08-18 10:49:59 +00:00
Dmitry Stogov 5304e5631f Fix for bug #45786 (FastCGI process exited unexpectedly) 2008-08-18 10:49:35 +00:00
Dmitry Stogov 5ade84afe4 Fixed bug #45835 (include and symlinks) 2008-08-18 10:28:17 +00:00
Dmitry Stogov 4e1e576053 Fixed arguments order 2008-08-18 09:31:34 +00:00
Dmitry Stogov 7523bb7fc2 Reverted wrong "fix" 2008-08-18 09:21:15 +00:00
Pierre Joye 85309f686a - MFH: this change was not part of the env patch 2008-08-18 07:50:10 +00:00
Antony Dovgal c1e0866da3 reverted because of test failures 2008-08-18 07:46:31 +00:00
Pierre Joye 7d1cd6a94b - unix is too young (<1970), make the test portable 2008-08-18 07:19:39 +00:00
Pierre Joye a87a90873c - [DOC] MFH: make putenv behaves like unix putenv on Windows:
.  FOO=1234 => set FOO to 1234
 .  FOO= => set FOO to an empty string
 .  FOO= => unset FOO
 . Use Set/GetEnvironmnent variable only
2008-08-18 07:11:00 +00:00
Arnaud Le Blanc e104699a5d MFH: Fix tests (closes #45841) 2008-08-18 04:45:49 +00:00
Arnaud Le Blanc f59fbc3755 MFH: Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). 2008-08-18 04:08:17 +00:00
Moriyoshi Koizumi 0699894884 - MFH: beware of signedness 2008-08-18 03:26:21 +00:00
Felipe Pena d79b879927 - New parameter parsing API (for mb_convert_variables()) 2008-08-18 00:37:16 +00:00
Felipe Pena 252d7d76a8 - MFH: New parameter parsing API 2008-08-17 22:14:14 +00:00
Arnaud Le Blanc c481ac1e41 generated zend_ini_scanner.c 2008-08-17 21:57:52 +00:00
Arnaud Le Blanc dee3bb2371 MFH: Allow underscore at start of labels as underscore has no meaning here
(fixes #44842)
2008-08-17 21:55:26 +00:00
Arnaud Le Blanc 1defd7a9e2 MFH: Fixed #45384 (parse_ini_file will result in parse error with no trailing
newline)
2008-08-17 21:00:22 +00:00
Jani Taskinen 13d7bb0025 fix news 2008-08-17 19:24:10 +00:00
Felipe Pena 813c90e8fd - Fix build 2008-08-17 17:04:10 +00:00
Pierre Joye 3dd3da7c72 - MFH: add %a for Compiler/Architecture 2008-08-17 16:44:13 +00:00
Pierre Joye 61c4fee6b0 - [DOC] MFH: improve fix for #43261 for % and " 2008-08-17 15:23:45 +00:00
Pierre Joye 59bed16665 - MFH: typo and inline doc fix 2008-08-17 14:32:41 +00:00
Pierre Joye b5e6d487d1 - MFH: fix test (portable), use . as basedir and create the tmp dir in the test directory 2008-08-17 13:07:39 +00:00
Jani Taskinen eacddfbce2 - unneeded file 2008-08-17 12:10:47 +00:00
Pierre Joye 88b2019477 - fix or improve tests
- add dump of the array_diff for compare_stats
2008-08-17 11:04:16 +00:00
Pierre Joye 8700c6af98 - fixes, portability and improvements for stat/file*/touch windows entry 2008-08-17 11:01:23 +00:00
Felipe Pena 0dbc79339c - New parameter parsing API (zend_get_parameters_array_ex--)
- Fixed tests
2008-08-16 21:32:41 +00:00
Pierre Joye 56035785a5 - MFH: remove confusion for non windows/linux users 2008-08-16 13:28:12 +00:00
Hannes Magnusson 59463c54ce Fix arginfo
# Yes Jani, it is correct in HEAD :)
2008-08-16 11:11:46 +00:00
Hannes Magnusson eea3226d58 MFH: [DOC] Added stream_context_set_default() function. (Davey Shafik) 2008-08-16 10:57:56 +00:00
Pierre Joye bb4eacb773 - wrong file commited (and fix test, thx Tony for the head up) 2008-08-16 10:54:17 +00:00
Antony Dovgal 6eb565a8b0 fix test 2008-08-16 10:48:29 +00:00
Felipe Pena 9e035152af - MFH: Fix build 2008-08-15 22:15:46 +00:00
Pierre Joye a7dccf7d9d - attempt to fix unexpected EOF on line 391/6 2008-08-15 19:56:06 +00:00
Felipe Pena 85ab423565 - MFH: Removed some TSRMLS_FETCH()s 2008-08-15 19:47:33 +00:00
Pierre Joye 5bf4d72487 - MFH: make it portable without loosing pertinent data 2008-08-15 19:33:56 +00:00
Hannes Magnusson 794d469c21 Fix typo 2008-08-15 19:31:04 +00:00
Pierre Joye 32546c9390 - MFH: make it portable without loosing pertinent data 2008-08-15 19:26:37 +00:00
Pierre Joye 9bdfe83e0c -MFH:
- fix test
 - add debug build mode (crt outputs callback for invalid parameters)
2008-08-15 19:01:42 +00:00
Pierre Joye e4e8f33716 - fix test 2008-08-15 17:00:27 +00:00
Pierre Joye 6d41937081 - MFH: New parameter parsing API > new warning 2008-08-15 16:51:23 +00:00
Jani Taskinen 718fb52b0e - Revert wrong fix 2008-08-15 16:36:39 +00:00
Pierre Joye 5c5ed51911 - MFH: no config.h in ext/ 2008-08-15 15:39:17 +00:00
Jani Taskinen f11ce93fd5 - Remove crap 2008-08-15 15:21:04 +00:00
Dmitry Stogov 4ccb9037cc - [DOC] make stat, touch, filemtime, filemsize and related functions more portable (almost 100% equivalent to linux now)
- [DOC] add support for touch($dir)
- fix windows server 2008/vista support (#45447) (Pierre)
2008-08-15 15:00:11 +00:00
Dmitry Stogov b76b5a6f17 Fixed realpath cache bug 2008-08-15 13:31:58 +00:00
Dmitry Stogov 628bc1f927 Fixed possible infinity loop in tests 2008-08-15 09:27:27 +00:00
Dmitry Stogov 4362b07e62 Fixed double call to MSHUTDOWN in case of php-cgi -m 2008-08-15 07:30:50 +00:00
Jani Taskinen 52797252b4 MFH 2008-08-14 23:47:42 +00:00
Jani Taskinen d07b7fbf70 MFH: fix tests 2008-08-14 23:44:29 +00:00
Kalle Sommer Nielsen 49494bed8b MFH:
* Last _WIN32_WINNT macro redef
* Include <config.w32.h> where _WIN32_WINNT was
2008-08-14 23:29:25 +00:00
Jani Taskinen 803f3011c6 MFH 2008-08-14 23:29:13 +00:00
Jani Taskinen 0b4e014888 - Fix test: Do not leave your crap behind! 2008-08-14 23:25:44 +00:00
Jani Taskinen a3e7c1a318 MFH 2008-08-14 22:51:31 +00:00
Jani Taskinen 9c3cc1f061 MFH:fix test 2008-08-14 21:54:01 +00:00
Etienne Kneuss f90255c66b MFH: Handlerify get_closure 2008-08-14 21:36:56 +00:00
Jani Taskinen 99d3c31788 Silencio for some unnecessary errors 2008-08-14 20:53:56 +00:00
Jani Taskinen f8c748af56 fix test 2008-08-14 20:51:55 +00:00
Jani Taskinen 13dff74889 fix tests 2008-08-14 20:51:35 +00:00
Jani Taskinen ec8318b438 MFH: fix test 2008-08-14 20:33:35 +00:00
Jani Taskinen e2571e66a5 - Something moved out -> update credits! 2008-08-14 19:21:39 +00:00
Felipe Pena 6b91caeba1 - Fixed test 2008-08-14 19:17:59 +00:00
Felipe Pena 542483cbe4 - New test 2008-08-14 19:14:56 +00:00
Jani Taskinen 282230038c keep the style 2008-08-14 18:19:49 +00:00
Nuno Lopes f797495527 after rereading the documentation about preg_grep(), lets match the behavior in HEAD (return the original array elements instead of the new string).
tune the test accordingly
2008-08-14 14:37:39 +00:00
Nuno Lopes 31c657b3bb Fixed bug #44925 (preg_grep() modifies input array) 2008-08-14 13:12:42 +00:00
Dmitry Stogov 878946a34f Fixed bug #45613 Segfault when using is_file() on Apache-2.2.8 2008-08-14 13:01:28 +00:00
Marcus Boerger 32f9d0e180 - MFH Improve exception linking 2008-08-14 10:24:52 +00:00
Antony Dovgal 261b4d0965 new function 2008-08-14 10:13:23 +00:00
Antony Dovgal a61c0c8414 MFH: add quoted_printable_encode() 2008-08-14 10:12:21 +00:00
Antony Dovgal 593e7c7da4 MFH: nuke unused var 2008-08-14 09:46:26 +00:00
Antony Dovgal 9e7d254f68 fix build
compile before commit?
2008-08-14 09:41:16 +00:00
Antony Dovgal a2059930aa fix folding 2008-08-14 09:29:22 +00:00
Kalle Sommer Nielsen b27d8ccda7 MFH: Fix arginfo for nl2br 2008-08-14 09:27:33 +00:00
Antony Dovgal e18b1c00b6 MFH: fix ws, cs and folding 2008-08-14 08:39:05 +00:00
Kalle Sommer Nielsen fcf11ba65e MFH: Implemented feature request #34381 (nl2br() should have an option for XHTML/HTML compatible BR element) 2008-08-14 02:56:23 +00:00
Kalle Sommer Nielsen 540326c31f MFH:
* Remove NTDDI_VERSION declaring and use the one in config.w32.h
* Remove another _WIN32_WINNT macro redef in win32/time.c
2008-08-13 22:40:39 +00:00
Felipe Pena 4da3495bd8 - Fixed build (ZTS) 2008-08-13 19:06:11 +00:00
Pierre Joye 1463a824e8 - move declaration on top and fix build error 2008-08-13 17:49:13 +00:00
Felipe Pena 3a9f17dfb8 - Fix build 2008-08-13 16:16:57 +00:00
Felipe Pena 7552edc481 - MFH: New parameter parsing API 2008-08-13 14:06:21 +00:00
Antony Dovgal 97b443029f fix long/int issues and a typo 2008-08-13 11:43:15 +00:00
Felipe Pena 987a1a5597 - BFN #45798 2008-08-13 11:20:25 +00:00
Antony Dovgal dd95e7427b MFH: fix compile warnings (patch by Phil Oleson) 2008-08-13 08:08:47 +00:00
Dmitry Stogov 1ff61ab8a4 Fixed bug #45805 (Crach on throwing exception from error handler) 2008-08-13 07:21:30 +00:00
Stanislav Malyshev 6a5e8b389d report old bugfix 2008-08-13 01:00:11 +00:00
Jani Taskinen e5e6f553a2 MFH 2008-08-13 00:53:28 +00:00
Nuno Lopes f87d4530c2 mark empty_fcall_info and empty_fcall_info_cache as constant. a few less bytes in the dirty page :P 2008-08-12 21:45:52 +00:00
Felipe Pena 9f3cb0ecb3 - Fixed test 2008-08-12 19:53:50 +00:00
Felipe Pena 318efa7f10 - New parameter parsing API (for fscanf) 2008-08-12 19:38:54 +00:00
Felipe Pena cf7384aa40 - MFH: Constness (Added const qualifier to several function parameters) 2008-08-12 17:20:25 +00:00
Dmitry Stogov 05376077b3 Fixed bug #45779 (regression with shebang lines processing) 2008-08-12 16:43:53 +00:00
Marcus Boerger bfb468c275 - Fix http://bugs.php.net/bug.php?id=45613 2008-08-12 14:56:52 +00:00
Felipe Pena 9f40f81543 - MFH: Fixed bug #45798 (sqlite3 doesn't notice if variable was bound) 2008-08-12 13:37:32 +00:00
Pierre Joye eae2c5390d - MFH: update test after php's portable realpath change (filename/ is not valid anymore) 2008-08-12 13:05:17 +00:00
Pierre Joye 01dca9a7f4 - MFH: not supported on windpws 2008-08-12 11:56:09 +00:00
Marcus Boerger 4ff965ee6c - MFH Add new test 2008-08-12 11:52:16 +00:00
Marcus Boerger d8530cc8a9 - MFH Add new test 2008-08-12 11:24:24 +00:00
Josie Messa ce5c43a1ed - Committing new array_diff_key tests for Sanjay Mantoor 2008-08-12 11:01:59 +00:00
Marcus Boerger 4344e2ec9e - MFH Add missing ';'s 2008-08-12 10:23:02 +00:00
Dmitry Stogov 3fadad3160 - Added system independent realpath() implementation which caches intermediate directories in realpath-cache
- Fixed bug #45044 (relative paths not resolved correctly)
- Fixed bug #43817 (opendir() fails on Windows directories with parent directory unaccessible).
[DOC] The semantic of realpath() on BSD and Windows is changed. Now it should work exactly in the same way as on Linux (POSIX.1-2001)
2008-08-12 08:01:24 +00:00
Arnaud Le Blanc a12b6846e5 MFH: clear stat cache in chroot() 2008-08-11 23:14:36 +00:00
Greg Beaver 95a8499996 increase code coverage 2008-08-11 22:43:02 +00:00
Arnaud Le Blanc 6e20eba4f4 MFH: Fixed #45181 (chdir() should clear relative entries in stat cache) 2008-08-11 22:38:31 +00:00
Christian Seiler 066ea4f66c MFH: Fixed segfaults (tests added) 2008-08-11 22:31:22 +00:00
Felipe Pena eb1837d9de MFH:
- Added arginfo
- Fixed WS
- Changed C++ comments to C comments
2008-08-11 19:48:00 +00:00
Marcus Boerger 6d083e2c39 - Cleanup 2008-08-11 19:35:00 +00:00
Marcus Boerger 3053a62621 - MFH Fix shutdown order 2008-08-11 17:44:15 +00:00
Marcus Boerger 0d7045e13b - MFH EXPECT rather than EXPECTF 2008-08-11 17:30:37 +00:00
Marcus Boerger 106864bcbb - MFH Fix memleak with new error handling stack'ing 2008-08-11 17:19:20 +00:00
Nuno Lopes 65b1e128a9 MFH: fix build when pcre is not present 2008-08-11 15:42:35 +00:00
Arnaud Le Blanc c573dd6614 MFH: Missing files in previous commit (Check the relevant path for open_basedir
in symlink())
2008-08-11 15:33:02 +00:00
Arnaud Le Blanc de24949cce MFH: Check the relevant path for open_basedir in symlink() 2008-08-11 15:30:44 +00:00
Nuno Lopes ba7cfd2fa7 add 2008-08-11 15:20:57 +00:00
Felipe Pena 038373244b - MFH: New tests 2008-08-11 14:00:02 +00:00
Felipe Pena 301af6d4a9 - MFH: has_property check 2008-08-11 13:56:24 +00:00
Pierre Joye 4d47ccb963 - MFH: skip on windows, chgrp not supported 2008-08-11 13:30:06 +00:00
Pierre Joye 7023ed85d7 - [DOC] MFH: detect if dest is a dir (if the given stream layer supports stat)
and fails
 . remove win32 specific test. The errors are not the same
2008-08-11 13:11:31 +00:00
Felipe Pena e82568d9e4 - Fix build (ZTS) 2008-08-11 12:48:22 +00:00
Marcus Boerger 05d896cce9 - MFH Closure/Reflection integration (original idea by Christian Seiler) 2008-08-11 12:43:21 +00:00
Johannes Schlüter f869bbfc1b MFH: Fix #45763 (mysqli::multi_query does not work with mysqlnd) 2008-08-11 12:33:56 +00:00
Pierre Joye b9536062a8 - remove and add again as text not binary 2/2 2008-08-11 12:20:42 +00:00
Pierre Joye a37c895917 - remove and add again as text not binary 1/2 2008-08-11 12:20:24 +00:00
Pierre Joye a291e00be6 - MFH: make it platform independent (/ vs \) 2008-08-11 11:52:10 +00:00
Marcus Boerger 1b7e862444 - WS (actually my falut) 2008-08-11 10:30:21 +00:00
Dmitry Stogov a4a3ed44bb - Made closures implementation reflection friendly (Christian)
- Changed E_ERROR(s) into E_RECOVERABLE_ERROR(s) (Marcus)
2008-08-11 08:49:00 +00:00
Greg Beaver 8526b78286 increase code coverage 2008-08-11 03:53:57 +00:00
Felipe Pena 18d07065c0 - MFH: Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error) 2008-08-11 00:47:45 +00:00
Henrique do Nascimento Angelo 157ad7764e missing entries 2008-08-10 22:02:05 +00:00
Felipe Pena ef2489f6e7 - MFH: New parameter parsing API (for *printf()) 2008-08-10 21:49:01 +00:00
Pierre Joye 1804a397e6 - debugbreak may not be desired (harmless in release mode :) 2008-08-10 21:42:48 +00:00
Pierre Joye 9b14a298a1 - MFH: fix the VC6 fix or strncpy_s (md5 crypt failed with VC9 as it used strncpy wrongly) 2008-08-10 21:34:26 +00:00
Antony Dovgal 18547585bf new test 2008-08-10 21:24:08 +00:00
Antony Dovgal 273ebb45c9 MFH 2008-08-10 19:48:54 +00:00
Felipe Pena f2fc267e3a - MFH: New parameter parsing API (for min() and max()) 2008-08-10 17:50:44 +00:00
Jani Taskinen 6ed5bbe43a - Already in 5.2 NEWS 2008-08-10 15:02:37 +00:00
Pierre Joye c269ad9173 - MFH: fix string len 2008-08-10 14:15:53 +00:00
Arnaud Le Blanc 71e50de4fc MFH: Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items) 2008-08-10 13:26:13 +00:00
Arnaud Le Blanc 4cf7d9bf6f MFH: Fixed test 2008-08-10 12:05:00 +00:00
Arnaud Le Blanc f1917e104b MFH:
Do not expand $target in symlink(). This made it impossible to symlink to a
symlink. This also caused the target to be wrongly expanded relatively to
the CWD when target was not an absolute path.
2008-08-10 11:54:41 +00:00
Pierre Joye 5c7e2072c6 - [DOC] win's strftime does not support all posix formatting code and have some win specific rules see http://msdn.microsoft.com/en-us/library/fe06s4ak(VS.80).aspx for a complete list: split test for win32 and posix 2008-08-10 11:27:48 +00:00
Felipe Pena af7918cf0f - New parameter parsing API 2008-08-10 05:38:07 +00:00
Felipe Pena 5f68027d58 - Fixed tests (Pierre) 2008-08-10 00:35:40 +00:00
Antony Dovgal d9e29376f8 disable the test on AIX 2008-08-09 22:35:24 +00:00
Antony Dovgal 3b7051bea2 MFH: do not fail & segfault if malloc(0) returns NULL, that's expected 2008-08-09 22:01:08 +00:00
Antony Dovgal a00ca091eb fix typo 2008-08-09 21:02:38 +00:00
Etienne Kneuss c77ca4c34a MFH: Fix error_handling usage in various extensions 2008-08-08 22:07:07 +00:00
Pierre Joye f9d813df51 - missing entry 2008-08-08 18:46:20 +00:00
Marcus Boerger 3f7a4b7e90 - MFH error handling, now with save, replace, restore 2008-08-08 17:47:31 +00:00
Pierre Joye 6fb114f1d5 - MFH: constify zend_function_entry and update phpinfo 2008-08-08 16:05:38 +00:00
Pierre Joye ed2abda5df - MFH: missing openbasedir check 2008-08-08 15:56:44 +00:00
Pierre Joye f4087a70aa - MFH: use PHP_ZIP_VERSION_STRING and add add_ascii_assoc_string macro (easy sync) 2008-08-08 15:52:53 +00:00
Pierre Joye b9d7e8b048 - MFH: fix leak in zif_zip_entry_read and ::ExtractTo on Error 2008-08-08 15:41:25 +00:00
Pierre Joye 5505650cdf - use OPENBASEDIR_CHECKPATH instead of SAFEMODE_CHECKFILE, easier to keep code synced with HEAD 2008-08-08 15:37:37 +00:00
Marcus Boerger 4c3563dea2 - MFH: Sorry for the compiler warning 2008-08-08 14:15:05 +00:00
Etienne Kneuss 16470b1e0c MFH: Test the catching of chains of exceptions 2008-08-08 14:09:45 +00:00
Marcus Boerger 5a59d41305 - MFH store error handling mode on stack when executing internal
or overloaded functions and methods. [...]
2008-08-08 13:21:52 +00:00
Felix De Vliegher 3b2da467e7 Tests for ReflectionMethod::getClosure() and ReflectionFunction::getClosure() 2008-08-08 12:39:16 +00:00
Hannes Magnusson 014382b552 Apparently this is broken in alpha1 too 2008-08-08 11:09:31 +00:00
Felix De Vliegher 06bcec0698 Documentation fix for getClosure() 2008-08-08 10:52:48 +00:00
Antony Dovgal 73ab5175b1 move unused vars into their ifdef 2008-08-08 10:12:27 +00:00
Pierre Joye 70596f7474 - add missing files for 0.9 2008-08-08 09:47:15 +00:00
Hannes Magnusson b5ace4565f MFH: Fix build on FreeBSD4.11 (bug#45757) 2008-08-08 08:20:27 +00:00
Pierre Joye 2ade954c52 - fbsql to pecl 2008-08-08 00:01:10 +00:00
Pierre Joye da9680360b - moved to PECL 2008-08-08 00:00:35 +00:00
Pierre Joye a0b06fff99 - dbase moved to pecl 2008-08-07 23:58:39 +00:00
Pierre Joye 647c74258b - MFH: moved to pecl 2008-08-07 23:55:28 +00:00
Pierre Joye 490a342205 - MFH: update to 0.9 (torrentzip support, files open only when necessary), windows fixes 2008-08-07 23:24:11 +00:00
Felix De Vliegher c94f8b4a1c Basic and error tests for stream_filter_remove() 2008-08-07 22:31:10 +00:00
Nuno Lopes 9732c409a4 fix this, so that I can build php without litespeed.. 2008-08-07 19:32:15 +00:00
George Wang 7c7bb11bcd use PHP_ARG_WITH instead of AC_ARG_WITH 2008-08-07 16:41:31 +00:00
Arnaud Le Blanc dd8cfe567f MFH: New maintainer :) 2008-08-07 15:29:38 +00:00
Johannes Schlüter 34fa89103e MFH: fix (thx Christian Hoffmann) 2008-08-07 14:46:49 +00:00
Johannes Schlüter fbf9cbf4a3 MFH: Update EXTENSIONS file 2008-08-07 14:39:47 +00:00
Dmitry Stogov ba15f6809d Disable closures serialization/unserialization 2008-08-07 13:35:51 +00:00
Antony Dovgal c0dbad5530 not experimental anymore 2008-08-07 13:11:05 +00:00
Antony Dovgal c36a3fdfac remove EXPERIMENTAL flag 2008-08-07 13:07:16 +00:00
Nuno Lopes a8ec29310f upgrade to PCRE (i.e. get ride of ereg usage) 2008-08-07 12:50:17 +00:00
Nuno Lopes 106a417378 regenerate 2008-08-07 12:23:03 +00:00
Nuno Lopes 42eed0b5cf fix crash: yytext can't be modified because it is mmaped(). strndup() will take care of last zero char 2008-08-07 12:22:00 +00:00
Dmitry Stogov 43f278ccaf Fixed bug #45744 (Case sensitive callback behaviour) 2008-08-07 12:04:14 +00:00
Antony Dovgal 3c018ceb75 fix WS 2008-08-07 11:51:54 +00:00
Dmitry Stogov c1e5b1345d Fixed bug #45742 (Wrong class array inpretetion using constant indexes) 2008-08-07 11:45:35 +00:00
Jani Taskinen 333ae016f0 Tune news, added missing entry 2008-08-07 10:10:58 +00:00
Arnaud Le Blanc c93fbf629b MFH:
Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
2008-08-07 09:25:33 +00:00
Antony Dovgal 53a957e5f8 MFH: fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*) 2008-08-07 08:36:24 +00:00
Lukas Smith 471c480d11 MFH 2008-08-06 21:49:47 +00:00
Kalle Sommer Nielsen 791555279b Backport fix for #45406 to PHP_5_2 2008-08-06 21:31:45 +00:00
Lukas Smith 1e050b063a MFH 2008-08-06 19:42:01 +00:00
Lukas Smith 08748aa94c MFH 2008-08-06 19:35:20 +00:00
Andrey Hristov 2c841008f0 Re-add mysql_set_charset. Missed during introduction of mysqlnd. Exists in
HEAD, thus no merge
2008-08-06 19:25:03 +00:00
Elizabeth Marie Smith f4e7f168e9 Stupid typo 2008-08-06 16:56:35 +00:00
Elizabeth Marie Smith 3324aeba8b Fix include path 2008-08-06 16:47:38 +00:00
Felipe Pena 81d894293d - MFH: Fixed crash msgfmt_get_pattern 2008-08-06 16:17:27 +00:00
Derick Rethans 3cb1759e08 - MFH: Fixed bug #45636 (fileinfo ext duplicate strndup). 2008-08-06 14:42:38 +00:00
Derick Rethans 8c1e71ff83 - MFH: Fixed bug #45717 (Fileinfo/libmagic build fails, missing err.h and
getopt.h).
2008-08-06 14:30:04 +00:00
Scott MacVicar 3c728afb54 MFH: Sync libsqlite to 3.6.1 2008-08-06 14:22:10 +00:00
Scott MacVicar 09582a712f MFH: Fix test on Windows 2008-08-06 14:07:37 +00:00
Antony Dovgal 93908474ad MFH: increase context refcount before open() to avoid crash when open() fails and destroys the context 2008-08-06 09:03:48 +00:00
Antony Dovgal 3d67fbf2bf fix 11g crap 2008-08-06 07:54:40 +00:00
Jani Taskinen 525f3c4793 MFH: General sync. WS / CS / etc. crap some people didn't bother to merge
MFH: before this commit..bunnies thank you all..
[DOC] - Added ext/hash support to ext/session's ID generator. (Sara)
[DOC] Ask Sara for explanation..
2008-08-06 05:53:31 +00:00
Johannes Schlüter 5e06d51ea2 - litespeed was merged from HEAD 2008-08-06 02:37:17 +00:00
Jani Taskinen 927a84bdfb - nuketh period from error message 2008-08-05 23:04:31 +00:00
Jani Taskinen 9ad7800f52 - Nuke ending periods from error messages 2008-08-05 22:52:05 +00:00
George Wang 52604d2832 added litespeed SAPI 2008-08-05 22:37:32 +00:00
Pierre Joye 457f00b201 - MFH: fix oci8_11g when build shared (invalid extension) 2008-08-05 20:56:25 +00:00
Elizabeth Marie Smith 37d23600bf Some fancy detection for sqlite3 and pdo_sqlite3 - so the two extensions don't depend on each other if shared, and don't try to put two versions of the sqlite3 lib if static 2008-08-05 20:16:21 +00:00
Stanislav Malyshev 4bd1aec2f9 fix memnstr bug, by Laurent Gaffie 2008-08-05 20:14:27 +00:00
Pierre Joye 613cb60f8f - MFH: fix zlib detection (shared/static) and add zlib_a support 2008-08-05 19:40:16 +00:00
Derick Rethans 833f96a2b3 - MFH: Fixed a bug that caused miscalculations with the "last <weekday> of <n>
month" relative time string.
2008-08-05 18:03:47 +00:00
Pierre Joye f428f1e04a - MFH: not shared 2008-08-05 17:20:10 +00:00
Jani Taskinen b1511db3e1 MFH 2008-08-05 16:25:42 +00:00
Jani Taskinen c71ea248bd MFH 2008-08-05 15:12:19 +00:00
Jani Taskinen a032e1a514 MFH:- Add test for bug #45712 2008-08-05 12:36:47 +00:00
Pierre Joye 62b18f019b - MFH: add dll path to mkdist default path 2008-08-05 11:47:17 +00:00
Arnaud Le Blanc cb9dad9d1a MFH: Fixed test 2008-08-05 10:10:39 +00:00
Felipe Pena 3a9b4b92cc - Fix build (thanks Sebastian) 2008-08-04 23:48:09 +00:00
Pierre Joye e31b2cbc0d - MFH: detect _a or normal lib 2008-08-04 21:39:44 +00:00
Jani Taskinen 22b62586c2 MFH:- Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter) 2008-08-04 21:14:28 +00:00
Moriyoshi Koizumi cc1bedc0fc - MFH: Added .libs to .cvsignore 2008-08-04 21:10:58 +00:00
Moriyoshi Koizumi 970e00aeeb - MFH: More fixes for bug #45691 2008-08-04 21:06:13 +00:00
Jani Taskinen 07a3075251 MFH: Add proper version check (new c-clients have this) 2008-08-04 20:51:46 +00:00
Felipe Pena b7a6617709 - MFH: Added new parameter parsing API (part II) 2008-08-04 18:23:33 +00:00
Antony Dovgal 0fddd7255f numerous int<->long fixes (this code just couldn't work on 64bit OSes)
here is why we need to put ming to PECL
2008-08-04 12:19:51 +00:00
Robin Fernandes cf167a669b Improve ArrayObject::exchangeArray() behaviour with objects and CoW references (see http://turl.ca/exarr ). 2008-08-04 11:45:21 +00:00
Dmitry Stogov 7355c3c54c Removed shebang line check from CGI sapi (it is checked by scanner) 2008-08-04 07:20:15 +00:00
Kalle Sommer Nielsen 874b456078 MFH: Fixes #45406 - Patch by oleg dot grenrus at dynamoid dot com 2008-08-04 06:21:55 +00:00
Etienne Kneuss afb1e3efab MFH: Fix clone + add tests 2008-08-03 19:07:31 +00:00
Marcus Boerger 97417927b8 - MFH Drop libsqlite even here 2008-08-03 18:57:25 +00:00
Etienne Kneuss 360fb51980 MFH: Remove cast and fix mem errors 2008-08-03 18:16:10 +00:00
Derick Rethans ad10607c33 - MFH: Fixed bug #45696 (Not all DateTime methods allow method chaining). 2008-08-03 16:45:15 +00:00
Jani Taskinen c7cb6f5480 typo, grammar 2008-08-03 12:22:20 +00:00
Jani Taskinen b17dc14f18 MFH: nuketh C++ comments 2008-08-03 12:15:55 +00:00
Marcus Boerger 97424e78d6 - Nitpicking
# Chris I merged you with Oracle corp. as you work for the company, or do
# you need to be clear about what you did?
2008-08-03 12:11:12 +00:00
Jani Taskinen 8307bea9e6 MFH 2008-08-03 12:11:07 +00:00
Jani Taskinen fdbb8c2694 MFH: no c++ comments in c files 2008-08-03 11:58:15 +00:00
Jani Taskinen 06029cf3a7 oops 2008-08-03 11:54:30 +00:00
Jani Taskinen 47a2bad767 - No C++ comments in C files! 2008-08-03 11:48:20 +00:00
Jani Taskinen c2c76d2d78 - What a mess.. 2008-08-03 11:33:45 +00:00
Moriyoshi Koizumi 9ec7f49d5b - MFH: Forgot to take account of the case when mbstring.language is processed
afterwards.
2008-08-03 00:04:17 +00:00
Moriyoshi Koizumi fd9c49c48f - MFH: Fixed bug #45691 (Some per-dir or runtime settings may leak into other requests). 2008-08-02 20:49:00 +00:00
Pierre Joye 20e75d80a7 - MFH: improve previous fix for scan, disable optimizer only for scan() using #pragma optimize 2008-08-02 16:50:35 +00:00
Pierre Joye b6d64cde15 - MFH: parser's scan function is too large for VC6-7.x, disable the optimizer (size optimization instead) fixes it 2008-08-02 15:49:37 +00:00
Steph Fox f55d753d3e MFH Remove obsolete check (thanks Tony) 2008-08-02 15:38:46 +00:00
Derick Rethans 4591f12d9f - MFH: Fixed bug #45545 (DateInterval has a limitation of 4 chars for ISO
durations).
2008-08-02 13:50:52 +00:00
Felipe Pena 593429aa15 - MFH: Fixed undefined variable 2008-08-02 13:39:42 +00:00
Arnaud Le Blanc 5492454647 news 2008-08-02 06:36:40 +00:00
Arnaud Le Blanc 5eb7ed7316 Allow urlencode()d filer names in php://filter 2008-08-02 06:35:41 +00:00
Felipe Pena e304515ddb - MFH: Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:46:07 +00:00
Felipe Pena 11bc1de770 - MFH: Removed unnecessary TSRMLS_FETCH() 2008-08-02 02:50:18 +00:00
Arnaud Le Blanc 93b7cb0a0a MFH: Avoid leaks when zlib streams can not be closed properly. 2008-08-02 02:36:25 +00:00
Moriyoshi Koizumi 98b5795702 - MFH: Fixed bug #43993 (mb_substr_count() behaves differently to substr_count() with overlapping needles) 2008-08-01 22:56:47 +00:00
Stanislav Malyshev c123d7fea0 remove unneeded define 2008-08-01 22:43:16 +00:00
Pierre Joye 884aff3adb - MFH: use static lib first if found 2008-08-01 21:20:08 +00:00
Pierre Joye 6c45fceb01 - MFH: fix EOL broken by previous commit 2008-08-01 19:09:47 +00:00
Pierre Joye d5f767c0e0 drop 8.x support 2008-08-01 18:57:30 +00:00
Pierre Joye ef6cc19055 - MFH: support for Oracle 11g (either 8 or 11g can be built but not both 2008-08-01 15:07:59 +00:00
Dmitry Stogov 33f48b800c Fixed bug #44100 (Inconsistent handling of static array declarations with duplicate keys) 2008-08-01 14:22:48 +00:00
Dmitry Stogov 37a769353f Fixed bug #44100 (Inconsistent handling of static array declarations with duplicate keys). 2008-08-01 14:22:03 +00:00
Steph Fox 4e5280a7a2 - ws/cs, macros, code that only affects other branches
- some unsynced changes need valgrind testing before they can go into this branch, see PECL/HEAD
2008-08-01 13:48:45 +00:00
Steph Fox 821bab83a3 - Merge ws/cs fixes to bring all branches into sync 2008-08-01 13:42:56 +00:00
Steph Fox 377ff97abd - MFH Bring phar tests into line across all branches 2008-08-01 13:38:48 +00:00
Pierre Joye cb10c3be61 - MFH: add new default dir (old still works) 2008-08-01 11:25:42 +00:00
Pierre Joye c1ddd7bea5 - MFH: first static lib then dyn or old one 2008-08-01 11:21:50 +00:00
Hannes Magnusson 790a938b0f Add ini options for the new exts 2008-08-01 10:59:14 +00:00
Antony Dovgal 617ab865a0 MFH: fix int<->long mess causing lots of segfaults on x86_64 2008-08-01 08:27:56 +00:00
Hannes Magnusson f8f406208b Fix skipif (altough I can't find any such method in the source..?) 2008-08-01 08:01:31 +00:00
Marcus Boerger 152e4273d1 - Consistency rocks: Make all lines start with tabs for indentation
# Just as anythign else we do.
# Also saves about ~0.5k in phar.phar
2008-08-01 06:16:35 +00:00
Marcus Boerger d29fba1678 - Fix pear PHP_Archive class file location 2008-08-01 05:43:09 +00:00
Johannes Schlüter fe0e4c2606 back to dev 2008-08-01 00:46:20 +00:00
Johannes Schlüter 346b97afb4 5.3.0alpha1 2008-08-01 00:09:24 +00:00
Scott MacVicar 06337965ae Still need defines so that sqlite3.h will match the lib that sqlite3 uses 2008-07-31 23:56:32 +00:00
Johannes Schlüter 37c2511f8c remove that file, too 2008-07-31 23:51:34 +00:00
Scott MacVicar 7065da57b7 Bundled pdo_sqlite files are no longer required 2008-07-31 23:36:47 +00:00
Scott MacVicar 0d2f16d3d0 Make pdo_sqlite use the bundled extension with sqlite3 (pdo_sqlite gets fts!)
Fix test after class rename
2008-07-31 23:25:39 +00:00
Pierre Joye c501d5f2a4 - MFH: new usual suspects 2008-07-31 23:05:52 +00:00
Scott MacVicar d9509f7a6d Class rename to match Coding Standards 2008-07-31 22:30:26 +00:00
Hannes Magnusson a31dc0ccd0 Which means do not include.., thanks Jani :) 2008-07-31 22:30:25 +00:00
Hannes Magnusson f2d88b3efa Say without, since its enabled by default 2008-07-31 22:28:51 +00:00
Scott MacVicar 9abe173e8c Enable by default and fix compile error 2008-07-31 22:24:05 +00:00
Jani Taskinen 678811d9b2 - Fix news 2008-07-31 22:20:40 +00:00
Johannes Schlüter 935fdb0734 - Added a few exts 2008-07-31 21:40:26 +00:00
Felipe Pena 766fe51d3d Typo 2008-07-31 21:24:27 +00:00
Johannes Schlüter 362bd99f58 move 'Improved' stuff together and max 80 char width 2008-07-31 21:12:04 +00:00
Scott MacVicar 26dae773cd Fix some NEWS entries 2008-07-31 20:47:10 +00:00
Johannes Schlüter d2b3695aea Update NEWS 2008-07-31 20:19:35 +00:00
Johannes Schlüter b9f7b21ec1 MFH (DOC] Add array_replace/array_replace_recursive (Mett Wilmas) 2008-07-31 20:18:17 +00:00
Pierre Joye 3250870249 - MFH: add detection for newer libs 2008-07-31 18:04:49 +00:00
Moriyoshi Koizumi 2d08b5aa86 - MFH: Fixed bug #44617 (wrong HTML entity output when substitute_character=entity) 2008-07-31 17:37:12 +00:00
Scott MacVicar 00788aa163 Fix test 2008-07-31 17:13:31 +00:00
Scott MacVicar 76cf0f6e6b Stray RETURN_TRUE value 2008-07-31 16:31:12 +00:00
Dmitry Stogov 1f09a6b359 Fixed constant substitution in constant expression context 2008-07-31 14:27:43 +00:00
Olivier Hill d247a23188 Fix regression issue 2008-07-31 14:20:40 +00:00
Pierre Joye c71b745655 - update config to match config.m4
(still does not build but will be fixed for alpha2)
2008-07-31 13:13:20 +00:00
Jani Taskinen b4e313eed4 MFH:- fix test 2008-07-31 11:50:16 +00:00
Rasmus Lerdorf c6671a0596 Fix test to test higher nesting level 2008-07-31 11:46:23 +00:00
Rasmus Lerdorf a3383ac3d7 Fix for bug #45030 2008-07-31 09:23:18 +00:00
Dmitry Stogov f02f9b0545 Removed Closure::__toString() 2008-07-31 07:10:33 +00:00
Jani Taskinen a31dc18b39 MFH:- Fixed bug #45568 (ISAPI does not property clear auth_digest in header). 2008-07-31 00:48:48 +00:00
Scott MacVicar 4b8197cf6e MFH: Resync libsqlite files from amalgamation. Save the kittens, no EOL mess. 2008-07-31 00:46:47 +00:00
Jani Taskinen 708cb0ec0e MFH:- Applied the missing parts to phpize.m4 for zend extension builds 2008-07-31 00:45:17 +00:00
Scott MacVicar 97400c6cd3 MFH: get fileinfo building again on Windows 2008-07-31 00:33:02 +00:00
Jani Taskinen 87acbd2639 MFH:- Detect whether debugging was enabled in PHP and drop optimizing flags if so (merge from configure.in) 2008-07-30 23:56:05 +00:00
Jani Taskinen f92026e0ac MFH:CS 2008-07-30 23:32:02 +00:00
Jani Taskinen 2af5002d5b ws 2008-07-30 22:55:08 +00:00
Felipe Pena b2e0077261 - MFH: Fixed memory leak.
# Test: locale_filter_matches(str_repeat('a', 520), str_repeat('a', 520), 1);
2008-07-30 19:34:23 +00:00
Derick Rethans b5e2564abf - MFH: Fixed a bug with the YYYY-MM format not resetting the day correctly.
- MFH: Fixed a bug in the DateTime->modify() methods, it would not use the
  advanced relative time strings.
- MFH: Fixed return values of all the modifying methods, they now properly
  return the object itself.
2008-07-30 18:00:44 +00:00
Stanislav Malyshev a041ddc9d9 fix warnings 2008-07-30 17:45:18 +00:00
Felipe Pena fcd87bc3a1 - Fixed crash when NULL is passed to locale_accept_from_http() 2008-07-30 16:43:11 +00:00
Rasmus Lerdorf 2f469e8c15 We can afford a larger stack here and other json parsers out there
go deeper than 128.
2008-07-30 13:52:59 +00:00
Felipe Pena 0afc07b26a - New test 2008-07-30 12:14:30 +00:00
Antony Dovgal 8127bc0d6b fix folding 2008-07-30 11:59:05 +00:00
Antony Dovgal e78f487d65 enable this test on all platforms, no reason to limit it windows only 2008-07-30 09:58:55 +00:00
Antony Dovgal c44161d303 fix test 2008-07-30 09:55:20 +00:00
Pierre Joye 6dcd9b58d5 - mbstring is built shared on windows
it looks like the idea was to have it static (but does not work)
2008-07-30 09:26:15 +00:00
Pierre Joye 4e00d919d2 - fix VC9 build (5.3+)
Please do not revert this fix again and to merge 5.3's changes to HEAD
2008-07-30 08:38:37 +00:00
Jani Taskinen 769400ea83 MFH:ws 2008-07-30 08:18:05 +00:00
Kalle Sommer Nielsen 2d2f6a57f1 MFH: Add test for imagecolorclosesthwb() 2008-07-30 04:35:57 +00:00
Kalle Sommer Nielsen 4f6ad789c7 Add test case for #44849 2008-07-30 01:37:54 +00:00
Felipe Pena 555a9b0768 - MFH: Fixed BC break: The magic constants must be case-insensitive. 2008-07-30 01:25:49 +00:00
Pierre Joye acd17a85dc - MFH: missing in the previous crypt commit (shutdown frees the locking mechanism) 2008-07-29 17:28:41 +00:00
Arnaud Le Blanc c58e2b9d20 MFH: Added pcntl_sigwaitinfo(), pcntl_sigtimedwait() and pcntl_sigprocmask()
[DOC] pcntl_sigprocmask() allows to block signals. pcntl_sigwaitinfo()
allows to fetch blocked signals or signals delivered while pcntl_sigwaitinfo()
is running. pcntl_sigtimedwait() is pcntl_sigwaitinfo() with a timeout.
2008-07-29 16:59:10 +00:00
Arnaud Le Blanc 204fcbe5d3 MFH: Added pcntl_signal_dispatch()
[DOC] pcntl_signal_dispatch() allows to dispatch pending signals to registered
signal handler functions on-demand. This allows to use pcntl_signal() without
ticks.
2008-07-29 16:46:11 +00:00
Dmitry Stogov b6cca30211 Fixed memory leak 2008-07-29 14:28:11 +00:00
Arnaud Le Blanc 738346fd92 MFH: Fixed previous fix 2008-07-29 13:57:43 +00:00
Dmitry Stogov cbf2df4d19 Fixed memory leak 2008-07-29 12:56:52 +00:00
Dmitry Stogov 062daaf6a5 Fixed test 2008-07-29 12:17:19 +00:00
Dmitry Stogov 3c62c4bf7e Removed warning 2008-07-29 11:50:05 +00:00
Antony Dovgal 57caabf653 don't segfault if given invalid/empty private key 2008-07-29 11:18:40 +00:00
Antony Dovgal 2543206105 don't free function name before calling the function 2008-07-29 11:09:00 +00:00
Antony Dovgal b53da9cd80 fix folding 2008-07-29 10:52:08 +00:00
Antony Dovgal d9abccb322 MFH: fix copy/paste error (patch by Mikko) 2008-07-29 10:42:44 +00:00
Marcus Boerger a487c8b964 - MFH Exclude bundled libs from gcov processing 2008-07-29 08:10:44 +00:00
Scott MacVicar e30b104148 Fix build where __const is already defined like OS X. 2008-07-29 01:20:28 +00:00
Scott MacVicar 2b040f2d66 MFH: Add freelist for tracking sqlite statements to free on implicit SQLite3::close() 2008-07-29 00:56:53 +00:00
Moriyoshi Koizumi ae04a26afe - Typo. 2008-07-29 00:02:12 +00:00
Scott MacVicar b8744bf3c9 Fix error when fetchArray reaches the last row, and prototyp error 2008-07-28 23:01:02 +00:00
Derick Rethans 1c8055a4ff - Updated to version 2008.5 (2008e) 2008-07-28 19:31:44 +00:00
Arnaud Le Blanc 0f9026daf9 MFH: When automatically redirecting an HTTP request, use the GET method when the
original method was not HEAD or GET (fixes #45540)
#
# The RFC says that in case of 3xx code, "The action required MAY be
# carried out [...] *only if the method used in the second request is GET or
# HEAD*".
#
# This may not break anything as actually POST requests replying
# with a Location header never worked as the redirecting request was sent using
# the POST method, but without Entity-Body (and without Content-Length header,
# which caused the server to reply with a "411 Length Required" or to treat
# the request as GET).
#
2008-07-28 19:08:02 +00:00
Elizabeth Marie Smith 49aa0feaae Secure versions of string functions don't exist for VC6 2008-07-28 16:43:51 +00:00
Pierre Joye d4b0beb322 - MFH: vc6 is picky about brackets when used with a defined type... 2008-07-28 16:33:17 +00:00
Etienne Kneuss 1da16cef08 MFH: Increase coverage a bit 2008-07-28 14:24:45 +00:00
Dmitry Stogov 44caafc62e Fixed constant substitution (Matt) 2008-07-28 14:12:19 +00:00
Felipe Pena e062594215 - MFH: New tests 2008-07-28 14:10:00 +00:00
Jani Taskinen 7a70ad4502 - Fix EOLs 2008-07-28 11:59:35 +00:00
Pierre Joye f2b67842c7 - nothing to do here 2008-07-28 11:54:37 +00:00
Pierre Joye 1e820eca02 -MFH:
- #45430, windows implementation of crypt is not TS
 - add Blowfish (using implementation from Solar Designer <solar at openwal dot com>) and extended DES support
 - Make crypt features portable:
   - if no crypt_r, php's implemetation is used (all algo and TS), php can't be used with unsafe crypt anymore
   - if one algo is missing, php's implemetation is used
   - Windows always use php's implementation
 - removed old code in windows/
2008-07-28 11:50:35 +00:00
Moriyoshi Koizumi ba84cd7359 - Touch. 2008-07-28 07:02:05 +00:00
Moriyoshi Koizumi b9eaa80150 - SCNG(input_filter) can be null if the script encoding is idential to
the internal encoding.
2008-07-28 07:01:54 +00:00
Moriyoshi Koizumi cc8145d14f - ??? 2008-07-28 06:13:57 +00:00
Moriyoshi Koizumi 4857586ec2 - Touch 2008-07-28 06:05:36 +00:00
Moriyoshi Koizumi 1782511e72 - WS 2008-07-28 06:05:14 +00:00
Moriyoshi Koizumi fa8f78d96c - touch 2008-07-28 06:00:15 +00:00
Moriyoshi Koizumi a28497d6e5 - Fix __halt_compiler() weirdness with zend-mulibyte enabled 2008-07-28 05:59:17 +00:00
Marcus Boerger f24a083dfe - Allow building with ming-0.4rc1 (the latest available ming)
# Necessary to get gcov.php.net working again
2008-07-27 21:32:50 +00:00
David Soria Parra e4ad2672b8 MFB: - Fixed the fix for not requiring C++ always 2008-07-27 20:43:40 +00:00
Derick Rethans 7537b5b6d7 - MFH: Fixed DateTime::setTimestamp() and added a test for it. 2008-07-27 19:10:23 +00:00
Christopher Jones 8126b1ab94 MFH Update README. Bump ver ready for PECL release 2008-07-27 17:50:41 +00:00
Christopher Jones f00dc07f92 MFH: Sync oci8.default_prefetch example value with recent change 2008-07-27 16:37:57 +00:00
Christopher Jones 0dc603c839 Add OCI8 changes 2008-07-27 16:27:41 +00:00
Jani Taskinen cbb5dac4de MFH:- Fixed the fix for not requiring C++ always 2008-07-27 15:05:39 +00:00
Dmitry Stogov b2eba97d8b Fix for bug #43487 (Wrong conversion of float to string) 2008-07-27 11:29:10 +00:00
Marcus Boerger fb5c092815 - Fix openssl check 2008-07-27 04:23:00 +00:00
Jani Taskinen 7187819fcc nuke \r\n 2008-07-27 00:05:36 +00:00
Jani Taskinen 9218157548 MFH: fix build 2008-07-26 23:58:06 +00:00
Jani Taskinen 96ea7313a6 MFH: build fixes, cs, ws, etc. 2008-07-26 23:42:53 +00:00
Jani Taskinen 9acc87feff - Removed merge typos 2008-07-26 23:38:14 +00:00
Jani Taskinen 0bc9577588 update credits 2008-07-26 22:19:41 +00:00
Jani Taskinen 54203ea5d0 MFH:tune 2008-07-26 22:18:38 +00:00
Jani Taskinen d448b6b70d - No tabs. 2008-07-26 22:14:52 +00:00
Dmitry Stogov 64c721e04e *** empty log message *** 2008-07-26 19:14:38 +00:00
Dmitry Stogov 8ee5b58bbe Added checks for destroied objects 2008-07-26 18:32:20 +00:00
Dmitry Stogov f5f8cba8e9 Fixed bug #44660 (Indexed and reference assignment to propery of non-object don't trigger warning) 2008-07-26 17:59:54 +00:00
Dmitry Stogov b25f9f6a6a Added support for overloaded functions (e.g. COM) in call_user_func(). 2008-07-26 17:01:40 +00:00
Dmitry Stogov 478acfd8b4 . Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt)
. Optimized interpolated strings to use one less opcode. (Matt)
2008-07-26 15:30:28 +00:00
Dmitry Stogov 8b14236557 Fixed bug #45608 (closures don't work in static methods) 2008-07-26 14:15:19 +00:00
Dmitry Stogov 4f81a0c358 Fixed crashes and memory leak for objects with NULL write_property/has_property/unset_property handlers 2008-07-26 14:08:11 +00:00
Dmitry Stogov af05ce0af6 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:04 +00:00
Arnaud Le Blanc 77baec3f6d MFH: Fix bug #45622 (isset($arrayObject->p) misbehaves with ArrayObject::ARRAY_AS_PROPS set) 2008-07-26 12:34:10 +00:00
Felipe Pena 8085094da8 MFH:
- Added arginfo
- Fixed:
  . proto: finfo_buffer
  . parameter type in _php_finfo_get_type()
2008-07-25 15:23:10 +00:00
Antony Dovgal 5265201075 fix warnings 2008-07-25 15:05:48 +00:00
Moriyoshi Koizumi 9225429040 - MFH: Fix warnings 2008-07-25 14:04:54 +00:00
Moriyoshi Koizumi 52d5287d9a - MFH: Fix wrong cast 2008-07-25 13:57:23 +00:00
Felipe Pena 05834fc510 - MFB: Fixed the parameter type expected. set_time_limit() should accept only integer. 2008-07-25 13:46:56 +00:00
Jani Taskinen 281352fe02 MFH: Fix PDO configure dependancy: If --disable-pdo is used, disable all
MFH: enabled-by-default drivers. Also error out if you try to configure
MFH: a driver as static but pdo is disabled.
2008-07-25 13:46:24 +00:00
Moriyoshi Koizumi 1f7e547662 - MFH: Fix a typo in mb_stripos() that caused segfaults (noticed by bs@php.net, thanks). 2008-07-25 12:51:47 +00:00
Andrey Hristov 7833cf9f10 MFH: Fixed bug#45019 Segmentation fault with SELECT ? and UNION 2008-07-25 12:46:03 +00:00
Rob Richards aa81dabddc MFH: fix zts build 2008-07-25 12:41:57 +00:00
Pierre Joye 473a96ba3d - MFH: fix EXT_FOO_SHARED usage as dep mgt broke it (one more hack but we can clean them after alpha) 2008-07-25 12:40:45 +00:00
Jani Taskinen 395e75bc5d MFH: Fixed a minor problem in not enabling c++/g++ when not needed. 2008-07-25 12:36:34 +00:00
Jani Taskinen fd3b5bcc5a - Fix description 2008-07-25 12:04:54 +00:00
Jani Taskinen 213fd450fa - No tabs, fix indent in configure --help 2008-07-25 12:01:47 +00:00
Moriyoshi Koizumi 935846db2b - Fix tests. 2008-07-25 10:48:20 +00:00
Antony Dovgal 3770038a66 fix typo 2008-07-25 09:55:45 +00:00
Dmitry Stogov ac68c41f8d Fixed support for static methods 2008-07-25 09:44:47 +00:00
Moriyoshi Koizumi 89762bb594 - MFH: Allow the results of a partial run to be saved when -s option is
explicitly specified.
2008-07-25 09:32:23 +00:00
Jani Taskinen ccc012d3f6 MFH: enable fileinfo by default 2008-07-25 09:16:22 +00:00
Jani Taskinen bdf5b7bdba Update credits 2008-07-25 09:13:24 +00:00
Jani Taskinen e593146673 MFH: cleanup 2008-07-25 09:10:11 +00:00
Dmitry Stogov 176ebc26ea Fixed uninitialized data 2008-07-25 08:50:55 +00:00
Antony Dovgal a46319d86d fix typos 2008-07-25 08:45:09 +00:00
Michael Wallner 15da8367c4 - Changed HTTP stream wrapper to accept any code between and including
200 to 399 as successful. (patch by Noah Fontes)
2008-07-25 08:27:37 +00:00
Dmitry Stogov 691d4a6999 Fixed uninitialised data 2008-07-25 08:23:07 +00:00
SVN Migration 7b0f90e0c8 This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2008-07-25 08:18:35 +00:00
Dmitry Stogov ed2d3e4c7e Substitute persistent constants by their values at compile time. (Matt) 2008-07-25 04:54:08 +00:00
Moriyoshi Koizumi bb35ab45bb - MFH: suppress signedness warnings 2008-07-25 03:42:01 +00:00
Scott MacVicar d584ed4a01 SQLite3 extension, still has 2 failing tests that will be sorted tomorrow. Will merge to head tomorrow as well. 2008-07-25 02:44:59 +00:00
SVN Migration 14ce4a1d0a This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2008-07-25 02:44:58 +00:00
Moriyoshi Koizumi 20bca30d04 - No need to advance the cursor 2008-07-24 23:53:42 +00:00
Moriyoshi Koizumi 4f42ed39c0 - Revived zend multibyte 2008-07-24 22:21:41 +00:00
Moriyoshi Koizumi 1f845199f7 - MFH: Suppress signedness warnings 2008-07-24 20:44:15 +00:00
Moriyoshi Koizumi 023211d8d2 - MFH: Constify read-only arguments 2008-07-24 20:39:48 +00:00
Felipe Pena 0fbe6a0c14 - MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:52:24 +00:00
Frank M. Kromann ae8a21ad77 Fix parameter types for a couple of methods 2008-07-24 18:39:42 +00:00
Moriyoshi Koizumi 150d7a5489 - MFH: fix win32 build 2008-07-24 17:00:03 +00:00
Pierre Joye 246d836a28 - MFH: force static for now, broken now 2008-07-24 16:05:34 +00:00
Felipe Pena 2c829e5053 - Removed unused variable. 2008-07-24 16:00:34 +00:00
Arnaud Le Blanc f9ef6c8723 MFH: Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private prop of wrapped object) 2008-07-24 15:54:41 +00:00
Christopher Jones 3de112221f MFH
1. Fix macro version test for constants

2. [DOC] Increase oci8.default_prefetch to 100.  Better out of box experience.  Consistent woth PDO_OCI
2008-07-24 15:24:14 +00:00
Ulf Wendel 44b9a0215c MFH (prepare() fallback logic) 2008-07-24 15:08:02 +00:00
Arnaud Le Blanc 236b03985d Fixed #42663 (gzinflate() try to allocate all memory with truncated data), not present in HEAD. 2008-07-24 14:38:37 +00:00
Scott MacVicar ccc996f1d9 MFH: Remove non existent defines and change THREADSAFE to SQLITE_THREADSAFE 2008-07-24 14:25:33 +00:00
Antony Dovgal 91ca9b7d53 MFH: set GCC to "no" if ICC was detected 2008-07-24 14:17:54 +00:00
Andrey Hristov f728ceae94 MFH: Added test file 2008-07-24 14:17:47 +00:00
Moriyoshi Koizumi 850449568e - MFH: Fix tests. 2008-07-24 13:49:39 +00:00
Moriyoshi Koizumi d7594edaa0 - MFH: Fixed warnings. 2008-07-24 13:46:50 +00:00
Dmitry Stogov 2cca3d0dd2 Optimized ZEND_SIGNED_MULTIPLY_LONG() (Matt) 2008-07-24 13:46:28 +00:00
Moriyoshi Koizumi e29684a2ce - MFH: Added "mbstring.http_output_conv_mimetypes" INI directive. 2008-07-24 13:01:50 +00:00
Ulf Wendel 60e70d1760 MFH (32bit fix) 2008-07-24 12:54:50 +00:00
Felipe Pena 44f1ef210d - MFH: New parameter parsing API 2008-07-24 12:49:11 +00:00
Dmitry Stogov 44325e6473 Fixed bug #45178 (memory corruption on assignment result of "new" by reference) 2008-07-24 11:47:51 +00:00
Scott MacVicar 797202ca1a MFH: Add .cvsignore, update config.w32 and remove the other bundled sqlite library 2008-07-24 11:33:34 +00:00
Dmitry Stogov feb8580166 LSB parent/self forwarding 2008-07-24 09:42:18 +00:00
Steph Fox 6895773aff - Utilize new UNIX_PATHS flag in SPL
- Fix tests

@Jani: hold back on the bunny-killing, HEAD will be in sync later today
2008-07-24 09:22:35 +00:00
Arnaud Le Blanc aa31988e43 MFH: Allow filters to work on INPUT_SERVER in CLI (bug #44779) 2008-07-24 09:12:45 +00:00
Steph Fox 01b8829f73 MFH Make test x-platform 2008-07-24 08:56:51 +00:00
Steph Fox 0aeea4bdbf MFH SPL_FILE_DIR_UNIXPATHS. 2008-07-24 08:55:52 +00:00
Frank M. Kromann 008a1fd8c2 Add a couple of methods to SWFVideoStream 2008-07-24 08:22:48 +00:00
Antony Dovgal 6b4b6b8341 bump copyright year 2008-07-24 08:17:55 +00:00
Frank M. Kromann 0e80cababc Syncronize the ming extension with libming 0.4
[DOC] PHP 5.3 requires libming 0.4
2008-07-24 08:02:40 +00:00
Antony Dovgal 15cb10c7e3 fix test 2008-07-24 07:32:28 +00:00
Felipe Pena a1ce847cd5 - MFH: Improved parameter handling 2008-07-24 03:07:22 +00:00
Scott MacVicar f37a1316fe Update pdo_sqlite to use the amalgamation, much easier to upgrade / maintain. Also kill useless PECL version tag in MINFO.
Will probably be chastised by Jani for doing branch first...
2008-07-24 00:24:03 +00:00
Hartmut Holzgraefe 54981e8c2e MFH: corrected library search path order in tests 2008-07-23 21:44:25 +00:00
Lars Strojny 6579ba27a6 array_intersect_ukey tests by Sanjay Mantoor 2008-07-23 20:37:23 +00:00
Derick Rethans 07c9bd8382 - MFH: Fixed an issue with "first <weekday> of" in case the first <weekday> was
the same day-of-week as the first day of the month.
2008-07-23 19:53:39 +00:00
Jani Taskinen d1cc28ca31 80 chars per line.. 2008-07-23 19:50:47 +00:00
Stanislav Malyshev 0a7c0b37e3 add compose syntax as per request #14266 2008-07-23 19:44:51 +00:00
Felipe Pena 0bbed66ede - MFH: New parameter parsing API 2008-07-23 19:34:35 +00:00
Derick Rethans 11f9cd84f7 - MFH: Fixed bug #43452 (strings containing a weekday, or a number plus weekday
behaved incorrect of the current day-of-week was the same as the one in the
  phrase).
2008-07-23 18:50:37 +00:00
Felipe Pena a2cc7ec96a - MFH: Fixed bug #45605 (array_uintersect_assoc gives incorrect error message) 2008-07-23 16:28:46 +00:00
Lars Strojny 48013172bc Allowing "%unicode|string%" as a placeholder (backport from HEAD) 2008-07-23 16:11:00 +00:00
Jani Taskinen 12c066136b MFH: Fix test (bug #44985) 2008-07-23 14:15:19 +00:00
Andrey Hristov 9f677316c7 NEWS!: 2008-07-23 14:10:04 +00:00
Andrey Hristov 24e7d03e48 MFH: Fixed bug#44897 - failed to prepare statement
After a PS "CALL()" we have at least one result set. If the SP does also some, then
     we need to clean the wire more fool-proof.
2008-07-23 14:07:38 +00:00
Ulf Wendel e5f3857589 MFH 2008-07-23 13:04:18 +00:00
Antony Dovgal 28a22396d4 MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:25:14 +00:00
Antony Dovgal 16ace1828e fix test 2008-07-23 10:26:45 +00:00
Antony Dovgal a8af74f3d4 fix test names 2008-07-23 10:23:08 +00:00
Antony Dovgal c31464c976 fix test 2008-07-23 09:49:18 +00:00
Antony Dovgal c4b8d7149f fix test 2008-07-23 09:29:21 +00:00
Arnaud Le Blanc 0b2ecdbac5 MFH: Fix tests: need simplexml 2008-07-23 09:25:06 +00:00
Antony Dovgal af00eedf4a MFH: add PHP_STREAM_FLAG_FCLOSE to zip streams 2008-07-23 09:09:10 +00:00
Hartmut Holzgraefe 6fcc0ec369 splitted test cases for lo_create and lo_import, added version aware
SKIP tests
2008-07-23 09:06:59 +00:00
Antony Dovgal 0c9d42bfde MFH: add PHP_STREAM_FLAG_FCLOSE, bz2 streams can be closed with fclose() 2008-07-23 08:56:29 +00:00
Arnaud Le Blanc 15b1c9aade MFH: Fix tests: soap tests in schema/ needs the xml extension 2008-07-23 08:56:20 +00:00
Arnaud Le Blanc f11ae4d440 MFH: Fix test: use canonical name to avoid problems with domain search path 2008-07-23 08:27:17 +00:00
Marcus Boerger d78f5554e7 - [DOC] Add FilesystemIterator::SKIP_DOTS (flag to skip '.' and '..' in iteration) 2008-07-23 06:12:29 +00:00
Marcus Boerger e48d79ba07 - MFH Add new classes 2008-07-23 06:08:07 +00:00
Stanislav Malyshev c7e1aefd7f add test 2008-07-23 01:18:25 +00:00
Stanislav Malyshev 775502f7e9 add acceptFromHttp 2008-07-23 01:15:33 +00:00
Hartmut Holzgraefe 432b57b2ae added support for object ids in pg_lo_create() and pg_lo_import() where available
(based on code provided by Tatsuo Ishii)
2008-07-23 00:17:19 +00:00
Andrey Hristov 8c56a23a26 MFH: Two less failing tests, one of which was definitely a leak in mysqli with mysqlnd
and pconn. ext/mysql is being fixed with a better fix for similar leak.
2008-07-22 23:44:23 +00:00
Marcus Boerger ae8ef6c13a - MFH Add MultipleIterator (Arnaud, Marcus) 2008-07-22 22:54:35 +00:00
Scott MacVicar 8d3bfaa01f Fix windows build error. 2008-07-22 21:53:53 +00:00
Stanislav Malyshev 0d30c88ded use correct locale check 2008-07-22 20:40:01 +00:00
Stanislav Malyshev 07667caf13 typofixes 2008-07-22 20:25:51 +00:00
Stanislav Malyshev d54c396dca refactor ctors, cleanup code 2008-07-22 20:23:47 +00:00
Felipe Pena 1fb3313f75 - MFH: The error level must be E_ALL | E_STRICT. 2008-07-22 19:59:37 +00:00
Andrey Hristov 529d73f9d4 MFH: Fix a leak with pconn and mysqlnd 2008-07-22 17:41:15 +00:00
Scott MacVicar d8d69652dd MFH: Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows. 2008-07-22 16:21:16 +00:00
Andrey Hristov 2c54b3abb5 More debugging info for the trace log 2008-07-22 16:06:08 +00:00
Jani Taskinen 4e2ed54d15 ws + cs 2008-07-22 15:30:03 +00:00
Jani Taskinen 7e67bc4e80 MFH: unused stuff 2008-07-22 14:57:46 +00:00
Felipe Pena fdfbfb96a1 - MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:09:24 +00:00
Rob Richards cb3bc15807 MFH: Visibility (bug #45557) 2008-07-22 10:30:38 +00:00
Steph Fox 6fc2b09285 MFH Add missing help text 2008-07-22 09:35:55 +00:00
Moriyoshi Koizumi 90f9a8e457 - Remove duplicated lines. 2008-07-22 09:18:30 +00:00
Jani Taskinen d10d4e48c3 ws 2008-07-22 07:44:41 +00:00
Dmitry Stogov 4d8bdd9d1b Closure object cannot have properties 2008-07-22 07:29:31 +00:00
Derick Rethans 05d2ae4c9e - This test works fine (patch by Lars Strojny) 2008-07-22 07:13:52 +00:00
Dmitry Stogov 4b0b1d804e Fixed test 2008-07-22 07:09:59 +00:00
Dmitry Stogov c48c63f5e6 Improved webPhar speed (frontcontroller11.phar.phpt is disabled, should be removed) 2008-07-22 07:03:00 +00:00
Pierre Joye 39ae248465 - MFH: Segfault when an exception is thrown on persistent connections 2008-07-22 06:51:00 +00:00
Felipe Pena 1d5c800648 - MFH: Added arginfo 2008-07-22 01:47:22 +00:00
Scott MacVicar 6c48a01f40 MFH: Fix integer oveflow in strrpos() 2008-07-22 01:10:58 +00:00
Felipe Pena f349c14414 MFH:
- Removed ntest and utest
- Removed -U flag to `make test' just to test once each test
2008-07-21 22:41:39 +00:00
Felipe Pena dab8b811c2 - Fixed securities issue detailed in CVE-2008-2665 and CVE-2008-2666.
(patch by Christian Hoffmann)
2008-07-21 19:32:21 +00:00
Scott MacVicar e19f52047c Optimisation for zend_memnstr when the needle is only a single character. (Patch by Michal Dziemianko - GSoC08) 2008-07-21 18:47:02 +00:00
Pierre Joye 86a493f435 - SAB: #41996, Problem accessing Oracle ROWID (Martin Jansen) 2008-07-21 17:35:50 +00:00
Dmitry Stogov 9d4064afc0 Added check for small ZEMD_MM_SEG_SIZE 2008-07-21 17:06:35 +00:00
Jani Taskinen 07586f682b MFH:- Visibility (bug #45564) 2008-07-21 16:23:00 +00:00
Jani Taskinen 1ca8daaafb MFH: sync 2008-07-21 16:16:30 +00:00
Jani Taskinen 745e63f6cf MFH: Sync with PHP 6. 2008-07-21 16:08:15 +00:00
Johannes Schlüter be0793d2e7 MFH: Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499,
pecl#12794, pecl#12401

# Running the tests:
# (Note: Doesn't work currnetly on HEAD, see:
#  http://news.php.net/php.qa/64378)
#
#  PDO_MYSQL_TEST_DSN  - DSN
#    For example: mysql:dbname=test;host=localhost;port=3306
#
#  PDO_MYSQL_TEST_HOST    - database host
#  PDO_MYSQL_TEST_DB      - database (schema) name
#  PDO_MYSQL_TEST_SOCKET  - database server socket
#  PDO_MYSQL_TEST_ENGINE  - storage engine to use
#  PDO_MYSQL_TEST_USER    - database user
#  PDO_MYSQL_TEST_PASS    - database user password
#  PDO_MYSQL_TEST_CHARSET - database charset
#
#  NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is
#  part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example,
#  for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.
2008-07-21 13:09:28 +00:00
Andrey Hristov c6c238c772 Pure, old-fashion CVS grown, bug fix. 2008-07-21 13:05:46 +00:00
Andrey Hristov 5e79f2c476 Fix for bug#45179 --with-mysql-sock fails to compile & work
Now --with-mysql-sock controls all mysql extensions. If provided it will be
the default value as it was set in php.ini . php.ini will override it for
ext/mysql and ext/mysqli but not for pdo_mysql
2008-07-21 12:58:51 +00:00
Hannes Magnusson ee40f557a7 Fix tests (patch by Lars) 2008-07-21 12:23:38 +00:00
Jani Taskinen 89935d6f7e - Forward compatibility.
# @DOC@, [DOC], *DOC*: Added FILE_TEXT and FILE_BINARY constants for forward compatibility.
2008-07-21 11:46:18 +00:00
Kalle Sommer Nielsen 769cb023fb MFH 2008-07-21 11:09:36 +00:00
Jani Taskinen 4bc58bc957 - More stupid WS etc fixes. Plus the missing help text place holders for Steph to fill up.. 2008-07-21 11:05:23 +00:00
Jani Taskinen 24f2ac9617 MFH: Stupid WS fixes..Thanks Steph! 2008-07-21 10:48:31 +00:00
Jani Taskinen 0f9e2b1753 MFH: sync acinclude.m4 (leave the PHP_PROG_LEX for BC!) 2008-07-21 10:31:37 +00:00
Jani Taskinen 7efc1a2e97 MFH: sync configure.in with HEAD (where applicable) 2008-07-21 10:17:36 +00:00
Hannes Magnusson 4cc73804a7 Run the tests with E_STRICT again
# Why isn't E_STRICT in E_ALL?
2008-07-21 09:59:37 +00:00
Hannes Magnusson d619b57efa MFH: Add E_USER_DEPRECATED (patch by Lars Strojny) 2008-07-21 09:41:00 +00:00
Hannes Magnusson 4fb0ceca1b MFH: fix proto 2008-07-21 09:38:04 +00:00
Kalle Sommer Nielsen f204fdddb1 Fix test on Windows 2008-07-21 09:32:56 +00:00
Derick Rethans f279efa61e - MFH: Fixed one more test (on 32 bits) 2008-07-21 09:32:15 +00:00
Dmitry Stogov baab204436 Fixed chdir() into requested file directory inconsistencies 2008-07-21 08:43:36 +00:00
Marcus Boerger 2b5e4d4553 - MFH Little debug hack to allow printing vm function 2008-07-21 08:14:24 +00:00
Derick Rethans 96dedbfedb - MFH: fix test 2008-07-21 07:27:26 +00:00
Antony Dovgal 69b3e17faa MFH 2008-07-21 07:27:13 +00:00
Derick Rethans f8050d525f - MFH: Fixed bug #45562 (Creating instance of DatePeriod crashes). 2008-07-20 20:58:51 +00:00
Kalle Sommer Nielsen 04be84748f Fix macro redef 2008-07-20 20:17:48 +00:00
Kalle Sommer Nielsen c9be725fd8 MFH + NEWS entry 2008-07-20 19:03:18 +00:00
Moriyoshi Koizumi 69fa2e384a - MFH: Bug #45572 2008-07-20 18:26:02 +00:00
Etienne Kneuss 6f289c582b MFH: Iterator methods overwriting optimisations 2008-07-20 17:32:10 +00:00
Felipe Pena a30add1ba0 - BFN: #45571 2008-07-20 16:54:06 +00:00
Felipe Pena a83e976857 - Fixed bug #45571 (ReflectionClass::export() shows superclasses' private static methods.)
patch by Robin Fernandes
2008-07-20 16:51:28 +00:00
Etienne Kneuss 3d0d02f95b MFH: Fix build for solaris 2008-07-20 16:32:55 +00:00
Dmitry Stogov 331a4e46a4 Fixed test 2008-07-20 16:20:02 +00:00
Dmitry Stogov 58e6e2b3d9 Fixed test 2008-07-20 15:56:28 +00:00
Moriyoshi Koizumi 579bb2a9dc - Fix the header (thanks Johannes) 2008-07-20 15:10:24 +00:00
Dmitry Stogov 68537af530 Fixed directory reanming/deletion 2008-07-20 14:42:34 +00:00
Felipe Pena b22f47ee30 - Added arginfo 2008-07-20 14:28:41 +00:00
Moriyoshi Koizumi 91fba3893b - WS fix 2008-07-20 12:47:34 +00:00
Steph Fox 6931789f31 - Happy New Year!
(better late than never, eh?)
2008-07-20 02:20:31 +00:00
Steph Fox aca8bb5757 - Update get_define() calls to reflect earlier change in return value on failure
- Rename output files (to avoid that build option for "php5ts.exe")
- Add libpath to intermediate dir path (avoids a naming collision that wasn't there last week)
- Don't make assumptions about trailing whitespace in incoming data
2008-07-20 01:19:45 +00:00
Etienne Kneuss 5495813bb3 MFH: Complete the ZTS build fix 2008-07-19 19:45:55 +00:00
Derick Rethans 5501431626 - MFH: Fixed ZTS build. 2008-07-19 19:24:07 +00:00
Steph Fox 9a5f2e1b79 - Fix logic in get_define() 2008-07-19 19:02:59 +00:00
Derick Rethans 42aa7f3dd4 - MFH: Country codes are ISO 3166. 2008-07-19 17:38:29 +00:00
Steph Fox e19914f5b5 - Rejig REMOVE_TARGET
- Tidy ADD_EXTENSION_DEP
- Put summary output in alphabetical order
2008-07-19 16:57:58 +00:00
Marcus Boerger 0b42dbce38 - MFH Add MultipleIterator (http://blog.somabo.de/2008/01/multipleiterator-for-php.html) 2008-07-19 15:56:59 +00:00
Marcus Boerger e537b7934d - MFH Added RecursiveTreeIterator 2008-07-19 15:49:21 +00:00
Etienne Kneuss f4c3f18053 MFH: Fix valgrind errors in array_method, and possibly #45349 (Thanks tony for the patch) 2008-07-19 13:13:57 +00:00
Etienne Kneuss 8dafec40be MFH: Implement DirectoryIterator::seek 2008-07-19 11:20:18 +00:00
Henrique do Nascimento Angelo 158239004e New tests 2008-07-18 23:52:01 +00:00
Felipe Pena ff9ad113e9 - New tests 2008-07-18 19:24:49 +00:00
Felipe Pena 6e0906323e MFB:
- Fixed bug #45556 (Return value from callback isn't freed).
- Fixed bug #45555 (Segfault with invalid non-string as register_introspection_callback).
- Fixed wrong arginfo for xmlrpc_encode_request()
2008-07-18 19:24:03 +00:00
Felipe Pena 46ed694cb7 - Added: Deprecated ticks support. 2008-07-18 17:55:59 +00:00
Steph Fox 130c53263c - Make SAPI include paths work (on my box at least) 2008-07-18 17:35:37 +00:00
Steph Fox 18911142e2 - Make REMOVE_TARGET work in all cases 2008-07-18 15:45:03 +00:00
Derick Rethans 84693147d0 - MFH: Added support for selectively listing timezone identifiers by country
code through timezone_identifiers_list() / DateTimezone::listIdentifiers().
- MFH: Added timezone_location_get() / DateTimezone::getLocation() for
  retrieving location information from timezones.
2008-07-18 14:33:53 +00:00
Derick Rethans 039bc2d3e2 - Updated to version 2008.4.1 (2008d) 2008-07-18 13:46:06 +00:00
Scott MacVicar 35c58958a2 Fix compile error due to the removal of fteller on streams. 2008-07-18 13:08:08 +00:00
Felipe Pena 94840506de - Fixed test 2008-07-18 12:20:29 +00:00
Dmitry Stogov 529ac539d0 Fixed access to freed memory 2008-07-18 09:35:51 +00:00
Antony Dovgal fbf68def7d fix segfault 2008-07-18 07:39:53 +00:00
Steph Fox 893c55f2bc - SAPIs are go.
Caveat: aolserver, isapi, nsapi, pi3web and (obviously) Linux-specific modules not tested.
2008-07-18 02:53:06 +00:00
Scott MacVicar 2558df59d9 Remove GD 1.0 support, still need to adjust the configure scripts to correctly check for a newer version 2008-07-18 01:51:49 +00:00
Scott MacVicar 62de800b36 Remove freetype1 support 2008-07-18 01:16:25 +00:00
Pierre Joye 9a60aed6d1 - MFB: fix crash when some crafted font are given 2008-07-17 23:13:09 +00:00
Moriyoshi Koizumi 2392861770 - MFH: Fix ZTS build 2008-07-17 20:04:06 +00:00
Felipe Pena c3453925c5 - Deprecate ticks 2008-07-17 19:29:34 +00:00
Stanislav Malyshev 10e7231f2a vc9 build fix 2008-07-17 17:48:50 +00:00
Pierre Joye 1fdd27500b - MFH: CS/WS 2008-07-17 17:31:35 +00:00
Scott MacVicar 8cd0d59f71 This file isn't needed any more 2008-07-17 17:24:26 +00:00
Moriyoshi Koizumi 85d7751097 - Fix include_path. 2008-07-17 16:30:32 +00:00
Moriyoshi Koizumi f78da21527 - MFH: Removed dependencies from php_mbregex to oniguruma types 2008-07-17 16:08:37 +00:00
Nuno Lopes a00a69b3e5 update PCRE symbols 2008-07-17 14:34:51 +00:00
Rui Hirokawa db88da985e fixed win32 build when ext/mbstring is enabled. 2008-07-17 14:10:53 +00:00
Dmitry Stogov 67b77b06e5 Fixed search on uninitialized data 2008-07-17 14:05:07 +00:00
Dmitry Stogov 5c631e8765 Fixed wrong arguments order 2008-07-17 13:22:32 +00:00
Antony Dovgal fe54c5144d fix folding 2008-07-17 10:24:51 +00:00
Dmitry Stogov 833a2295d1 Support for closures 2008-07-17 09:53:42 +00:00
Christopher Jones 47e6c5d017 Allow PECL builds with PHP 4. No MTH needed 2008-07-17 00:36:02 +00:00
Christopher Jones d990032b7a MFH: [DOC] Add LOB & Collection class parameter reflection 2008-07-16 23:55:13 +00:00
Rui Hirokawa 0814d9e58a revert my previous patch. 2008-07-16 22:56:56 +00:00
Steph Fox 640270c4dc Update README to reflect current state of play 2008-07-16 22:30:12 +00:00
Steph Fox 3dcb59a05a - A bit more finesse for .dsp generation
- Builds (on my box) for cgi or cli
- This is still VC6-only at present
2008-07-16 22:25:46 +00:00
Christopher Jones 1c1c98c620 MFH
1. Merged ARG_INFO patch (Felipe)

2. Allow empty username & password so Oracle can do non-password based
authentication, i.e. "External Authentication".
http://news.php.net/php.internals/37545

[DOC]

A new OCI_CRED_EXT flag can be passed as the "session_mode" parameter
to oci_connect(), oci_new_connect() and oci_pconnect().

  $c1 = oci_connect("/", "", $db, null, OCI_CRED_EXT);

This tells Oracle to do external or OS authentication, if configured
in the database.

OCI_CRED_EXT can only be used with username of "/" and a empty
password.  Oci8.privileged_connection may be On or Off.  OCI_CRED_EXT
is not supported on Windows for security reasons.

The new flag may be combined with the existing OCI_SYSOPER or
OCI_SYSDBA modes (note: oci8.privileged_connection needs to be On for
OCI_SYSDBA and OCI_SYSOPER), e.g.:

  $c1 = oci_connect("/", "", $db, null, OCI_CRED_EXT+OCI_SYSOPER);
2008-07-16 22:16:03 +00:00
Christopher Jones 47c918cd6f MFH: improve skipif 2008-07-16 19:52:01 +00:00
Felipe Pena c91e9cc1bd - Added arginfo 2008-07-16 18:34:56 +00:00
Jani Taskinen 6c351b544c -nuke weird char 2008-07-16 16:29:37 +00:00
Jani Taskinen 8558c090e9 MFH:- Prevent errors in CVS builds when bison is not there (for Sean :) 2008-07-16 16:22:43 +00:00
Pierre Joye 2a172dcc8c - fix the fix 2008-07-16 15:41:58 +00:00
Derick Rethans 0ab7520dc0 - MFH: Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone() behave
different).
2008-07-16 15:41:01 +00:00
Dmitry Stogov 44557cf981 Improved support for opcode caches. Now some open() syscalls might be eliminated by caches. 2008-07-16 15:09:39 +00:00
Jani Taskinen d91bc9eca2 MFH:- Fixed bug #44127 (UNIX abstract namespace socket connect does not work) 2008-07-16 14:08:38 +00:00
Felipe Pena 644b06978a - Fix typo (thanks Pierre) 2008-07-16 13:41:35 +00:00
Jani Taskinen 39098a6d16 - Fix build 2008-07-16 12:37:00 +00:00
Derick Rethans 99b31af3f9 - Fixed a segfault - simply a forgotten return; 2008-07-16 12:35:11 +00:00
Rui Hirokawa 6d9788d768 fixed compile error on Win32 environment. 2008-07-16 12:21:46 +00:00
Felipe Pena 67185d6098 - Added arginfo 2008-07-16 11:59:15 +00:00
Derick Rethans 8d14c2b182 - MFH: Fixed tests. 2008-07-16 07:36:04 +00:00
Moriyoshi Koizumi 88318e0294 - MFH: Added a new configure option --with-onig=[DIR] that allows the extension
to link to the external oniguruma library.
- MFH: Prevent libmbfl files from being installed when --with-libmbfl is
  specified.
2008-07-16 02:30:49 +00:00
Moriyoshi Koizumi 817f393a2d * MFH: indentation fix only 2008-07-15 18:04:32 +00:00
Derick Rethans 3df7836db9 - MFH: Also add the warnings for times. This does not make sense for the
english text parser, as invalid times are never allowed in there.
2008-07-15 17:38:27 +00:00
Pierre Joye 597d411627 - MFH: Port mcrypt_create_iv to windows (aka fix it on windows) 2008-07-15 17:05:02 +00:00
Scott MacVicar a9d60c014b MFH: Fix bug when < is used within attribute. 2008-07-15 14:46:12 +00:00
Dmitry Stogov 05f3ed67d4 Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots)) 2008-07-15 13:39:17 +00:00
Dmitry Stogov c27eba9bcf Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown before shutdown) (basant dot kukreja at sun dot com) 2008-07-15 13:11:19 +00:00
Andrey Hristov 136a55fcd9 Sync with bzr 2008-07-15 13:11:09 +00:00
Felix De Vliegher 0adb8c0b10 Tests for strpbrk(), testfest.php.net task #91 and #92. 2008-07-15 11:14:42 +00:00
Antony Dovgal 56ba1f9e80 fix test 2008-07-15 09:14:28 +00:00
Lars Strojny 4cc5f49d97 Return null on when param parsing errors occur 2008-07-15 09:09:09 +00:00
Lars Strojny 9cd815a956 New parameter parsing API 2008-07-15 08:50:04 +00:00
Lars Strojny 742d0ad166 Reenabling the test but removing the test cases for old_function as the alternative syntaxes are still there 2008-07-15 08:34:18 +00:00
Henrique do Nascimento Angelo 0890b92f86 Fix error message 2008-07-15 03:20:44 +00:00
Henrique do Nascimento Angelo d3538f427a Fix uninitilized variables in openssl_pkcs7_encrypt() and openssl_pkcs7_sign() 2008-07-15 02:59:56 +00:00
Henrique do Nascimento Angelo 8e2248c8b1 Fix segfault caused by openssl_pkey_new() in ext/openssl/tests/006.phpt 2008-07-15 02:43:30 +00:00
Jani Taskinen cd913eb2d8 MFH:- Fix tests (do NOT assume things in php.ini always to be same...or sane) 2008-07-15 01:00:00 +00:00
Stanislav Malyshev 3e330504d1 add intl to extensions 2008-07-14 19:32:52 +00:00
Felipe Pena 2838f22fc0 - Added arginfo 2008-07-14 18:08:37 +00:00
Felipe Pena 07444b4670 - Added arginfo 2008-07-14 17:50:47 +00:00
Derick Rethans e7ee127f9c - MFH: Fixed reversed logic. 2008-07-14 17:38:33 +00:00
Derick Rethans c76ba173a9 - MFH: Added a warning to the error struct in case a parsed-date was found to
be invalid.
2008-07-14 17:36:12 +00:00
Josie Messa be5633612a - Tests from TestFest
- Have slightly modified similar_text_error.phpt from original file
2008-07-14 15:27:19 +00:00
Felipe Pena a142b6cd86 - New tests 2008-07-14 13:36:40 +00:00
Dmitry Stogov 0fa7fedfde Fixed is_callable() to support closures and return appropriate function name 2008-07-14 12:18:23 +00:00
Felipe Pena bc12bc69aa - Fixed test titles 2008-07-14 11:57:44 +00:00
Felipe Pena 8a388f61a1 - Fixed tests 2008-07-14 11:47:44 +00:00
Matt Wilmas bc8b11ce02 MFH: Prevent build failure after closures 2008-07-14 10:15:31 +00:00
Dmitry Stogov d5ef2f466c Added support for lambda functions and closures 2008-07-14 09:49:03 +00:00
Jani Taskinen d23342397c No dots 2008-07-14 09:03:48 +00:00
Jani Taskinen 1e2b2bbeae - Some config*.m4 file cleanups: NO tabs in these! 2008-07-14 09:02:26 +00:00
Jani Taskinen 4db24954fb - Update credits: Whenever some extension is removed/added, remember to run scripts/dev/credits and commit ext/standards/credits* !! 2008-07-14 08:57:10 +00:00
Antony Dovgal cd408f1235 MFH: minor speedup - convert offset to long only when needed 2008-07-14 08:09:09 +00:00
Stanislav Malyshev bdc0acdd77 add icu version to phpinfo 2008-07-14 07:16:24 +00:00
Antony Dovgal 9ff6e26d74 fix typo 2008-07-14 06:44:05 +00:00
Stanislav Malyshev aeef561b98 fix test 2008-07-14 06:42:45 +00:00
Stanislav Malyshev 44326938eb - increase max locale to 80
- add some macros
2008-07-14 06:42:11 +00:00
Stanislav Malyshev 01e9895f41 todo 2008-07-14 06:15:49 +00:00
Marcus Boerger ffb3a6b658 - BFN 2008-07-13 21:59:50 +00:00
Marcus Boerger ca64703134 - Use new helper 2008-07-13 21:45:07 +00:00
Marcus Boerger a694fad739 - MFH Fix test 2008-07-13 21:44:38 +00:00
Antony Dovgal 4a71b17693 more fixed tests 2008-07-13 21:43:12 +00:00
Marcus Boerger 2bf3bfc746 - MFH Exception handling
[DOC]
- Exceptions can be thrown while exceptions are pending, they are linked
- Exceptions can be handled in __destruct
- Add optional Exception $previous parameter to
  . Exception::__construct
  . ErrorException::__construct
2008-07-13 21:42:49 +00:00
Antony Dovgal 805f552cd3 fix skipif sections 2008-07-13 21:40:49 +00:00
Antony Dovgal 80e391190a add missing SKIPIF sections 2008-07-13 21:34:15 +00:00
Antony Dovgal ad275fa6ef MFH 2008-07-13 21:22:55 +00:00
Antony Dovgal 4f040525ef improve code coverage 2008-07-13 19:47:52 +00:00
Etienne Kneuss f60da35554 MFH: Implement toArray,fromArray and get_properties (Thanks Tony for the patches) 2008-07-13 15:59:52 +00:00
Antony Dovgal 0cd1f90e29 blind fix for a segfault in ext/pdo_firebird/tests/bug_38253.phpt 2008-07-13 10:55:50 +00:00
Antony Dovgal 8793440eee fix test 2008-07-13 09:42:25 +00:00
Pierre Joye 8c7c445404 - wrong bracket position while mergin 2008-07-13 09:34:08 +00:00
Antony Dovgal 205ba532cf apply correct fix 2008-07-13 09:32:46 +00:00
Antony Dovgal 68a61e9981 fix segfault in Exception::__toString() 2008-07-13 09:29:44 +00:00
Antony Dovgal 669a441bcd fix test 2008-07-13 09:29:16 +00:00
Rui Hirokawa 97b0ae946f fixed #43227 removed PHP_INI_PERDIR from mbstring.func_overload. 2008-07-13 01:34:21 +00:00
Rui Hirokawa 7aab46a2f1 updated bundled oniguruma from 4.4.0 to 4.7.1 2008-07-13 01:25:22 +00:00
Pierre Joye 64cf2c2f50 - MFH: fix build with VC9 PSDK6.x 2008-07-12 23:54:53 +00:00
Pierre Joye 92f5c267f6 - MFH: support for new naming 2008-07-12 23:42:25 +00:00
Pierre Joye f8a7c37c83 - MFH: don't use inet_ntop when not present 2008-07-12 23:26:02 +00:00
Felipe Pena 75db10f95b - MFB: Fixed bug #45220 (curl_read callback returns -1 when needs to return size_t (unsigned)) 2008-07-12 21:16:50 +00:00
Steph Fox 9e2f3c57d0 This looks more than it is due to ws/cs and minor fixes in it...
- Fixes logic in dependency check
- Fixes logic in AC_DEFINE error message
- Prevents shared extensions from building if a hard dependency is missing altogether
- Cleans up errors/warnings/messages for all scenarios
- Changes a function call to the new project support
2008-07-12 15:04:39 +00:00
Marcus Boerger d34b08646d - Missed one line in merge 2008-07-12 14:59:46 +00:00
Marcus Boerger e4869828a7 - MFH Allow multiple exceptions in spl's autoload 2008-07-12 14:58:41 +00:00
Marcus Boerger 61a808dfa9 - MFH Add support for linking exceptions (implements TODO) 2008-07-12 14:57:14 +00:00
Felipe Pena 8cbd7cc7b9 - MFB: Fixed bug #45449 (filesize() regression using ftp wrapper) (patch by crrodriguez at suse dot de) 2008-07-11 18:33:35 +00:00
Rob Richards 58c300ddf6 dont forget the header 2008-07-11 15:05:05 +00:00
Rob Richards 848c7196f4 fix iconv linking 2008-07-11 14:41:06 +00:00
Felipe Pena 40e96d282d MFB: - Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset=' parsing incorrect) 2008-07-11 13:53:09 +00:00
Jani Taskinen 0cd842e51b nuke unused variable 2008-07-11 13:50:43 +00:00
Jani Taskinen 7cb641a66e MFH: silence warning 2008-07-11 13:11:49 +00:00
Antony Dovgal 04c8373b6a MFH 2008-07-11 12:44:02 +00:00
Felipe Pena 8ea5ae6c9a - MFB: Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:25:38 +00:00
Felipe Pena f1f2a238ca MFB: - Fixed the strings size in imap_headerinfo 2008-07-11 11:27:32 +00:00
Antony Dovgal cf7e15c3a0 MFH: manage references of stream context properly 2008-07-11 10:25:15 +00:00
Antony Dovgal 46f41aded1 MFH 2008-07-11 09:17:10 +00:00
Antony Dovgal 0c8d3ebe9c MFH 2008-07-11 09:15:44 +00:00
Antony Dovgal 0be3a5dcd5 drop unused var 2008-07-11 09:11:18 +00:00
Antony Dovgal 120f19b6a6 fix function protos and is_link() wrapper 2008-07-11 08:53:43 +00:00
Derick Rethans 5ab9ca968b - MFH: Fixed a compiler warning - the code didn't make much sense. 2008-07-11 08:42:54 +00:00
David Soria Parra f41c78ddbb PHP Testfest. Tests done by Felix De Vliegher 2008-07-10 23:46:49 +00:00
Stanislav Malyshev f787963056 fix date formatter positions (bug #14263) 2008-07-10 21:58:02 +00:00
Felipe Pena b82c9b9461 - MFB: Fixed bug #45460 (imap patch for fromlength fix in imap_headerinfo doesn't accept lengths of 1024) 2008-07-10 17:50:51 +00:00
Dmitry Stogov 478234b235 Fixed wrong refcount updates 2008-07-10 16:16:15 +00:00
Dmitry Stogov d82b5d59b4 Added tests that demonstrate serious PHAR errors
They cannot be easly fixed without algorithms modification
2008-07-10 14:27:21 +00:00
Dmitry Stogov 53bbf1238c Extensions MUST NOT manipulate with internal functions from EG(function_table) in run-time. It may cause problems with opcode caches and in multi-threaded environment. Now the same functions are overriden at MINIT and call original functions or PHAR ones dependent on flag setting. 2008-07-10 11:36:50 +00:00
Etienne Kneuss 8ceb0b6fd3 MFH: Fix resolution rule of count vs. handler 2008-07-09 21:29:52 +00:00
Etienne Kneuss 003841e312 MFH: Move SXI::count to SXE::count and make it user-friendly 2008-07-09 21:27:28 +00:00
Etienne Kneuss b229f9b7d8 MFH: Test extended iterators methods 2008-07-09 20:35:04 +00:00
Rob Richards e83274cd16 fix zlib detection and linking 2008-07-09 16:09:35 +00:00
Steph Fox bcff952f23 - It's amazing the havoc one little misplaced bracket can cause... 2008-07-09 15:47:06 +00:00
Steph Fox 4fd2b80786 - Clean up ws/cs a bit and add some comments 2008-07-09 14:57:14 +00:00
Antony Dovgal aaebcb6078 add missing cvsignore 2008-07-09 14:18:39 +00:00
Antony Dovgal ae7eff10e8 add zero-terminator to the delimiter (and make valgrind happy) 2008-07-09 14:15:41 +00:00
Felipe Pena 8f8b51bc87 - Fixed test 2008-07-09 12:53:58 +00:00
Felipe Pena 28d91d0cde - Added arginfo 2008-07-09 12:50:57 +00:00
Antony Dovgal cf0708dc88 remove UEXPECTF section 2008-07-09 11:14:20 +00:00
Etienne Kneuss e16b96a58a add SplFileInfo::getPathInfo fix to NEWS 2008-07-09 10:07:46 +00:00
Dmitry Stogov 1cfd92fc43 Fixed efree(NULL) 2008-07-09 08:47:05 +00:00
Etienne Kneuss e53a9ca709 Fix filename/pathname/getpathinfo tests according to SPL fix 2008-07-09 08:39:42 +00:00
Joe Orton 3ab1efefc4 - MFH: tweak test case to better trigger the (now-fixed) reference bugs 2008-07-09 08:37:29 +00:00
Steph Fox 372178e9f0 - Add generated files to .cvsignore 2008-07-09 08:17:03 +00:00
Steph Fox 208d851444 - Embryonic project file generation. Use buildconf --add-project-files and hopefully it'll work.
- Please read the README before complaining.

@Stas, Rob - please test.
2008-07-09 08:15:46 +00:00
Etienne Kneuss 767eaa7a4e MFH: - Fix filename in debug_info
- Fix #45345 (getPathInfo on the file instead of the dir)
- Remove trailing / on input
2008-07-08 22:40:48 +00:00
Derick Rethans db2ed70a73 - MFH: Fixed bug #45459 (date_create_from_format() fails on DATE_RFC3339) by
allowing a few more format specifiers in date_create_from_format() /
  date_parse_from_format().
2008-07-08 20:25:28 +00:00
Derick Rethans 875d013b71 - MFH: Fixed a memleak (Original patch by Hannes Magnusson). 2008-07-08 19:29:18 +00:00
Pierre Joye 0ca3ffeda3 MFH:
- use _a for static lib
 - fix logic for shared zlib
2008-07-08 19:09:11 +00:00
Derick Rethans 4a23bbfe75 - MFH: Fixed some ambiguities in the date parser. 2008-07-08 18:28:49 +00:00
Nuno Lopes ae8fcea231 increase pcre.backtrack_limit so that the phpinfo.phpt test passes on my computer.
we should really consider increase the default of this limit.. (but not the recursion one though)
2008-07-08 18:18:08 +00:00
Derick Rethans 484d6b21c0 - Replaced // by /* .. */ comments. 2008-07-08 17:55:59 +00:00
Derick Rethans 198746158f - MFH: Fixed memory leaks and segfaults, patch by Joe Orton.
- MFH: Fixed bug #45038 (Crash when using DateTimeZone object returned by
  Date::getTimezone).
2008-07-08 17:41:51 +00:00
Antony Dovgal 9a5375a0e3 fix typo 2008-07-08 15:24:12 +00:00
Nuno Lopes 620055c4c2 regenerate 2008-07-08 15:17:52 +00:00
Nuno Lopes b8673e35a0 now really fix once and for all the #-style comments.
also remove some duplicated code in <?, <%, <%= handlers. this also has the side-effect of producing better bytecodes in some special cases
2008-07-08 15:16:35 +00:00
Nuno Lopes 29e7475124 add more tests for the parser. currently both fail 2008-07-08 14:38:31 +00:00
Scott MacVicar 64ba428eab Typo, missing items and clarify what sqlite was updated. 2008-07-08 12:15:39 +00:00
Scott MacVicar 8fa44736ea Add missing NEWS items. 2008-07-08 10:28:52 +00:00
Jani Taskinen e90f5d254f - We do not mention bugs that were not in any release. (DMITRY!..) 2008-07-08 09:33:49 +00:00
Jani Taskinen a95ed1da15 - Some more reordering 2008-07-08 09:30:38 +00:00
Jani Taskinen 88d4f52a0b - Reorder, simplify, make it somewhat more readable and easier to read. :) 2008-07-08 09:26:21 +00:00
Antony Dovgal 8eeaf9df95 capitalize multibyte support 2008-07-08 08:37:56 +00:00
Dmitry Stogov f7f74367df Fixed bug #45434 (circular reference causes segfault in gc_collect_cycles()) 2008-07-08 08:16:09 +00:00
David Soria Parra 375631c3b9 Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
Stanislav Malyshev 9eb22ce7f7 Merge intl extension 2008-07-07 23:10:15 +00:00
Stanislav Malyshev 0d16b1516b Merge intl extension into core 2008-07-07 22:51:04 +00:00
Scott MacVicar 3bab7c18ac Tweak last commit, should always return NULL when an entry doesn't exist. 2008-07-07 21:50:56 +00:00
Scott MacVicar 43e7784b0a Add zend_ini_string_ex so that the you can differentiate between NULL as a value and its absence, this is important for ini_get. Related to bug #42657 and #43348 2008-07-07 21:37:46 +00:00
Hannes Magnusson 5c158c03ec He doesn't actually maintain it that much... :) 2008-07-07 17:58:32 +00:00
Felipe Pena 9d56746085 - Added arginfo 2008-07-07 17:33:47 +00:00
Felipe Pena bcecf98096 - Added arginfo 2008-07-07 17:18:43 +00:00
Derick Rethans c9e8ea703f - Updated to version 2008.4 (2008d) 2008-07-07 14:36:18 +00:00
Felipe Pena f61bd89b9c - Removed zend_arg_defs.c
The first_arg_force_ref, second_arg_force_ref, third_arg_force_ref,
   fourth_arg_force_ref, fifth_arg_force_ref and all_args_by_ref are not more used.
2008-07-07 14:22:02 +00:00
Pierre Joye 09e0bc6c90 - MFH:
- use ARG_ENABLE for the summary option
 - move test if summary function
2008-07-07 13:51:35 +00:00
Pierre Joye 5d04f639de - move common functions to confutils
- rename the summary option to reflect its usage (Enable Sumamry, yes)
2008-07-07 13:32:55 +00:00
Felipe Pena e7eda53a3b - Removed unused variables 2008-07-07 12:52:00 +00:00
Felipe Pena d7a224914e - Added arginfo
- Removed unnecessary #include "zend_arg_defs.c"
2008-07-07 12:40:51 +00:00
Jani Taskinen 4345a82661 - Update credits 2008-07-07 10:36:50 +00:00
Pierre Joye ce7428d9d9 - test for ZLIB_SHARED (possible conflict) 2008-07-07 08:41:10 +00:00
Steph Fox 005c6c8f04 - Don't do stuff twice over
@Jani: pick up mail!
2008-07-07 01:25:53 +00:00
Steph Fox e22ec182ed - Fix up some bits and pieces.
- Always report re2c version.
- Head towards making it possible for all platforms to have compiler info in phpinfo() output.
- Make it possible to switch off configure summary (--without-summary).
2008-07-07 01:23:56 +00:00
Steph Fox 5e6595d35a - This file is generated from win32/build/config.w32.h.in. It should never have been in CVS in the first place... 2008-07-07 01:16:44 +00:00
Steph Fox 27340e60fc - Fixed config.w32 to keep Elizabeth happy
- NB This whole lot still might disappear, OpenSSL patch review pending
2008-07-07 01:13:14 +00:00
Steph Fox 2c9df0990d - We forgot to check that the phar exists before trying to extract files from it :) 2008-07-07 01:11:07 +00:00
Steph Fox 5db08e7d1f Duplicate tests to accommodate parameter parsing fixes in 5_3 core
(NB the 5_2 tests will fail currently due to name changes, will fix tomorrow)
2008-07-07 01:09:21 +00:00
Etienne Kneuss c390865689 MFH: Fix my poor name 2008-07-07 00:07:59 +00:00
Etienne Kneuss 91ada2fd0a Remove .htaccess file(??) 2008-07-07 00:05:37 +00:00
Etienne Kneuss 0a2467bd05 MFH: Add missing test 2008-07-06 23:54:36 +00:00
Etienne Kneuss 0eea0a059e MFH: First part of count/handlers related fixes 2008-07-06 23:45:56 +00:00
Pierre Joye 7599f55fdf - some updates (will be used to send mails when an extension is broken, snaps or from RM/QA) 2008-07-06 19:24:54 +00:00
Pierre Joye a4354756eb - MFH:
- update lib/headers detection
  - nuke unused variables
2008-07-06 17:07:26 +00:00
Nuno Lopes 180a7bef35 add test for the shebang thing 2008-07-06 16:59:39 +00:00
Pierre Joye 4ef36bc364 - MFH: update lib detection and does not enable it when lib/headers are missing 2008-07-06 16:59:13 +00:00
Pierre Joye c02eff3995 - don't enable xmlrpc when libxml is missing 2008-07-06 16:52:59 +00:00
Nuno Lopes 504fe5eedb fix test for good consoles (tm) 2008-07-06 16:38:18 +00:00
Nuno Lopes 35233302e1 regenerate 2008-07-06 16:21:15 +00:00
Nuno Lopes ea11f6df43 fix last part of bug #44654 2008-07-06 16:20:51 +00:00
Nuno Lopes 25d8eb1e40 regenerate 2008-07-06 15:53:37 +00:00
Nuno Lopes 3ba706cc62 fix first part of bug #44654: scan for opening tag <? after a # char 2008-07-06 15:53:23 +00:00
Nuno Lopes 671caa1d5d add test for #-style comments. passes fine on both 5.2 and 5.3 2008-07-06 15:40:11 +00:00
Rui Hirokawa 0686ad4313 improved zend-multibyte detection. 2008-07-06 15:36:19 +00:00
Nuno Lopes d771fa6da1 fix CVE-2008-2371. patch by Tavis Ormandy
# currently there's no release of PCRE with this fix. PCRE's author recommended applying this patch in the meantime
2008-07-06 15:23:31 +00:00
Nuno Lopes 053dc572ca upgrade to PCRE 7.7 2008-07-06 15:17:25 +00:00
Pierre Joye 21bca5add3 - correctly test the VCVERS (four digits now) 2008-07-06 09:55:44 +00:00
Rui Hirokawa 07ce850026 added test script for zend-multibyte
(moved/modified from ext/mbstring/tests/)
2008-07-06 02:01:39 +00:00
Felipe Pena 73d93df417 - Fixed arginfo 2008-07-06 01:57:39 +00:00
Felipe Pena 816e66a85a - Added arginfo
- Removed #include "zend_arg_defs.c"
2008-07-05 23:30:22 +00:00
Felipe Pena 40ebd51f8e - Added arginfo
- Removed #include "zend_arg_defs.c"
2008-07-05 22:35:14 +00:00
Felipe Pena 376924229c - Removed unnecessary #include "zend_arg_defs.c" 2008-07-05 20:17:58 +00:00
Felipe Pena e51b1412da - Added arginfo (methods)
- Removed #include "zend_arg_defs.c"
2008-07-05 20:12:56 +00:00
Felipe Pena ead75b74f2 - zend_arg_defs.c is unnecessary now 2008-07-05 20:09:33 +00:00
Pierre Joye e78d5ac5c4 -MFH: improve detection of VC version and summary (2k2 and 2k3 are 1300 and resp. 1310) (Thx Marcus) 2008-07-05 19:53:04 +00:00
Pierre Joye 5627ff52f0 - MFH: don't redefine WINDOWS and pid_t 2008-07-05 18:51:17 +00:00
Pierre Joye 98ce717bf2 - MFH: _getpid is in process.h 2008-07-05 18:36:34 +00:00
Pierre Joye 53c53ed731 - MFH: silent redefinition warning 2008-07-05 18:17:37 +00:00
Pierre Joye f0d28fafa8 -MFH: fix build (function was never implemented), even if noone uses it (or complains about broken build ;) 2008-07-05 13:13:28 +00:00
Rui Hirokawa 5deede0da4 cosmetic change. 2008-07-05 07:36:24 +00:00
Rui Hirokawa b0ce4732b0 removed wrong bytes. 2008-07-05 07:30:01 +00:00
Rui Hirokawa 236114fa63 revert commit. 2008-07-05 07:10:25 +00:00
Rui Hirokawa a55482ad87 added CP1254 2008-07-05 07:09:37 +00:00
Rui Hirokawa dea0d31baf - added koi8-u (Ukrainian) and CP1254 (Turkish). 2008-07-05 06:52:04 +00:00
Scott MacVicar a164217bf2 Fix break caused by previous commit, warning and remove zend_get_parameters() 2008-07-05 00:28:16 +00:00
Pierre Joye 581c48c2a0 - fix compile error with vc6 (snaps) 2008-07-04 21:00:16 +00:00
Felipe Pena 543f015d52 - Moved protos to .c (sync with HEAD) 2008-07-04 14:50:07 +00:00
Felipe Pena c757089335 - Reverted previous commit
- Moved protos to .c (sync with HEAD)
2008-07-04 14:43:53 +00:00
Alexey Zakhlestin 8e46482aac fixed tests not to rely on actual strings of errors, as those are not defined by any standard and are platform-dependent 2008-07-04 14:30:36 +00:00
Felipe Pena 026d7fe232 - Added arginfo
- Removed #include "zend_arg_defs.c" (it's unnecessary now)
2008-07-04 14:08:16 +00:00
Derick Rethans 3657b0ab5c - Revert that crap. 2008-07-04 07:47:18 +00:00
Olivier Hill e360ff7476 New parameter parsing API 2008-07-03 20:19:26 +00:00
Rob Richards 74bc652de8 fix key container access 2008-07-03 19:40:15 +00:00
Antony Dovgal b691365e7b size_t -> int 2008-07-03 14:00:20 +00:00
Pierre Joye dead79dbcd - mcrypt_create_iv entry 2008-07-03 13:54:50 +00:00
Pierre Joye f0ec9b9475 - fix mcrypt_iv on windows, use urandom equivalent
- MFH, code cleaning and reorganisation
2008-07-03 13:50:14 +00:00
Felipe Pena 12a4c54dcf - Fixed compile warnings 2008-07-03 12:53:12 +00:00
Felipe Pena 6488a85545 - New parameter parsing API 2008-07-03 12:38:53 +00:00
Antony Dovgal bd07572494 fix test 2008-07-03 09:46:10 +00:00
Antony Dovgal 9ed8580b54 fix test 2008-07-03 09:22:17 +00:00
Antony Dovgal 449979cbd0 add a line to phpinfo() to indicate whether multibyte support is On or Off 2008-07-03 08:06:55 +00:00
Antony Dovgal 856c19c67c make --enable-zend-multibyte known to configure 2008-07-03 07:46:17 +00:00
Antony Dovgal 63d6d67aa7 fix tests 2008-07-03 07:41:58 +00:00
Felipe Pena bedd323878 - Added arginfo (functions) 2008-07-03 01:55:48 +00:00
Rob Richards 8d5ba06e87 fix win build 2008-07-02 23:48:22 +00:00
Pierre Joye 55d2b5862a - add summary function and VC version info 2008-07-02 20:50:18 +00:00
Pierre Joye 1224a66f7d - MFH: re2c detection, PHP_VERSION 2008-07-02 20:49:12 +00:00
Pierre Joye 2f3beadffd - add version info for 2007a and b
- update config.w32
2008-07-02 17:56:19 +00:00
Olivier Hill a9175febd6 Fix parse error 2008-07-02 15:00:21 +00:00
Pierre Joye 7a98fdc429 - MFH: fix make test TESTS=... and dynamic extension usage on windows 2008-07-02 12:47:06 +00:00
Antony Dovgal f77382f412 MFH 2008-07-02 12:25:15 +00:00
Antony Dovgal 9d4ede194f MFH: check return value of hash_find() 2008-07-02 10:47:11 +00:00
Felipe Pena 01a35a058f - Added arginfo 2008-07-02 00:10:54 +00:00
Felipe Pena 7294562366 - Added arginfo 2008-07-01 19:43:42 +00:00
Felipe Pena 0a61cda2c7 - Added arginfo 2008-07-01 19:13:44 +00:00
Felipe Pena 9c3c7e8803 - Added arginfo (functions) 2008-07-01 18:28:54 +00:00
Felipe Pena b206bac4e9 - Added arginfo
- Fixed compile warning
2008-07-01 17:24:10 +00:00
Felipe Pena 899e8d6dea - Fix check for PHP_SYBASE 2008-07-01 17:03:46 +00:00
Felipe Pena 44689fbb36 - Added arginfo 2008-07-01 15:45:54 +00:00
Felipe Pena f6c971b5f4 - Added arginfo 2008-07-01 15:33:11 +00:00
Dmitry Stogov 578cfc6088 Removed redundant code 2008-07-01 13:20:48 +00:00
Felipe Pena 2a35fb373f - Removed unused variables 2008-07-01 11:27:05 +00:00
Felipe Pena 55f7368408 - Fixed types
- Fixed protos
2008-07-01 11:26:10 +00:00
Dmitry Stogov f7938051d4 Use new parameter parsing API 2008-07-01 10:01:09 +00:00
Antony Dovgal c79df56ac6 fix test 2008-07-01 09:19:58 +00:00
Antony Dovgal d76ecaae08 long -> int + minor sources reorganization 2008-07-01 07:58:42 +00:00
Antony Dovgal 2f2953760b fix typo 2008-07-01 07:56:24 +00:00
Antony Dovgal e035184017 string length -> int 2008-07-01 07:54:30 +00:00
Antony Dovgal dd8202f652 int->long, add missing "s" 2008-07-01 07:43:36 +00:00
Antony Dovgal 7838408b4b more int -> long fixes 2008-07-01 07:41:38 +00:00
Antony Dovgal 6eeb67af78 more long -> int fixes 2008-07-01 07:39:33 +00:00
Antony Dovgal 0729dab2ae on the contrary, string length is int 2008-07-01 07:36:59 +00:00
Antony Dovgal 22b86e5d80 MFH 2008-07-01 07:23:00 +00:00
Felipe Pena 235aab6c0f - New parameter parsing API (to preg_replace*)
- Fixed related tests
2008-06-30 17:14:48 +00:00
Felipe Pena e7fc9029e6 - Added arginfo 2008-06-30 14:53:17 +00:00
Felipe Pena 44e0c9e4f6 - Added arginfo
- Removed #include "zend_arg_defs.c"
2008-06-30 13:15:03 +00:00
Felipe Pena 7ddf985e05 - zend_arg_defs.c is unnecessary now 2008-06-30 12:15:53 +00:00
Antony Dovgal c125461de1 "l" is long, that's why it is "l", not "i" 2008-06-30 10:39:34 +00:00
Antony Dovgal b763c47e4e int -> long 2008-06-30 10:10:44 +00:00
Felipe Pena 4fe93ca55d - Fixed test 2008-06-30 01:23:30 +00:00
Felipe Pena 69e3fc8782 - New parameter parsing API 2008-06-29 22:38:55 +00:00
Felipe Pena aeed97c0e1 - Added arginfo 2008-06-29 15:11:48 +00:00
Felipe Pena a44269ca0a - New parameter parsing API
- Added arginfo
2008-06-29 14:29:09 +00:00
Felipe Pena 02c36c4c4a - New parameter parsing API 2008-06-29 13:21:02 +00:00
Felipe Pena 1f69fbd2c3 - New parameter parsing API
- Added arginfo
2008-06-29 12:40:22 +00:00
Rui Hirokawa 867d7241cc touched zend_language_scanner.c 2008-06-29 11:37:35 +00:00
Rui Hirokawa e59fb93765 update zend_language_scanner.l to maintain the dependencies. 2008-06-29 11:20:18 +00:00
Rui Hirokawa c3286f32ef implemented again zend-multibyte for PHP 5.3 2008-06-29 08:21:35 +00:00
Felipe Pena a6410b3056 - Added arginfo 2008-06-28 22:05:59 +00:00
Felipe Pena 15d057df10 - New parameter parsing API 2008-06-28 21:36:39 +00:00
Alexey Zakhlestin 1c77f59429 updated to the new parameter-parsing api 2008-06-28 21:23:08 +00:00
Alexey Zakhlestin 95e419611d added arginfo (fixes #45388) 2008-06-28 18:04:19 +00:00
Scott MacVicar e710fab855 MFH: Sort Windows changes for mhash BC layer 2008-06-28 15:31:50 +00:00
Alexey Zakhlestin d33c8680ab fixed types (no more compiler warnings) 2008-06-28 10:01:17 +00:00
Alexey Zakhlestin 0045cb305b updated to the new parameter-parsing api 2008-06-28 09:52:03 +00:00
Henrique do Nascimento Angelo 4776dfb296 Fix a memory leak on openssl_decrypt() 2008-06-28 09:17:39 +00:00
Stanislav Malyshev e59bfcffa0 deprecate zend_get_parameters_ex 2008-06-27 21:16:41 +00:00
Felipe Pena cb0d08699d - Added arginfo 2008-06-27 19:16:17 +00:00
Stanislav Malyshev 148463ccd3 enable on MSVC too 2008-06-27 18:44:39 +00:00
Christopher Jones ff6cf25fa7 OCI8: MFH: (PECL #14219) Improve README 2008-06-27 18:26:16 +00:00
Felipe Pena ca0c2340fe - Added arginfo 2008-06-27 16:16:23 +00:00
Felipe Pena 2675046a95 - Added arginfo 2008-06-27 15:46:44 +00:00
Felipe Pena 2526420e34 - Added arginfo 2008-06-27 14:33:12 +00:00
Felipe Pena f53142acb6 - Added arginfo 2008-06-27 13:13:09 +00:00
Dmitry Stogov b872c30c85 ws 2008-06-27 06:43:21 +00:00
Felipe Pena fe0403d30d - New parameter parsing API 2008-06-27 02:58:13 +00:00
Greg Beaver 37c684ab3d in preparation for a performance optimization that involves
eliminating phar's interception of zend_compile in favor of a new to-be-added hook in PHP 5.3+,
allow "include 'phar:///path/to/my.phar';" to work as equivalent to
php /path/to/my.phar
this slight change in scripting still allows inclusion and execution of phar stub, but removes the need to
check and modify path in zend_compile, which allows us to play much nicer with external tools like
debuggers/opcode caches
2008-06-27 01:21:12 +00:00
Felipe Pena 424b5b2929 - New parameter parsing API 2008-06-27 00:22:18 +00:00
Stanislav Malyshev 019fd806a0 allow deprecating engine functions 2008-06-27 00:01:25 +00:00
Scott MacVicar cc7e8970de Make the old mhash API a wrapper around hash, this removes a dependency. 2008-06-26 22:33:16 +00:00
Felipe Pena d7f5edd988 - Fixed tests 2008-06-26 11:15:48 +00:00
Felix De Vliegher 4f7961b31a Tests for lchown(), testfest.php.net task number 129. 2008-06-26 09:10:54 +00:00
Felipe Pena d2faad9820 - Fixed test 2008-06-25 22:54:11 +00:00
Felipe Pena d8bc2719d7 - Removed E_DEPRECATED on is_a()
(http://marc.info/?l=php-internals&m=121390431523970&w=2)
[doc]
2008-06-25 22:35:31 +00:00
Felipe Pena 0b89de0f5f - New parameter parsing API 2008-06-25 16:18:55 +00:00
Felipe Pena 3ece9a2cf6 - New parameter parsing API 2008-06-25 15:06:58 +00:00
Felipe Pena 1133ffcf94 - New parameter parsing API 2008-06-25 14:46:19 +00:00
Dmitry Stogov 216909ced7 Added support for namespaces 2008-06-25 12:33:46 +00:00
Dmitry Stogov 531b31ca08 Fixed bug #45352 (Segmentation fault because of tick function on second request) 2008-06-25 12:18:36 +00:00
Olivier Hill c5ec48e858 New parameter parsing API 2008-06-25 12:16:17 +00:00
David Coallier 624c8f2f66 Reverted zpp API Cleanup patch - memory troubles? 2008-06-25 10:16:52 +00:00
David Coallier c1f8b9b7de - Hackish but working parameter parsing, no longer using
zend_get* at least
2008-06-25 08:56:42 +00:00
Felipe Pena 65e7b8f6d0 - New parameter parsing API 2008-06-25 03:18:58 +00:00
David Coallier 8c394f4955 - New parsing parameter API
- Tests have been adjusted, if you have something else failing
  let me know now! All tests seem to pass fine at the moment.
2008-06-24 22:53:01 +00:00
David Coallier 0674689940 - Tests for parsing parameter api 2008-06-24 22:51:57 +00:00
Andrey Hristov 827b772c9f Fix remaining valgrind problems with pconn and zval cache
HEAD merge will follow tomorrow.
2008-06-24 22:22:48 +00:00
Timm Friebe 4a58de4c5c - Migrated all zend_get_parameters_ex calls to zend_parse_parameters()
- Fixed prototype declarations to use the type resource instead of int
- Fixed sybase_close() not to crash when no connection was previously open
2008-06-24 16:33:17 +00:00
Felipe Pena 7939a8347e - New parameter parsing API 2008-06-24 16:01:32 +00:00
Raghubansh Kumar 24f01f7ab0 New testcases for hash_file(), Committed for Felix De Vliegher, TestFest Task No: 75 & 76, Tested on RHEL5 -32bit, WinXP-32bit 2008-06-24 15:44:50 +00:00
Andrey Hristov 943e9a577b Fix double-free, introduced lately 2008-06-24 13:19:29 +00:00
Felipe Pena ff83deb66d - Added arginfo 2008-06-24 12:09:31 +00:00
Andrey Hristov e0f45cf7ae Fix possible bug with persistent connections and mysqlnd 2008-06-24 11:01:38 +00:00
Felix De Vliegher 048736a907 Tests for ob_get_flush(), testfest task number #131. 2008-06-24 10:31:02 +00:00
Andrey Hristov 9d7955b821 Add missing header 2008-06-24 08:01:13 +00:00
Dmitry Stogov 7e5392b54a Fixed test 2008-06-24 07:06:08 +00:00
Andrey Hristov f93e715fc5 Even more debug info 2008-06-24 06:56:36 +00:00
Dmitry Stogov 9c3ebd10bb Fixed memory leaks 2008-06-24 06:47:45 +00:00
Dmitry Stogov 56bbba3a79 Fixed tests 2008-06-24 06:25:51 +00:00
Dmitry Stogov 273ee49acb Fixed strtolower/strtoupper to not modify the passed argument 2008-06-24 06:07:08 +00:00
Dmitry Stogov e13bb4c5f6 Reverted part of Steph's patch (stdin stream must be closed to make script finish) 2008-06-24 06:05:29 +00:00
Frank M. Kromann 99a430074f Not sure why this file was comitted?
I was running a CVS update and then I see commit messages with my user id!
Reverting the changes.
2008-06-24 06:01:53 +00:00
Kalle Sommer Nielsen 4398fbbbe4 MFH 2008-06-24 05:59:53 +00:00
Frank M. Kromann 7e5ee41aa9 no message 2008-06-24 04:31:05 +00:00
Greg Beaver 8bf72978b3 fix several issues:
1) segfault in phar_buildfromdirectoryiterator8.phpt
2) tests failing because SKIPDOTS is default on 64 bit, not on 32
3) Marcus, you really need to add SKIPDOTS as a class constant, so we don't have to use 0x00001000
2008-06-24 01:11:27 +00:00
Andrey Hristov ad0f0b73c7 Added more debug info for tracking problems 2008-06-23 22:21:18 +00:00
Pierre Joye 414f7fa6c3 - move sybase to pecl 2008-06-23 19:55:27 +00:00
Steph Fox b9e8695e75 - One solution for the openssl issues
- config.m4 needs bringing into line with config.w32, there may be broken behaviour under *nix until this is done
2008-06-23 19:18:01 +00:00
Pierre Joye 41976c7ab6 - do not enable an ext when a lib/header fails
- use MESSAGE in mysql*
- use correct CFLAGS for ext/libxml headers
2008-06-23 18:40:29 +00:00
Steph Fox 019c586191 - Wrong SKIPIF message 2008-06-23 17:48:23 +00:00
Felipe Pena f2d0da3c29 - Fixed folding 2008-06-23 17:28:06 +00:00
Felipe Pena ca0166605c - Added arginfo 2008-06-23 17:17:46 +00:00
Felipe Pena a3da6b4c1b - Added arginfo 2008-06-23 16:41:00 +00:00
Felipe Pena 8ee04f3452 - Added XFAIL 2008-06-23 14:04:08 +00:00
Pierre Joye 9118a7c671 - use stdout for MESSAGE (thx Steph) 2008-06-23 11:44:21 +00:00
Dmitry Stogov 8054f84a3c Fixed possible buffer overflow 2008-06-23 11:37:50 +00:00
Pierre Joye c9ec9fed7b - set PHP_[EXTNAME] to yes for spl, pcre and reflection (always on), this variable is required by ADD_EXTENSION_DEP 2008-06-23 10:22:42 +00:00
Pierre Joye cb417c55ac - add a MESSAGE function
[DOC] to be used instead of STDOUT in config.w32, it allows them to be redirected (like in a quiet mode)
- add the list of enabled SAPI
- improve the table output
2008-06-23 08:11:31 +00:00
Pierre Joye 4dcfb9a03f - fix ADD_EXTENSION_DEP detection so it can match it anywhere in a line 2008-06-23 07:55:03 +00:00
Greg Beaver 10f6d9a556 true fix for potential segfault in phar_build 2008-06-23 04:00:23 +00:00
Greg Beaver fb448c5c28 fix tar-related failures 2008-06-23 03:55:50 +00:00
Felipe Pena 0e63639070 - New parameter parsing API 2008-06-23 03:17:42 +00:00
Pierre Joye 58fce3a863 - really check for the dependency, libs and header and don't enable the ext if something is missing 2008-06-22 23:17:22 +00:00
Pierre Joye 1c0dbe6e09 - bindlib has its own package 2008-06-22 23:16:31 +00:00
Pierre Joye b613e76c8b - return true/false when a dep addition was succeeded or not 2008-06-22 23:15:54 +00:00
Pierre Joye 7053732b6f - don't show zlib as available when libs or headers are missing 2008-06-22 21:55:59 +00:00
Pierre Joye 5d112c35b7 - do not show libxml as enabled when libs are missing so ADD_EXTENSION_DEP('myext', 'libxml') can do its job 2008-06-22 21:49:06 +00:00
Felipe Pena f90b9d2979 - Fix build where __USE_GNU is used instead of _GNU_SOURCE to define utsname.domainname 2008-06-22 21:45:42 +00:00
Pierre Joye 2c8f57778c - add a list of the enabled extensions and how they are built (shared or static
list of SAPIs and libs used will follow shortly (to be used as QA check during the builds and as convenience)
2008-06-22 20:51:57 +00:00
Pierre Joye 0152bd0387 - clean new line (unix only now) 2008-06-22 19:50:38 +00:00
Olivier Hill 906b5b80df New parameter parsing API for string, part I 2008-06-22 19:22:41 +00:00
Felipe Pena 44fe6a6005 - Fixed tests 2008-06-22 19:16:44 +00:00
Uwe Schindler 48bfd44789 MFH: Response to: [PHP-DEV] cleaning up the functions - any volunteers? :) 2008-06-22 18:09:41 +00:00
Steph Fox c68a82ac7d - Revert the two blocks of code that implement the phar_build optimization, causes segfaults under *nix
- Leave the new structure in place to make re-implementation trivial
2008-06-22 16:35:26 +00:00
Etienne Kneuss f741f6cd6e MFH: Add some tests to increase code coverage 2008-06-22 16:25:02 +00:00
Felipe Pena bdd6712bf5 - New parameter parsing API 2008-06-22 16:08:52 +00:00
Alexey Zakhlestin 2369f43415 updated to the new parameter-parsing api 2008-06-22 15:16:11 +00:00
Steph Fox f3844ecd17 - Revert the tar.c part of the inode calculation fix
- All tests now pass under win32, please test under *nix/osx (4 known fails at present)
2008-06-22 14:46:10 +00:00
Rob Richards 92f8906b2b fix parameter parsing change 2008-06-22 14:13:41 +00:00
Alexey Zakhlestin 247bf3eb4a updated to the new parameter-parsing api 2008-06-22 14:13:01 +00:00
Felipe Pena 521c5cf5fb - New parameter parsing API 2008-06-22 13:22:27 +00:00
Steph Fox 332a185e08 - ws, typo fix 2008-06-22 13:10:03 +00:00
Felix De Vliegher 43e8a59ac7 Basic test for ob_get_length(), testfest.php.net task #132 2008-06-22 12:29:41 +00:00
Alexey Zakhlestin e4ad58109f updated to the new parameter-parsing api 2008-06-22 12:03:30 +00:00
Felipe Pena 592cecf7d4 - Removed unused variables 2008-06-22 11:36:46 +00:00
Timm Friebe 4920a2f980 - Changed zend_get_parameters_ex -> zend_parse_parameters
- Simplified source in php_sybase_do_connect()
# Part 1, more to follow
2008-06-22 10:11:14 +00:00
Sebastian Bergmann 1a23fec1b0 Fix build. 2008-06-22 08:06:48 +00:00
David Soria Parra b72322de22 Testfest task 93. Written by Sebastian Deutsch. 2008-06-22 05:34:06 +00:00
Greg Beaver 3a8b14f83f fix inode calculation, we need fname to be set for phar/tar formats prior to manifest parsing 2008-06-22 00:50:32 +00:00
Greg Beaver 0ad165e402 new tests for phar.cache_list 2008-06-22 00:49:54 +00:00
Felipe Pena 7e57fd2e6f - Fix segfault 2008-06-21 23:20:40 +00:00
Felipe Pena 1c7f474e81 - New parameter parsing API 2008-06-21 22:07:53 +00:00
Alexey Zakhlestin 2618a28278 updated to the new parameter-parsing api 2008-06-21 21:51:05 +00:00
Steph Fox 0e5b3a3527 - Don't free stuff you still need 2008-06-21 21:37:39 +00:00
Steph Fox 35e0565a4b - Kill a couple of double frees and a memleak
@Greg: You may want to run valgrind over the filestat functions before release..
2008-06-21 20:47:35 +00:00
Steph Fox ad20b9e6bb - pefree pemalloc'd filename 2008-06-21 20:14:43 +00:00
Steph Fox 22fb73c71e - Fix macro definition syntax
- Remove pre-existing workaround
2008-06-21 19:40:41 +00:00
Steph Fox f43a2be8cd - fix for segfault in 5.2 (patch from Greg) 2008-06-21 19:15:46 +00:00
Steph Fox b964ec6e5d - ws 2008-06-21 18:57:53 +00:00
Felipe Pena 7319fb687e - New parameter parsing API 2008-06-21 18:16:02 +00:00
Greg Beaver 4b77c2baa5 define ALLOC_PERMANENT_ZVAL for PHP 5.2 2008-06-21 17:05:32 +00:00
Greg Beaver eb0a98939a PHP 5.2 fixes to direct include of compressed archives 2008-06-21 17:05:18 +00:00
Felipe Pena 015f82d219 - New parameter parsing API 2008-06-21 15:27:34 +00:00
Greg Beaver baee4e6028 close stream on failure 2008-06-21 06:55:56 +00:00
Greg Beaver 529aa19cc7 82x(./profile2) speedup for buildFrom*() 2008-06-21 06:53:10 +00:00
Greg Beaver 14c26d05ba fix leak 2008-06-21 06:21:58 +00:00
Felipe Pena bee6c52437 - New parameter parsing API 2008-06-21 02:41:27 +00:00
David Coallier 88abc99dc0 - New parsing parameter API cleanups 2008-06-20 20:54:32 +00:00
Felipe Pena f23acf749d - New parameter parsing API 2008-06-20 19:57:25 +00:00
Stanislav Malyshev 8a65886bb9 fix buglet 2008-06-20 18:10:17 +00:00
Olivier Hill dc4bcc901b - New parameter parsing API for var.c & tests 2008-06-20 18:05:45 +00:00
Felipe Pena ea00fea83d - New parameter parsing API 2008-06-20 18:00:10 +00:00
Dmitry Stogov 298087c74b Allowed to override internal classaes with "use" 2008-06-20 17:17:05 +00:00
Steph Fox 97cf2a15da - 5_2 compatibility stuff (so we can stay in sync with PECL) 2008-06-20 16:29:36 +00:00
Felipe Pena 5fe790929d - New parameter parsing API 2008-06-20 14:53:57 +00:00
Steph Fox c88e99d9ea - Use SKIP_SLOW_TESTS where it's most useful 2008-06-20 14:42:04 +00:00
Steph Fox 6ef7aef1d4 - Kill the last compiler warning under 5.3 (release-only) 2008-06-20 14:40:53 +00:00
Felipe Pena d4ddc6d890 - New parameter parsing API 2008-06-20 13:02:33 +00:00
Steph Fox fc08a7cc2f The only reason that particular 'real solution' wasn't applied in the first place was that it also breaks the shared build
Maybe we don't need to call a non-existent dtor if we're going to physically apply zend_hash_graceful_reverse_destroy()?
- This works on my box, please test under *nix/OSX
2008-06-20 12:21:32 +00:00
Felipe Pena 089a574882 - Fix ws 2008-06-20 11:38:52 +00:00
Johannes Schlüter 62726c967c - Fix ZTS build (not required on HEAD, patch by Uwe Pries) 2008-06-20 09:17:53 +00:00
Greg Beaver aff3636d9c minor performance improvement 2008-06-20 06:37:14 +00:00
Greg Beaver 7cc6b9f3f5 making progress - up to 42/phar vs. 48/disk with these optimizations 2008-06-20 05:42:58 +00:00
Greg Beaver 5233505043 revert really bad solution to the zend_init_rsrc_list/zend_destroy_rsrc_list problem, replace with real solution 2008-06-20 04:50:11 +00:00
Raghubansh Kumar 48b0cc4134 New testcases for vfprintf(), Committed for Felix De Vliegher, TestFest Task No: 124, Tested on RHEL5 -32bit, WinXP-32bit
Added *.txt to .cvsignore
2008-06-20 04:21:58 +00:00
Christopher Jones 2bb7df3504 MFH:
Fix bug #45266 (Fix build with BDB 4)
Fix bug #45267 (Revert invalid assumption about BDB 4 locking; let DBA handle locking)
Fix bug #45268 (Fix error callback prototype)
2008-06-19 22:39:56 +00:00
Pierre Joye 6d63a0d9d1 - remove debug code 2008-06-19 21:09:43 +00:00
Steph Fox c1b8065dcd Oops. 2008-06-19 21:08:56 +00:00
Steph Fox 0af1218770 Two new options for Travis to come to terms with:
- --set-timeout <n> sets the timeout in seconds for the call to stream_select() during system_with_timeout()
- -x sets an environmental variable, SKIP_SLOW_TESTS, which can be checked for during a SKIPIF clause

and just for a special treat, you can have it from my working branch this time.
2008-06-19 21:08:13 +00:00
Steph Fox 9f44542741 Two new options for Travis to come to terms with:
- --set-timeout <n> sets the timeout in seconds for the call to stream_select() during system_with_timeout()
- -x sets an environmental variable, SKIP_SLOW_TESTS, which can be checked for during a SKIPIF clause
2008-06-19 21:03:36 +00:00
Christopher Jones 31d0d253a8 Test updates and bundle 1.3.3 2008-06-19 19:56:11 +00:00
Stanislav Malyshev 6b87e16bf0 update the docs
# if we keep it in CVS, it should have correct docs
2008-06-19 17:59:35 +00:00
Steph Fox fd10eb318e - ext/standard currently has a dependency on ext/ereg thanks to browscap.c 2008-06-19 17:43:38 +00:00
Steph Fox 05ce8031ad - '' != 'no' 2008-06-19 17:14:43 +00:00
Pierre Joye 0928653619 - NEWS for fpdf and ncurses > PECL 2008-06-19 15:50:44 +00:00
Pierre Joye 0b608cc630 - move fpdf to PECL 2008-06-19 15:49:31 +00:00
Pierre Joye 9ae6ea3842 - mvoe ncurses to PECL 2008-06-19 15:46:09 +00:00
Dmitry Stogov 4961c0c412 Added test for bug #45312 2008-06-19 12:09:44 +00:00
Dmitry Stogov 8b8f3599ad Fixed #45307 (define() crashes because of uninitialized variable) 2008-06-19 11:27:41 +00:00
Stanislav Malyshev 5e562853ff fix tests for builtin Zend functions using new parsing API 2008-06-18 23:45:36 +00:00
Stanislav Malyshev 58a673a909 Use new parameter parsing API for builtin functions 2008-06-18 23:38:37 +00:00
Steph Fox 5d4eed8f47 - inherited methods don't unixify paths along the way. Allow for it. 2008-06-18 16:48:18 +00:00
Steph Fox aa694b8b51 - Kill 10 MSVC compiler warnings due to type conflict
- Make cached manifest test platform agnostic
- Comment out zend_(init|destroy)_rsrc_list() and associated references

@Greg: cached manifest test (now) passes here regardless, make of that what you will
2008-06-18 15:06:50 +00:00
Etienne Kneuss 0f5ddaf4ce MFH: Rename everything from SplFastArray to SplFixedArray 2008-06-18 14:54:40 +00:00
Pierre Joye e5e9be2d1a - really fix the windows builds, don't cast many times when only the hash function requires void **
- copy/paste evilness with TSRM_CC/DC
(tests still pass but would be nice to speed them up...)
2008-06-18 10:20:47 +00:00
Etienne Kneuss 4e80cf8bac MFH: Fix #45216 (Add a default size for fgetss) 2008-06-18 10:05:29 +00:00
Dmitry Stogov 5429bfb518 Fixed SOAP binding selection 2008-06-18 07:23:58 +00:00
Greg Beaver cbe23b9f20 fix windows build and more performance jumps (these are minor)
implement real copy-on-write
use virtual_dirs for wrapper stat
2008-06-18 06:38:47 +00:00
Philip Olson 31bfce6f19 MFH: updated website team info 2008-06-18 05:20:02 +00:00
Raghubansh Kumar e70880d3b1 Committed for Felix De Vliegher, TestFest Task No: 123, Tested on RHEL5, WinXP 2008-06-17 13:14:45 +00:00
Raghubansh Kumar 0b5f3a1895 Committed for Felix De Vliegher, TestFest Task No: 122, Tested on RHEL5, WinXP 2008-06-17 13:14:19 +00:00
Zoe Slattery df3347debd Test committed for felixdv 2008-06-16 19:21:59 +00:00
Rob Richards 37ba76d23d MFH: add parameter allowing node to be exported into existing Document context [DOC]
add test
fix warnings
2008-06-16 15:45:06 +00:00
Greg Beaver d8d31bc591 remove unused variables in phar_fix_filepath
copy virtual_dirs to avoid segfault on multi-process
fix metadata reading for phar.cache_list
initialize manifest to exact size needed (performance increase)
fix freeing of signature on error to use the correct persist value (fixes segfault on error in cache.list)
reset EG(regular_list) so it is identical to how we found it
2008-06-16 04:10:53 +00:00
Greg Beaver 4e65a58146 fix hashtable creation for tar to be estimated size needed 2008-06-16 04:09:20 +00:00
Greg Beaver 03b9673ba2 fix hashtable creation for zip to be exact size needed, fix endian issue for loading manifest 2008-06-16 04:06:59 +00:00
Greg Beaver c353e9277e minor performance improvement 2008-06-15 23:00:46 +00:00
Greg Beaver 5e3f592d88 fix memleak 2008-06-15 22:51:46 +00:00
Greg Beaver 4104786072 another optimization - move inode hash to initial manifest parsing, improves runtime perf of stat slightly 2008-06-15 21:42:20 +00:00
Greg Beaver d8ed660a02 minor optimization 2008-06-15 21:15:29 +00:00
Felipe Pena 639d221df3 - Improved warning message to call-time pass-by-reference when used with internal function
(http://news.php.net/php.internals/38252)
2008-06-15 18:27:37 +00:00
Greg Beaver 04e257a8e1 HUGE speed improvement, from 19 req/sec to 27 req/sec for phpMyAdmin - now speed with apc+phar.cache_list = on-disk speedcvs diff -u |less This is by generating a list of virtual directories and using those in stat calls instead of scanning the whole manifest hash table. on-disk phpMyAdmin = 28 req/sec 2008-06-15 18:15:48 +00:00
Etienne Kneuss 04f211e38f MFH: Add tests for iterators when instanciated without argument (by Sebastian Schürmann) 2008-06-15 11:47:34 +00:00
Rob Richards 790f5ee062 MFH: fixed bug #45251 (double free or corruption with setAttributeNode())
add test
2008-06-14 11:22:57 +00:00
Felipe Pena c772aca929 - Fix build (ZTS) 2008-06-13 22:28:55 +00:00
Greg Beaver 4f9daeed11 [DOC] implement full signature support for tar-based archives. By default, data archives do
not have a signature, but can have one set via setSignatureAlgorithm()
2008-06-13 22:07:44 +00:00
Greg Beaver 5ff4deaa53 full refactor of signatures complete - now to implement them for tar as a starting point 2008-06-13 20:15:19 +00:00
Greg Beaver 09e1f0249e PHP_5_2 compat - add pestrndup if undefined 2008-06-13 15:59:13 +00:00
Zoe Slattery af55856d6e Commited for Sanjay, reviewed by Pierre. Testfest task 5. 2008-06-13 15:57:42 +00:00
Zoe Slattery f88ab53c3d Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 15:20:04 +00:00
Rui Hirokawa b202ef7494 MFH 2008-06-13 14:48:33 +00:00
Zoe Slattery bd2fbb9c79 Commited for Sanjay, reviewed by Pierre. Testfest task 79. 2008-06-13 13:49:40 +00:00
Zoe Slattery aa8f158276 Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 13:31:18 +00:00
Zoe Slattery 89d3bb2189 Commited for Sanjay, reviewed by Pierre. Testfest task 118. 2008-06-13 13:11:37 +00:00
Felipe Pena d61f32d021 - Fix build (ZTS) 2008-06-13 13:06:46 +00:00
Greg Beaver 9c8d13fd6c partial refactor - move signature verification into its own function, in preparation for tar/zip signature support.
next is signature creation
2008-06-13 06:34:41 +00:00
Matt Wilmas 0ff96ccc7c MFH: Add pestrndup() 2008-06-13 04:16:58 +00:00
Lars Strojny 622ac25e81 Testfest: putenv() safe_mode tests by Brian DeShong 2008-06-12 22:36:43 +00:00
Lars Strojny 709ac7c21f Testfest: various tests for ReflectionParameter 2008-06-12 21:41:21 +00:00
Lars Strojny f2326fbed0 Testfest test cases for ReflectionExtension 2008-06-12 21:25:08 +00:00
Lars Strojny 5a241ddfe0 Testfest: ReflectionExtension tests by Gerrit te Sligte and Leon Luijkx 2008-06-12 20:55:38 +00:00
Etienne Kneuss ee81b5a968 Add tests from testfest 2008-06-12 20:52:34 +00:00
Lars Strojny c26c072cba Testfest: ReflectionExtension::info()-test by Stefan Koopmanschap 2008-06-12 20:46:23 +00:00
Etienne Kneuss da68b946a1 Add tests from testfest 2008-06-12 20:46:12 +00:00
Lars Strojny 45f85f3840 Reflection::getModifierNames()-test by Felix De Vliegher (Testfest) 2008-06-12 20:31:06 +00:00
Greg Beaver 98f2dc2aca [DOC] add phar.cache_list, a PATH_SEPARATOR-separated list of full paths to phar archives to cache
at startup.  This caches the manifest, so that on first access to a phar archive, no file manifest parsing occurs.

This could use further tweaking.  For instance, the full copy of the manifest into the current process may be unnecessary if refcounting could be external
to the manifest.  This would be another significant gain.  With APC, I measure a slight perf increase to 19 req/sec up from 16 req/sec, without it approaches
regular PHP at 3.8 req/sec (regular is 4 req/sec).  This is benching phpMyAdmin
2008-06-12 18:56:23 +00:00
Greg Beaver 84eb9cc145 ensure we don't try to use an unitialized hash table 2008-06-12 18:46:58 +00:00
Antony Dovgal da022874c5 MFH 2008-06-12 12:40:13 +00:00
Antony Dovgal ca3e7643a6 fix build (noticed by Alexey Zakhlestin) 2008-06-12 10:31:22 +00:00
Greg Beaver 279771dc4b fix error messages 2008-06-12 04:57:24 +00:00
Felipe Pena cda2b20ae9 - New test 2008-06-11 22:40:13 +00:00
Antony Dovgal 47bce7e311 MFH 2008-06-11 22:36:28 +00:00
Dmitry Stogov 76a9a42ee2 - Removed direct executor recursion.
- Use fastcall calling convention in executor on x86.
2008-06-11 13:18:41 +00:00
Steve Seear bc29a3874d Filesystem tests. 2008-06-11 12:38:56 +00:00
Dmitry Stogov cafae0dc4b Fixed test 2008-06-11 10:08:14 +00:00
Dmitry Stogov 337ea89883 Fixed test 2008-06-11 09:58:32 +00:00
Dmitry Stogov 99933df5e2 closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:56 +00:00
Dmitry Stogov 8d260b6b71 Fixed memory leak 2008-06-11 07:45:44 +00:00
Dmitry Stogov f8c6965075 Fixed test 2008-06-11 06:30:09 +00:00
Philip Olson db7f3fe8c0 MFH: fixed imap_listscan() proto 2008-06-11 02:32:23 +00:00
Felipe Pena dc697bcea4 - Change E_COMPILE_ERROR to E_WARNING (for wrong visibility on magic methods) 2008-06-10 23:09:09 +00:00
Greg Beaver 4a62db4e6c new tests (forgot to add these earlier) 2008-06-10 19:23:09 +00:00
Greg Beaver 8b8a64a3e8 fix PHP Bug #45218: PHAR archive built from directory limited by max open file handles 2008-06-10 19:20:33 +00:00
Zoe Slattery 562cb168f1 Written by Sanjay Mantoor and reviewed by Pierre. 2008-06-10 18:29:48 +00:00
Greg Beaver d0734964ca fix memleak on error 2008-06-10 17:58:09 +00:00
Marcus Boerger 59b914c5e0 - BFN 2008-06-10 17:51:51 +00:00
Antony Dovgal d7d94aab53 fix typo 2008-06-10 08:14:52 +00:00
Etienne Kneuss 84ec12d36a add get_debug_info 2008-06-09 17:29:23 +00:00
Greg Beaver eb77b80b9d fix compile warnings if openssl is enabled statically. fix dangerous use of wrong length var in openssl signature verification 2008-06-09 16:07:18 +00:00
Antony Dovgal 88800451f3 MFH 2008-06-09 13:20:01 +00:00
Antony Dovgal db8a24d15a fix test 2008-06-09 09:26:03 +00:00
Pierre Joye 8b75c07bf1 - should not be called butlet remove it as well 2008-06-08 11:40:49 +00:00
Stanislav Malyshev 4f522eb576 allow aggregating use statements 2008-06-08 09:38:47 +00:00
Antony Dovgal f1b8d65790 MFH: more checks and tests 2008-06-07 21:36:13 +00:00
Antony Dovgal c80f146f81 add more tests (Felipe) 2008-06-07 14:10:42 +00:00
Antony Dovgal 5d6b1c6ead MFH 2008-06-07 14:09:06 +00:00
Antony Dovgal 344c076584 add new test 2008-06-07 12:49:35 +00:00
Antony Dovgal 83d26fc47d MFH: disallow $a[] = value syntax 2008-06-07 12:47:04 +00:00
Antony Dovgal b8bd4cbbc6 MFH 2008-06-07 08:05:55 +00:00
Etienne Kneuss e909912389 MFH: Fix segfault caused by get_current_data on an uninitialized element 2008-06-07 01:46:44 +00:00
Etienne Kneuss b5eaa1005a MFH: Implements C arrays wrapper 2008-06-06 23:53:43 +00:00
Antony Dovgal 6b68a94242 fix test 2008-06-06 07:45:51 +00:00
Christopher Jones b8e1d4d4e5 MFB: OCI8: Remove macros obsoleted by rev 1.55.2.3.2.11.2.1 when Oracle 8 support was dropped 2008-06-05 23:43:10 +00:00
Christopher Jones 19732456a1 MFB: sync with PECL 1.2.5 release 2008-06-05 23:41:35 +00:00
Christopher Jones b0885bb9a2 MFH: Make tests interruptible; clean up tables at start 2008-06-05 23:28:16 +00:00
Felipe Pena 0da88458e2 - Fixed bug #45186 (__call depends on __callstatic in class scope) 2008-06-05 18:53:06 +00:00
Felipe Pena 2af92fa836 - Fixed bug #45180 ('class::method' works differently than array('class', 'method')) 2008-06-05 18:50:29 +00:00
Felipe Pena 7ba0803964 - New tests 2008-06-05 18:33:00 +00:00
Rob Richards 604bfe4c0b MFH: fix test 2008-06-05 08:29:29 +00:00
Rob Richards 5e60f46159 MFH: rawurlencode now conforms to rfc 3986 (~ is not encoded) [DOC] 2008-06-04 19:35:15 +00:00
Felipe Pena a1bbc5698c - New test 2008-06-04 18:32:56 +00:00
Marcus Boerger 332d83555c - Make phar.phar building work for virtualized builds 2008-06-04 16:38:13 +00:00
Marcus Boerger ad8eb0f672 - Make sure we are not trying to pack directories 2008-06-04 14:36:33 +00:00
Marcus Boerger 376ca12a21 - Update 2008-06-04 09:47:41 +00:00
Marcus Boerger e8609b5199 - Use -n only for current built PHP 2008-06-04 09:47:17 +00:00
Marcus Boerger 350824478b - Improve pear usage and PHP_Archive detection 2008-06-04 09:46:34 +00:00
Antony Dovgal 2ac1ba6254 fix tests 2008-06-04 07:38:10 +00:00
Marcus Boerger c317ce0d67 - Prefer current CLI target to build phar.phar
- Use php -n
- Use shared phar, bz2, zlib automatically
2008-06-03 20:18:58 +00:00
Felipe Pena cc23d3bade - Fixed bug #45089 (__callStatic $name case sensitivity) 2008-06-03 18:11:12 +00:00
Scott MacVicar 2b60fdf976 Add snefru256 as an alias for snefru, since in reality that is the implementation. 2008-06-03 17:25:42 +00:00
Felipe Pena b368d34018 BFN 2008-06-03 17:17:29 +00:00
Felipe Pena 44b91c8b61 - Removed unnecessary XFAIL section 2008-06-03 17:10:21 +00:00
Felipe Pena 426a4cc2e6 - Fixed tests 2008-06-03 15:34:47 +00:00
Felipe Pena 6ff90104aa - New tests 2008-06-03 15:30:04 +00:00
Felipe Pena 402fb5285d - MFH: Fixed bug #44769 (declaring private magic methods should throw error) 2008-06-03 14:07:15 +00:00
Zoe Slattery fe0ef8b17c Tests from London test fest 2008 2008-06-03 12:42:22 +00:00
Marcus Boerger 040e19d9b2 - MFH Fix style 2008-06-02 16:58:19 +00:00
Marcus Boerger 4e61f63d3f - Remove checked-in or older version of phar.phar as we might not be able to open it 2008-06-02 15:50:42 +00:00
Marcus Boerger 159561e9da - Need to use a proper inheritance check 2008-06-02 15:49:03 +00:00
Scott MacVicar d06e683922 Correct test name 2008-06-02 14:14:26 +00:00
Jani Taskinen 80ce5fcdc5 - PCRE is always there, no need for this check anymore 2008-06-02 14:13:04 +00:00
Jani Taskinen f047195f55 MFH: simplify, readability 2008-06-02 14:12:20 +00:00
Marcus Boerger c60365e9b3 - Fix issue with -y parameter hanlding (fix typo) 2008-06-02 13:39:54 +00:00
Marcus Boerger 4f74e50c1b - Fix issue with -y parameter hanlding 2008-06-02 13:33:45 +00:00
Marcus Boerger cb0af1eeb8 - Fix issue with -y parameter hanlding 2008-06-02 13:24:15 +00:00
Scott MacVicar b83fbba9f3 Add sha224 support. 2008-06-02 12:24:23 +00:00
Jani Taskinen d652cec246 - Revert pointless patch: a) the version is already there, see line above,
b) one branch commits are idiotic to begin with, we have three active branches!
This only leads to out-of-sync situations ála PDO..
2008-06-02 11:23:16 +00:00
Matt Wilmas 572adc05e4 MFH: Initialize with length instead of 0 2008-06-02 11:20:59 +00:00
Antony Dovgal 779769563c fix uninitialized variable 2008-06-02 10:27:55 +00:00
Pierre Joye 57bcc16896 - reintroduce the x.y.z version string info (a bit nicer to make the other guy happier)
- silent warning (windows only and don't remove it, thanks)
2008-06-02 10:25:54 +00:00
Jani Taskinen 930d9e47c9 - Revert crap
# Someone should remove Pierre's karma too..
2008-06-02 08:46:41 +00:00
Pierre Joye 2528bd43fc - don't use openldap/portable and build the human readable version
- silent strdup redclaration warning
2008-06-02 06:48:35 +00:00
Pierre Joye 8290e3324a - add OpenLDAP version info in phpinfo (windows only, have to check if openldap/portable.h is present on linux headers) 2008-06-02 00:24:19 +00:00
Hannes Magnusson 49961368be Add arginfo & fix protos 2008-06-01 18:47:20 +00:00
Hannes Magnusson 0f6e76e502 fix arginfo and proto 2008-06-01 18:24:38 +00:00
Hannes Magnusson e610609556 Add arginfo & fix protos 2008-06-01 17:54:02 +00:00
Scott MacVicar 6b8b357bdc Back out the previous change as it broke the Windows builds. 2008-06-01 17:31:12 +00:00
Marcus Boerger 678a38e9ba - Make work with new API 2008-06-01 17:16:40 +00:00
Marcus Boerger 147eed53e2 - Fix signature handling (and remaining API change fixes) 2008-06-01 17:16:04 +00:00
Marcus Boerger aaf6b216ed - Fix docu 2008-06-01 17:14:48 +00:00
Scott MacVicar 938186a67f Fixed bug #45144 (ap_child_terminate() isn't available on threaded builds) 2008-06-01 16:08:52 +00:00
Scott MacVicar 42fd9b4005 Fix unexported symbols. Patch by Greg 2008-06-01 16:03:17 +00:00
Marcus Boerger c05c40cea4 - Add Openssl support 2008-06-01 07:39:06 +00:00
Greg Beaver 5fbeb235d2 add openssl signing support. This adds an extra parameter
for the contents of the exported private key to Phar->setSignatureAlgorithm, and expects the public key to be in
a file named blah.phar.pubkey in the same directory as the phar blah.phar.  This works with openssl static or
shared and fails gracefully if openssl is not present without adding a dependency. config.w32 needs updating to match config.m4 [DOC]
2008-06-01 04:21:26 +00:00
Felipe Pena 5050450f79 - MFB: Fixed bug #45139 (ReflectionProperty returns incorrect declaring class) 2008-06-01 03:11:38 +00:00
Marcus Boerger 4c2e05a6e7 - MFH Simplify 2008-05-31 20:30:27 +00:00
Marcus Boerger 28dd1f5f5e - MFH Add 'help commands' support 2008-05-31 20:24:34 +00:00
Marcus Boerger 631484e2c7 - Add phar command as installable command 2008-05-31 20:02:57 +00:00
Marcus Boerger ae0ee180ac - MFH Add pharcmd to default targets if present 2008-05-31 19:27:31 +00:00
Hannes Magnusson 72b3187d43 Add support for proxies (patch by Christopher Jones) 2008-05-31 19:05:19 +00:00
Marcus Boerger aa4e898fe5 - Add version comand 2008-05-31 18:40:05 +00:00
Marcus Boerger 1debfd2a15 - Add version comand 2008-05-31 16:40:55 +00:00
Marcus Boerger 8010892bf0 - MFH Fix function names after they have been refactored 2008-05-31 15:53:16 +00:00
Greg Beaver 3f0952cdf7 patch by Christopher Jones: use wget/fetch by default if available, correct typo/Errrrrorr in fetch.php 2008-05-30 23:42:50 +00:00
Greg Beaver 83e491b2c3 fix corrupted zips, fix postprocess for compressed zip file 2008-05-30 22:49:33 +00:00
Greg Beaver 8b600a72dc refactor function names for clarity. No functionality change 2008-05-30 22:38:46 +00:00
Pierre Joye 9ffc103c5a - not exported 2008-05-30 19:46:56 +00:00
Scott MacVicar 4ae8e34bf4 MFH Fixed bug #43261
(Use ^ as an escape character for Windows escapeshellcmd)
2008-05-30 16:56:57 +00:00
Matt Wilmas c1126cc5b6 MFH: Only check args once in php_array_diff_key/intersect_key, not on each iteration. This also makes sure ALL args are checked (pre-5.2.5 behavior)
- Also, use new hash_quick_del function where possible
2008-05-30 10:55:14 +00:00
Greg Beaver 4cc79b39b4 fix PECL bug #13981: Third-party zips fail entry interrogation 2008-05-29 17:34:50 +00:00
Andrey Hristov e49404929a Fix a bug that let PDO fail. It has been long fixed, but locally. Now I know
what it fixes :)
2008-05-29 15:49:32 +00:00
Matt Wilmas 87dca00a8e MFH: Fixed overflow crash (at least on Windows) in div_function with LONG_MIN / -1 2008-05-29 11:45:13 +00:00
Scott MacVicar 19322fc782 MFH: Fix bug when command is quoted and parameters are quoted during call to exec, the result is that cmd.exe /c strips the first and last quote. 2008-05-29 11:31:02 +00:00
Matt Wilmas fc6fa44097 Fixed tests on Windows 2008-05-29 07:32:03 +00:00
Stanislav Malyshev 370aafc62b Fix code path in phar_open_compiled_file() that tries
to open not-yet-loaded phar and fails on compressed files
# By Gregory's request
# Sorry, can't find how to write test case for that - it reproduces
# for me only under bytecode-caching. Suggestions welcome.
2008-05-28 21:42:21 +00:00
Felipe Pena 125e897348 - Added XFAIL section in tests to issue under discussion 2008-05-28 11:54:36 +00:00
Pierre Joye c1d5352069 - c/p evilness 2008-05-27 18:25:59 +00:00
Pierre Joye 3431c2e7c4 - [MFH] Add compiler informations on Windows (will add more info later, like x86 or x64 and makes it available in userland) 2008-05-27 18:23:56 +00:00
Ant Phillips ac253bab08 DOM tests from TestFest 2008-05-27 12:44:53 +00:00
Derick Rethans 17c284d522 - Updated to version 2008.3 (2008c) 2008-05-27 12:19:55 +00:00
Matt Wilmas 88adc05748 Regenerate 2008-05-27 11:28:18 +00:00
Matt Wilmas 7da75d81e7 MFH: Add array_init_size() and use it where array size is known at initialization 2008-05-27 10:29:33 +00:00
Scott MacVicar a2da2a91b1 MFH: DOM Tests from London Testfest 2008-05-27 10:21:21 +00:00
Antony Dovgal a591b8bdc8 fix typo 2008-05-26 11:33:38 +00:00
Zoe Slattery 0cf47e6f11 Added --XFAIL-- section 2008-05-25 16:05:04 +00:00
Hannes Magnusson 5b398bf78d Remove E_DEPRECATED from get_magic_quotes_*() 2008-05-25 14:06:15 +00:00
Etienne Kneuss 0cfdd9a7e0 MFH: Add a prepend param to spl_autoload_register 2008-05-25 12:22:38 +00:00
Etienne Kneuss 2882dde048 remove the skipif 2008-05-25 12:13:41 +00:00
Sebastian Bergmann bad8951dbc MFH: Drop SKIPIF check for ext/spl. 2008-05-25 06:05:57 +00:00
Etienne Kneuss 3623b134e1 New tests from testfest 2008-05-24 16:49:04 +00:00
Sebastian Bergmann 5d4b2d2a1c dos2unix 2008-05-24 15:55:19 +00:00
Sebastian Bergmann 88e6a3324b MFH: dos2unix 2008-05-24 15:22:21 +00:00
Etienne Kneuss d4aa83d273 MFH: Also register the get_iterator handler for Max/Min Heap 2008-05-24 14:38:04 +00:00
Sebastian Bergmann 0abd5bde20 MFH: Drop SKIPIF check for ext/spl. 2008-05-24 14:17:55 +00:00
Sebastian Bergmann 6577df9235 MFH: dos2unix 2008-05-24 14:14:28 +00:00
Sebastian Bergmann 3a4eb3e4a6 Drop SKIPIF check for ext/spl. 2008-05-24 14:10:44 +00:00
Sebastian Bergmann 30a8d14fbc Drop SKIPIF check for ext/reflection. 2008-05-24 13:34:22 +00:00
Etienne Kneuss 5f360ab9bf Add tests from testfest 2008-05-24 13:25:24 +00:00
Steph Fox 51967b91d5 "We shouldn't need a full path to the mount"
- Fixed under Windows, cleaned up test
2008-05-24 13:13:47 +00:00
Marcus Boerger 3be1a372a6 - MFH Add constants and new test (test from testfest.php.net) 2008-05-24 11:53:55 +00:00
David Coallier c37984b54f - Make use of a valid .phar pear installer 2008-05-24 01:30:48 +00:00
Robin Fernandes d2d61cac19 More basic ReflectionClass tests from Dutch TestFest. 2008-05-23 21:14:07 +00:00
Antony Dovgal e1cb67310c MFH 2008-05-23 19:10:39 +00:00
Antony Dovgal 8e6ea84fdd MFH: use bundled PCRE library when both yes & no passed as argument,
look for headers and the lib otherwise
2008-05-23 19:07:27 +00:00
Ilia Alshanetsky 33cb218c93 When dumping entire document to file via asXml() don't lose the encoding 2008-05-23 15:46:13 +00:00
Matt Wilmas cd62ae78b6 MFH: Fixed Windows build now that HAVE_INET_PTON is defined 2008-05-23 09:40:44 +00:00
Kalle Sommer Nielsen dd9fb9b0cd [DOC] enable inet_pton() and inet_ntop() on Windows 2008-05-22 22:06:15 +00:00
Robin Fernandes 066a330877 Basic ReflectionClass tests (from Dutch TestFest) 2008-05-22 21:53:59 +00:00
Greg Beaver 4b035dae5f major fixes
* found felipe's segfault in util.c and fixed the segfault (3 tests fail due to odd behavior of . and .. on this machine)
 * fixed serious flaws in the setting/resetting of is_data - now it works properly.  Assume
   all new PharData are tar-based, and allow passing Phar::ZIP to PharData constructor to override this
 * fix broken earlier commit, introduced segfault that broke 20 tests here
2008-05-22 06:33:09 +00:00
Felipe Pena e1bfc452d3 - Fix build (ZTS) 2008-05-21 22:52:30 +00:00
Greg Beaver 1f661c81c4 fix offset detection in tar files 2008-05-21 22:00:43 +00:00
Greg Beaver 79ae1c7273 fix convertTo\*() for same-named archives with no files 2008-05-21 20:24:40 +00:00
Pierre Joye 6fefac0c10 - fix test 2008-05-21 19:34:47 +00:00
Pierre Joye d23a449a36 - fix test 2008-05-21 18:56:05 +00:00
Pierre Joye bbc34ba14a - actually disable the ASSERT error dialog box (affects debug mode only), helps to run the tests and coverage analyze 2008-05-21 15:55:31 +00:00
Antony Dovgal a894ab2a00 MFH 2008-05-21 15:03:20 +00:00
Josie Messa a41e990b07 - Committing tests reviewed after London TestFest 08
- Credits to: Mike Sullivan and James Lewis
2008-05-21 15:00:59 +00:00
Antony Dovgal a07f828a91 MFH 2008-05-21 12:29:47 +00:00
Pierre Joye b734bf4b97 - sync with PECL HEAD 2008-05-21 09:27:41 +00:00
Etienne Kneuss 3681756cfb MFH: Fix path lookup when include_path is used 2008-05-20 21:46:51 +00:00
Antony Dovgal ba4a9de042 fix tests (say hello to disk C:\) 2008-05-20 14:53:58 +00:00
David Soria Parra 6e34cbfb90 Coding style 2008-05-20 13:28:57 +00:00
David Soria Parra d5befc743d MFH: Allow non-long values for proxy_port, connection_timeout and convert them 2008-05-20 13:16:47 +00:00
Dmitry Stogov 50983e372c proper fix 2008-05-20 07:41:35 +00:00
Greg Beaver 07d6758c86 relax conversion, so that if a phar has no files, we can convert it to another format without changing the extension 2008-05-20 03:56:35 +00:00
Greg Beaver 6eb453cb6b partial fix for Bug #44939, E_DEPRECATED warnings on pear install 2008-05-19 15:20:55 +00:00
Ilia Alshanetsky 01da46b1bb Fixed bug #45004 (pg_insert() does not accept 4 digit timezone format) 2008-05-19 15:16:47 +00:00
Steve Seear 2b20e3d914 Tests from PHP London TestFest 2008 2008-05-19 12:56:21 +00:00
Steve Seear ca2461626e Moving DOM tests to correct folder. 2008-05-19 12:48:18 +00:00
Steve Seear ca7712d70d Tests from PHP London TestFest 2008 2008-05-19 12:21:18 +00:00
Dmitry Stogov a125554657 Fixed win32 related realpath cache bug 2008-05-19 10:48:57 +00:00
Greg Beaver 0800b3b159 fix memleak, add test for previous segfault fix 2008-05-18 23:41:08 +00:00
Greg Beaver b149e8c0fa fix segfault, test coming shortly 2008-05-18 23:11:24 +00:00
Felipe Pena a8e5065f36 - Removed "short_open_tag" entry (the related patch was reverted) 2008-05-18 22:07:23 +00:00
Steph Fox 53fd21de33 - Keep 5_3 stub and creation files in sync with what I have in CVS HEAD
(MFB will likely be tomorrow now)
2008-05-18 20:52:34 +00:00
David Soria Parra fbc29e2848 Revert. 2008-05-18 19:48:40 +00:00
David Soria Parra 472b883cc6 Make mcrypt_enc_self_test() return value compatible with documentation and mcrypt _module_self_test() 2008-05-18 17:08:56 +00:00
Felipe Pena d90f689d73 - Making compatible with 64bit plataform 2008-05-18 15:42:09 +00:00
Ilia Alshanetsky 59ba4fcc96 Added missing INI handler 2008-05-18 14:35:13 +00:00
David Soria Parra 5dd18fed7a Wrong file 2008-05-18 14:28:19 +00:00
Etienne Kneuss 242f779fa1 MFH: Fix filesystemiterator with ./.. + add cloning tests 2008-05-18 12:17:43 +00:00
David Soria Parra 3e52aaf16d MFH: Tests from Munich PHP Testfest 2008 2008-05-17 23:29:14 +00:00
Greg Beaver 4aa4f1fabb enable by default statically instead of shared
this is done by removing zlib/bz2 explicit dependencies because they are unnecessary
we only ever use the stream filter, and the check for existence has
been moved to runtime where it is after startup
2008-05-17 20:07:22 +00:00
Greg Beaver d35f27b896 fix test (again) 2008-05-17 20:04:06 +00:00
Greg Beaver 22db0d3c83 fix test 2008-05-17 20:02:27 +00:00
Zoe Slattery f0955264a0 Tests from London test fest 2008 2008-05-17 11:20:55 +00:00
Zoe Slattery d7570b4671 Tests from Londn test fest 2008-05-16 17:13:42 +00:00
Dmitry Stogov a6ec1850e0 MFH: small CSE optimizations 2008-05-16 14:34:31 +00:00
Dmitry Stogov 23eb063f7a Make it backward compatibility 2008-05-16 14:33:52 +00:00
Felipe Pena 04a87d9f63 - Changed 'Z' to 's' (parameter parsing), the code didn't check if the parameter is a string. 2008-05-16 12:44:11 +00:00
Felipe Pena 60cd27b7f6 - MFH: Improved fix (used 's' in parameter parsing) 2008-05-16 12:18:43 +00:00
Felipe Pena 0668fd3328 - Added conversion to string. 2008-05-16 03:01:20 +00:00
Greg Beaver 57b3bba46e cosmetics 2008-05-16 00:11:42 +00:00
Greg Beaver a5ec4d5f2b as discussed on internals, enable phar by default for testing purposes.
Phar is enabled as a shared extension by default in order to allow zlib/bz2 to be built shared.  If phar is statically built,
both zlib and bz2 must be statically built in order for phar to use them, so default compile as shared is much more flexible
2008-05-16 00:01:56 +00:00
Greg Beaver 719beb79d4 add full metadata support for tar-based archives and test 2008-05-15 23:46:29 +00:00
Greg Beaver de5aaaa74c fix potentially major security hole: modification/creation of files in .phar directory enabled in many locations
which then allows easy creation of tar/zip-based phar archives with a simple rename even when phar.readonly=1.  Plug the hole very tightly, allowing read access to
files, and also excluding them from opendir() output
2008-05-15 16:09:01 +00:00
Greg Beaver 8cc335a0da make test OS-agnostic 2008-05-15 14:01:30 +00:00
Steph Fox 93183728d2 - Fix test, add a couple of new ones
@Greg: it seems we covered it already ;)
2008-05-15 12:37:45 +00:00
Zoe Slattery 229bcbdfc6 Tests from London test fest 2008 2008-05-15 12:23:47 +00:00
Steph Fox 6a0682d986 - MFH
- Make internal code forward-compatible. This included a binary cast in the default stub, hence test updates.
2008-05-14 21:29:51 +00:00
Antony Dovgal b3b5126954 fix test names 2008-05-14 13:04:05 +00:00
Felipe Pena f6cc283d46 - MFH: Add check for avoid segfault when trying instantiate PDORow manually 2008-05-14 12:32:21 +00:00
Elizabeth Marie Smith 7d4dfa8ee4 Windows configure fixes, a few additional lib names allowed, apache2 only on for zts builds since apache on win is always threaded, isapi no longer stops configure in non-zts mode, look for _debug for debug libraries when debug is enabled 2008-05-14 03:13:17 +00:00
Felipe Pena 6552d91743 - Fixed tests (added default_charset=) 2008-05-13 19:17:17 +00:00
Greg Beaver 9b5b694c92 fix test 2008-05-13 18:06:55 +00:00
Felipe Pena 613f2d2afc - Added SKIPIF 2008-05-13 14:49:06 +00:00
Steph Fox 4d169ebcfc - Allow broken.dirnames to use phar too
- Add test
- Kill MSVC compiler warning
2008-05-13 14:11:24 +00:00
Christopher Jones 4e12fa4a25 MFH: New/updated tests 2008-05-13 00:05:09 +00:00
SVN Migration 16b4d8e0e1 This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2008-05-12 21:03:49 +00:00
Felipe Pena e35c457913 - New tests 2008-05-12 17:57:21 +00:00
Antony Dovgal c144bdb43c MFH 2008-05-12 15:31:08 +00:00
Felipe Pena d9d47f3718 - New tests 2008-05-12 14:58:31 +00:00
Felipe Pena 5c2ff40433 - MFH: New tests 2008-05-12 13:31:36 +00:00
Felipe Pena c5e80819ba - Fixed test 2008-05-12 11:15:32 +00:00
Dmitry Stogov af1ed80274 Fixed bug #44952 (isset() does not checks correctly variable variable) 2008-05-12 09:09:05 +00:00
Antony Dovgal ea62779338 MFH: revert patch that causes invalid reads/crashes on Linux 2008-05-12 08:47:01 +00:00
Dmitry Stogov 907fa66507 Added API to use namesapces in internal extensions 2008-05-12 07:11:55 +00:00
Matt Wilmas 77feabfc71 MFH: Fixed test after fixing bug #44830 2008-05-12 05:08:49 +00:00
Felipe Pena f6c57d1f6f - MFH: New tests 2008-05-11 22:44:56 +00:00
Matt Wilmas 2a8a4bd860 MFH: Fixed error message typo 2008-05-11 11:46:44 +00:00
Sebastian Bergmann b5281c79b5 MFH: Add tests for ReflectionFunction::getExtension*(). 2008-05-11 04:57:09 +00:00
Sebastian Bergmann 9aa57f051c MFH: dos2unix *.phpt 2008-05-11 04:53:18 +00:00
Felipe Pena e4c7664158 - MFH: New tests 2008-05-11 03:50:28 +00:00
Matt Wilmas c83d916a98 MFH: Restore end check for "escape" strings 2008-05-10 09:17:29 +00:00
Matt Wilmas 3fbe0f1457 MFH 2008-05-09 14:41:16 +00:00
Felipe Pena bcccfa6bf1 - New tests 2008-05-09 14:16:24 +00:00
Steve Seear d88eb15159 Added a script that generates phpt test coverage information for functions and methods. 2008-05-09 13:21:49 +00:00
Scott MacVicar 96a20f9aed MFH: Fix compile error if _GNU_SOURCE is defined 2008-05-09 12:59:16 +00:00
Steph Fox a439cc70c6 - s/rmdir/rd
- Patch supplied by Richard Quadling
2008-05-09 11:20:09 +00:00
Matt Wilmas 29cbfbd1e7 MFH: Test for loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc) 2008-05-09 11:06:29 +00:00
Matt Wilmas c4e406d24d MFH: Fix loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc) 2008-05-09 10:27:51 +00:00
Matt Wilmas 805b6dd3b5 MFH: Fixed bug #44681 (Resources used as array keys get converted to 0) 2008-05-09 09:23:03 +00:00
Ant Phillips 863d975196 Collect all the open_basedir security tests into one place 2008-05-09 08:39:44 +00:00
Felipe Pena 3e56d46fa1 - Use PHP_DEP_FE and PHP_DEP_FALIAS (magic_quotes related functions) 2008-05-08 22:21:19 +00:00
Felipe Pena 1e650ca32d - MFH: Fixed detection of invalid class name 2008-05-08 18:51:28 +00:00
Felipe Pena 3725d115a8 - MFH: Fixed data size 2008-05-08 18:28:25 +00:00
Etienne Kneuss 03463d557b Sync spl tests with HEAD 2008-05-08 12:02:17 +00:00
Dmitry Stogov 1f3a661337 Fixed test 2008-05-08 09:15:38 +00:00
Antony Dovgal 4291646858 fix test 2008-05-08 07:09:10 +00:00
Matt Wilmas 01afb02bad Fix build 2008-05-08 04:23:26 +00:00
Ilia Alshanetsky 9c63b618dd Kill unused vars 2008-05-07 23:45:28 +00:00
Hannes Magnusson 3dfa7349ad new ini_get_all() parameter 2008-05-07 20:04:05 +00:00
Antony Dovgal 046e79ddb5 MFH 2008-05-07 16:01:37 +00:00
David Coallier 70518d4aa1 - Added NEWS item for fixation of bug 44811 2008-05-07 15:27:25 +00:00
Antony Dovgal a4e272c241 rename the test 2008-05-07 15:23:31 +00:00
David Coallier c5b386b8a3 - Fixed bug #44811 (Improve error message when creating a new SoapClient that contains invalid data) 2008-05-07 15:23:10 +00:00
Andrey Hristov 8256272540 Update mysqlnd 2008-05-07 15:14:26 +00:00
David Coallier fb2ae8ee73 - Bug #44811 (Improved error message for creating invalid new SoapClient) 2008-05-07 15:14:16 +00:00
Felipe Pena fd4e87c5d4 - New tests 2008-05-07 14:10:03 +00:00
Dmitry Stogov 5521912b15 Use IS_CV for dirrent access to $this variable 2008-05-07 12:04:39 +00:00
Etienne Kneuss 06cef68307 Add consistency with the flag 2008-05-06 23:08:06 +00:00
Ilia Alshanetsky f5a90feff0 Fixed bug #44836 (putenv() crashes, avoid direct reference of environ in
POSIX systems)

# Original patch by delphij at FreeBSD dot org
2008-05-06 18:01:32 +00:00
Andrey Hristov 259b652b2e Make mysqli compilable in a 5_2 environment. Some want to use mysqlnd+mysqli
with 5_2. This won't hurt 5_2 in any way. Won't be MFB-ed because HEAD is
completely different.
2008-05-06 17:05:14 +00:00
Dmitry Stogov 0639a847ce Use lazy symbol table initialization for op_arrays called from internal php functions 2008-05-06 17:00:56 +00:00
Dmitry Stogov 10aa1146ab Fixed possible memory leak 2008-05-06 16:59:38 +00:00
Dmitry Stogov 833e01343d GC fix 2008-05-06 16:03:16 +00:00
Kalle Sommer Nielsen ec4c40aa00 Fixed odd errors caused by last commit 2008-05-06 11:59:00 +00:00
Kalle Sommer Nielsen ed7e0c0dff * Changed php_*h() to be static
* Changed NEWS entry to be say 'native' insted of 'Windows' (ref. *h())
2008-05-06 10:55:49 +00:00
Dmitry Stogov f852ae4985 Regenerate zend_vm_execute.h 2008-05-06 09:41:39 +00:00
Rasmus Lerdorf ee4a691627 There is no domainname element in utsname on OSX 2008-05-05 21:26:46 +00:00
Antony Dovgal a00f016648 add atanh() for real 2008-05-05 11:28:11 +00:00
Dmitry Stogov 1b317f1526 - Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR)
- Fixed bug #44913 (Segfault when using return in combination with nested loops
and continue 2)
2008-05-05 11:03:35 +00:00
Derick Rethans af371c9f5e - Fixed build. 2008-05-05 10:09:54 +00:00
Dmitry Stogov 5a0253c14c Support for old-style constructors in namespaces 2008-05-05 09:44:39 +00:00
Kalle Sommer Nielsen f61731874a Merge PHP_5_3 - Implemented Windows support for asinh(), acosh(), atanh(), log1p() and expm1()
[DOC] Merge_5_3
2008-05-05 07:29:41 +00:00
Etienne Kneuss 94697acff9 MFH: Fix protos 2008-05-04 21:17:33 +00:00
Derick Rethans f533671711 - MFH: Added support for "<xth> <weekday of" and "last <weekday> of" phrases to
be used with months - like in "last saturday of februari 2008".
2008-05-04 20:52:56 +00:00
Rob Richards 87922550b0 MFH: fix bug #44891 Memory leak using registerPHPFunctions and XSLT Variable 2008-05-04 15:14:23 +00:00
Antony Dovgal 7633511047 fix compile warnings 2008-05-04 11:26:50 +00:00
Derick Rethans c06ab8ca23 - MFH: Added support for using ISO 8601 time intervals to define a DatePeriod
iterator.
#- @doc
2008-05-04 10:00:01 +00:00
Antony Dovgal b5b865e667 MFH: fix folding 2008-05-04 09:34:16 +00:00
Steph Fox fe4a9a3fc4 - Introducing nmake clean-all
- This should probably be merged with nmake clean, but I've no way to test the impact on distro builds.
2008-05-03 21:12:55 +00:00
Zoe Slattery 09aa62229a Committing corrected test from Eric Stewart 2008-05-03 20:36:36 +00:00
Felipe Pena 5bab5da3f3 BFN: #44899 2008-05-03 16:11:56 +00:00
Etienne Kneuss 57b8e83945 MFH: Fix #44484 (define SimpleXMLElement::__toString()) 2008-05-03 15:09:37 +00:00
Derick Rethans 04929019d2 - Tabs to spaces. 2008-05-03 11:08:09 +00:00
Derick Rethans c36edb6a20 - Added support for using an end date to limit the amount of recursions
with the DatePeriod iterator.
#- @doc
2008-05-03 10:59:36 +00:00
Derick Rethans 76708f3c2e - MFH: Fixed weekdays adding/subtracting algorithm. 2008-05-03 10:04:37 +00:00
Felipe Pena a578b0cbcc - MFH: Fixed bug #44899 (__isset usage changes behavior of empty()) (patch by Etienne Kneuss) 2008-05-03 00:38:55 +00:00
Antony Dovgal a72b8f96ed fix build 2008-05-02 23:05:05 +00:00
Derick Rethans eb64b777fa - MFH: Fixed an issue in date() where a : was printed for the O modifier after
a P modifier was used.
2008-05-02 21:33:05 +00:00
Derick Rethans d725401987 - Fix for bug #44870: rename() on directory deletes same named file. (Patch by
Pierre)
2008-05-02 14:07:26 +00:00
Elizabeth Marie Smith 3adf07b5c6 Fix reflection (always static, never shared) and disable turning off pcre and spl (also always static, never shared) 2008-05-02 14:05:53 +00:00
Lars Strojny 0bc6920f66 Hard enabling it for Windows, readding define for UNIX [DOC] 2008-05-02 13:11:45 +00:00
Lars Strojny 7309946677 Hard enabling ext/reflection on UNIX too [DOC] 2008-05-02 13:05:42 +00:00
Derick Rethans 149848846d - MFH: Added DateInterval::createFromDateString() that creates an interval
from the relative parts of a date/time string.
- MFH: Fixed an issue where special relative bits were not applied.
2008-05-02 12:49:16 +00:00
Derick Rethans 97b37f253c - MFH: Rearranged some structures to allow for more powerfull period/intervals. 2008-05-01 16:15:45 +00:00
Derick Rethans 1b435af326 - MFH: Include the starting date by default in the iterator output, but add an
option to disable this behavior.
2008-05-01 13:31:22 +00:00
Ant Phillips 495ed877fc open_basedir tests for directory functions 2008-05-01 12:36:46 +00:00
Ant Phillips 98e6f9f954 open_basedir tests for directory functions 2008-05-01 11:46:18 +00:00
Derick Rethans 8c5274f479 - MFH: Added the DatePeriod class/iterator that iterates over a date time
object for a specific number of iterators and applies a DateInterval each
  time.
@DOC: More will follow though
2008-05-01 00:12:24 +00:00
Ant Phillips ad93b947a2 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 15:20:18 +00:00
Ant Phillips 90c2cd0c37 Break up complicated rename tests into some smaller more consumable chunks 2008-04-30 13:53:52 +00:00
Dmitry Stogov 3adf158d79 IS_CONST operands are always have is_ref==1 and refcount==2, so we can eliminate unnecessary checks at specialization/compilation stage 2008-04-30 10:44:08 +00:00
Ant Phillips c55db17098 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 09:28:02 +00:00
Antony Dovgal cacce6bc65 fix spelling 2008-04-29 13:50:27 +00:00
Dmitry Stogov 28b7529012 Fixed GC slowdown 2008-04-29 13:43:31 +00:00
Ant Phillips cdf5621b50 More session tests to improve code coverage for untested extension code 2008-04-29 09:24:19 +00:00
Dmitry Stogov 3a86a06619 Added missing lazy initialization 2008-04-29 09:18:26 +00:00
Ant Phillips 52af9124b5 More session tests to improve code coverage for untested extension code 2008-04-29 08:57:09 +00:00
Dmitry Stogov 2ecf4bb0a7 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:20 +00:00
Antony Dovgal c75658c477 MFH 2008-04-29 08:08:21 +00:00
Antony Dovgal 4489851424 fix test 2008-04-29 07:26:46 +00:00
Greg Beaver cac1fd72ea fix erroneous use of php_resolve_path in _php_stream_wrapper_open_ex - this breaks require/include for all extensions that intercept zend_resolve_path 2008-04-28 22:39:54 +00:00
Greg Beaver c46d651b3e Fixed potentially confusing error message on failure when no errors are logged 2008-04-28 22:37:31 +00:00
Scott MacVicar f930028751 Fix windows build 2008-04-28 13:21:34 +00:00
Jani Taskinen 69e6d23ec5 - Fix test even if safe_mode is forced to be "On" in the binary 2008-04-28 12:30:24 +00:00
Derick Rethans 357292a098 - MFH: Fixed "this week", "previous week"/"last week" and "next week" phrases
by actually meaning the week.
#- MFH: For now the week starts on Monday, but I plan on making that
#  configurable.
2008-04-27 19:14:33 +00:00
Derick Rethans 2047fa858c - Added new date/time functionality:
. support for diffing date/times through date_diff() / DateTime::diff().
  . added DateInterval class to represent the difference between two date/times.
  . support for parsing ISO intervals for use with DateInterval.
  . date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an
    interval to an existing date/time.
- MFH: Fixed bug #44742 (timezone_offset_get() causes segmentation faults).
2008-04-25 12:35:58 +00:00
Ant Phillips c173b0454c Extra open_basedir tests 2008-04-24 16:40:54 +00:00
Steph Fox d19418e53c - re2c requirement update
(sorry, I thought I'd committed this ages ago)
2008-04-24 16:04:59 +00:00
Dmitry Stogov 8fac72574d Optimized handlers for ZEND_RECV and ZEND_RECV_INIT opocdes 2008-04-24 15:45:46 +00:00
Andrey Hristov f4e659d2af Update ext/mysql's and ext/mysqli's tests
Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in
mysqlnd builds as libmysql doesn't support this feature.
2008-04-24 14:22:19 +00:00
Ant Phillips 2667f76d7b Allow for chmod() to fail on symbolic links 2008-04-24 13:58:26 +00:00
Pierre Joye 9fecb8fa60 - MFH: improve test and remove files on exit 2008-04-24 08:45:35 +00:00
Dmitry Stogov 1303c45e02 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:45:01 +00:00
Johannes Schlüter 1a419cac12 - MFH: Fix Windows build 2008-04-23 16:56:51 +00:00
Ant Phillips 9ae3ae064f open_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches) 2008-04-23 14:10:15 +00:00
Ant Phillips 57e0d2acec These tests were backported from the PHP 6.0 branch, which in turn were ported from this branch and then updated to remove any dependencies on register_globals. With register_globals removed they are useful tests to run against the 5.X branches. 2008-04-22 16:04:31 +00:00
Ant Phillips 79b73d1218 New set of session extension tests for PHP 5.3 branch.
These hopefully test a reasonable set of basic, error and variations for
the twenty or so session functions. Note however that they do not
test all the session configuration settings, nor do they test anything
with register_globals enabled.
2008-04-22 16:04:30 +00:00
Robin Fernandes 5cb8dd8040 Fix some ereg tests for 64bit platforms. 2008-04-22 15:31:57 +00:00
Antony Dovgal 823b31d30c fix tests 2008-04-22 13:31:25 +00:00
Ilia Alshanetsky 3bcf8a3d00 Added a warning message on pdo::exec() failure in the event of an empty query 2008-04-22 13:01:45 +00:00
Antony Dovgal 4c4542e0d5 add news entry 2008-04-21 15:42:26 +00:00
Antony Dovgal 7c98e674b5 [DOC] add hash_copy() to be able to copy hash resource 2008-04-21 15:37:46 +00:00
Ilia Alshanetsky 30437c1241 Fixed error verbiage and free function_name on success 2008-04-21 14:32:57 +00:00
Dmitry Stogov e4213bedb8 Optimized function call helper 2008-04-21 10:14:20 +00:00
Ilia Alshanetsky 239fa7f79f Fixed a bug #44403 (register_tick_function() does not check for a valid callback) 2008-04-20 15:07:39 +00:00
Felipe Pena 6bf6541b62 - Fixed tests 2008-04-20 02:06:20 +00:00
Felipe Pena 408bb1e48d - Better error message 2008-04-20 01:44:16 +00:00
Felipe Pena 3d2a5940a2 - New tests 2008-04-18 14:05:47 +00:00
Christopher Jones dfe7affab5 Set extension status back to dev 2008-04-18 02:34:42 +00:00
Christopher Jones 0a6fb9085e Update description 2008-04-18 02:33:59 +00:00
Christopher Jones 08eaa56798 MFH
Code:
  - Do scope-end release for oci_pconnect (oci8.old_oci_close_semantics=1 gives old behavior)
  - Fix session reuse with 10.2 client libs
  - Fix the Ping macro version check for 10.2
  - Add type check associated with zend_list_find
  - Code connection re-organized for reuse
  - Format comments
  - WS changes
  - Prepare for new PECL release
Tests:
  - Add new tests
  - Rationalize password tests
  - Revert use of __DIR__ so tests will work with PHP 5.2
  - Update some skipifs to make tests more portable
2008-04-18 00:05:27 +00:00
Rob Richards de34e87000 BFN 2008-04-17 20:23:49 +00:00
Rob Richards 18b63c9d58 MFH: fix bug #44648 (Attribute names not checked for wellformedness)
add test
fix some warnings
2008-04-17 20:21:04 +00:00
Felipe Pena 8f2c31a171 - New test 2008-04-17 18:16:17 +00:00
Felipe Pena 08d56fca4c - Fixed typo 2008-04-17 11:08:13 +00:00
Dmitry Stogov fcaa1c6d86 Fixed bug #44226 (Throwing an exception causes crash in multithreaded SAPI) 2008-04-17 10:21:38 +00:00
Ilia Alshanetsky 683aa8d1cc Hash extension is no longer experimental 2008-04-16 21:53:41 +00:00
Antony Dovgal ac6310550f MFH: use new parameter parsing API 2008-04-16 14:21:04 +00:00
Antony Dovgal 00e406ec41 plug minor memleak 2008-04-16 13:20:59 +00:00
Andrey Hristov de560f3161 MFB: Update CVS from the development tree 2008-04-16 12:57:38 +00:00
Zoe Slattery 0a3a57bc05 Changes to the code that generates variations (Robin & Josie) 2008-04-15 19:50:13 +00:00
Elizabeth Marie Smith ba02e9ae64 These are really old config.w32 files - now they use PHP_PHP_BUILD correctly instead of hard coding the path to the libraries 2008-04-15 16:55:53 +00:00
Gwynne Raskind acfc6bd9e1 MFH: force use of BSD sed for OS X hack (patch by Alexey Zakhlestin) 2008-04-15 16:31:36 +00:00
Dmitry Stogov e8b485d077 Selected better initial VM stack size 2008-04-15 15:52:36 +00:00
Ilia Alshanetsky 753529325e MFB: Fixed bug #44034 (FILE_IGNORE_NEW_LINES in file() does not work as
expected when lines end in \r\n)
2008-04-15 15:48:20 +00:00
Antony Dovgal 7f03b0550f MFH: remove -ldl 2008-04-15 12:47:33 +00:00
Dmitry Stogov ba8e3174ce Optimized request startup sequence for php.ini without per dir and per host configurations 2008-04-15 11:31:58 +00:00
Jani Taskinen 8401580c37 MFH 2008-04-15 09:02:40 +00:00
Jani Taskinen 85ad3851e9 MFH 2008-04-15 08:44:21 +00:00
Scott MacVicar 944061ba37 Fixed bug #44720 (Prevent infinite recursion within session_register) 2008-04-15 00:59:04 +00:00
Ilia Alshanetsky f0563a2068 Fixed test 2008-04-14 23:17:30 +00:00
Steph Fox 5d9e5bbd8d - Workarounds are no longer needed - thanks PECLers! 2008-04-14 17:55:02 +00:00
Felipe Pena 1cb417edd7 - Fixed test 2008-04-14 17:24:11 +00:00
Hannes Magnusson 5b4aad0cf0 Use PHP to fetch the pear phar 2008-04-14 16:56:50 +00:00
Etienne Kneuss 8664b5dc68 MFH: Fix dns_check_proto (related to #44723) 2008-04-14 16:50:11 +00:00
Hannes Magnusson f0b7073308 [DOC] Remove config_get_hash() & and add new boolean parameter to ini_get_all()
to list ini entries key=>current_value like config_get_hash() did.
2008-04-14 15:32:42 +00:00
Hannes Magnusson 72080950ab Fixed bug#44716 (Progress notifications incorrect) 2008-04-14 12:16:07 +00:00
Hannes Magnusson ef78497f78 MFH: Add "params" argument to stream_context_create() 2008-04-14 08:15:11 +00:00
Antony Dovgal eb5afe0eda fix ZTS build and sync with HEAD 2008-04-14 07:49:00 +00:00
Hannes Magnusson 5fcd85240b Fixed bug#44712 (stream_context_set_params segfaults on invalid arguments) 2008-04-13 22:35:27 +00:00
Greg Beaver e668dc629b do not scan include_path with faulty plain_wrapper-based include_path fopen
# _fopen_with_path_rel probably needs to call out to regular php_stream_open, for exts that use it (it is exported)
2008-04-13 22:19:10 +00:00
Greg Beaver 217b911d0e fix test 2008-04-13 21:27:18 +00:00
Ilia Alshanetsky 5cbecbe535 Kill unused var 2008-04-13 12:25:15 +00:00
Zoe Slattery fbd21a5d01 Fixing:
(1) remove proto from start
(2)substitute "Done" with ===DONE== after closing tag in FILE section and at end of EXPECTF.
(3) Remove "add comment here..."
2008-04-13 10:46:12 +00:00
Hannes Magnusson 5881476266 MFH: Update URL for go-pear 2008-04-11 21:57:58 +00:00
Felipe Pena fce4f9600e MFB: Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument) 2008-04-11 19:06:12 +00:00
Dmitry Stogov ae3295e1b9 Speedup GC initialization 2008-04-11 17:31:53 +00:00
Robin Fernandes ad534b35c1 Fix test parse_url_variation_002.phpt for 64bit platforms. 2008-04-11 14:35:06 +00:00
Antony Dovgal f5a7642277 fix tests 2008-04-11 11:05:56 +00:00
Antony Dovgal c300f98ee0 MFH: fix 2 segfaults in ZTS mode 2008-04-11 11:00:03 +00:00
Dmitry Stogov d9dd1b9e14 Optimized ZEND_RETURN opcode to not allocate and copy return value if it is not
used.
2008-04-11 09:43:28 +00:00
Steve Seear ca3391f44c POSIX extension error tests 2008-04-11 09:33:08 +00:00
Steve Seear d096787fbf POSIX extension variation tests 2008-04-11 09:28:07 +00:00
Robin Fernandes bcd9a07d6c Adding some tests for ereg and url functions. 2008-04-11 08:57:17 +00:00
Marcus Boerger 7b22726093 BFN 2008-04-11 08:35:54 +00:00
Marcus Boerger aa64c6727c - MFH No longer allow to disable pcre 2008-04-10 19:42:32 +00:00
Nuno Lopes 7507ff326e fix heredoc+nowdoc
#patch by Matt Wilmas
2008-04-10 19:19:04 +00:00
Nuno Lopes 93c676992d add SKIPIF
# Patch by Christian Hoffmann
2008-04-10 19:13:59 +00:00
Nuno Lopes 8dc8b63cca fix SKIPIFs
# Patch by Christian Hoffmann
2008-04-10 18:50:42 +00:00
Philip Olson 5b69959a92 MFH: Updated the documentation credits 2008-04-10 05:31:53 +00:00
Ilia Alshanetsky 4534cd6807 WS 2008-04-09 23:35:19 +00:00
Nuno Lopes cfc1756221 fix the yyless() definition to match flex one and revert part of last patch (so that it remains similar with flex's scan) 2008-04-09 22:01:20 +00:00
Marcus Boerger 26f7d6e48b - MFH SPL can no longer be disabld as discussed some time ago (checked back with RM) 2008-04-09 21:53:00 +00:00
Scott MacVicar 6f20cea6d8 Fixes to heredoc and cleanup of new re2c scanner. (Patch by Matt Wilmas) 2008-04-09 20:50:58 +00:00
Etienne Kneuss 54b70b6015 MFH: Fix #44511 (Ensure no exception was already thrown by php_stream_opendir) 2008-04-09 19:01:12 +00:00
Felipe Pena e3040a0815 MFB: Fixed bug #44678 (spliti error message includes wrong function name) 2008-04-09 13:51:09 +00:00
Dmitry Stogov 9412a49006 Fixed bug #44673 (With CGI argv/argc starts from arguments, not from script) 2008-04-09 09:16:51 +00:00
Dmitry Stogov dfacfae34a Bug #44653 (Invalid namespace name resolution) 2008-04-09 08:55:45 +00:00
Jani Taskinen a27b306d25 MFH: Missing basic single ini file test (bug #44574) 2008-04-08 12:33:54 +00:00
Jani Taskinen ee42eca5d8 - Generated with re2c 0.13.4 2008-04-08 12:17:04 +00:00
Jani Taskinen 9646a59ac0 - Fix test. 2008-04-08 12:00:15 +00:00
Jani Taskinen 04ea6d79d5 MFH:- Fixed bug #44667 (proc_open does not handle pipes with the mode "wb" correctly) 2008-04-08 08:42:24 +00:00
Andrey Hristov 46e3d3a4d8 Fix snapshot build 2008-04-08 07:45:49 +00:00
Ilia Alshanetsky f728678bb8 Fixed bug #44663 (Crash in imap_mail_compose if "body" parameter invalid) 2008-04-08 00:01:48 +00:00
Christopher Jones df86a8d398 Test updates 2008-04-07 21:55:53 +00:00
Christopher Jones 9389c68310 Fix OCIPing 10.2 macro 2008-04-07 21:55:43 +00:00
Christopher Jones 51c5220adb PECL #13523 (x86_64 build). Make OCI8 buildable with PHP 4.3.9. 2008-04-07 21:55:20 +00:00
Christopher Jones 6522f85412 MFH: Add E_DEPRECATED comment 2008-04-07 21:24:04 +00:00
Derick Rethans 0fe9a18758 - Reset back to 0.13.4 now that it released. 2008-04-07 17:55:21 +00:00
Derick Rethans e22155e848 - MFH: Fixing returned offset.
- MFH: Algorithm optimization.
2008-04-07 17:44:03 +00:00
Derick Rethans e64dc309f9 - MFH: Fixed test cases. 2008-04-07 17:41:58 +00:00
Antony Dovgal b021e04c0e MFH: fix test 2008-04-07 12:14:04 +00:00
Scott MacVicar 878230cfbb Fixed bug #44609 (Dollar in ini variables are not parsed correctly) 2008-04-07 11:39:14 +00:00
Etienne Kneuss a1e0945143 MFH: Implement forward_static_call(_array) to complete LSB. Patch by Mike Lively 2008-04-07 10:44:59 +00:00
Marcus Boerger 8f670912a3 - MFH add new tests 2008-04-06 17:53:31 +00:00
Ilia Alshanetsky 8d8e9d273b Fixed bug #44603 (Order issues with Content-Type/Length headers on POST) 2008-04-06 15:21:24 +00:00
Felipe Pena 235770b27f - HEREDOC syntax with double quotes 2008-04-05 23:50:21 +00:00
Felipe Pena b9d13d8f17 - Allow HEREDOC syntax with double quotes
(http://wiki.php.net/rfc/heredoc-with-double-quotes)
2008-04-05 22:29:08 +00:00
Felipe Pena 14b2f7606b MFB: Fixed bug #44591 (imagegif's filename parameter). 2008-04-04 17:42:18 +00:00
Nuno Lopes b41fd6150c remove redundant test for file size 2008-04-04 15:34:39 +00:00
Nuno Lopes bfcdbbcd33 add sanity checks for ZEND_MMAP_AHEAD and reduce the value from 32 to 16 (lowest safe value) 2008-04-04 15:01:23 +00:00
Joe Orton c3474b9116 MFH: Fixed bug #32979 (OpenSSL stream->fd casts broken in 64-bit build)
(stotty at tvnet dot hu)
MFH: Fix another case of a broken stream->fd cast in 64-bit builds.
2008-04-04 13:02:48 +00:00
Antony Dovgal 6157fc7681 MFH: fix folding 2008-04-04 07:47:58 +00:00
Dmitry Stogov 9e4d03885e - Fixed possible stack buffer overflow in FastCGI SAPI. (Andrey Nigmatulin)
- Fixed sending of uninitialized paddings which may contain some information.
  (Andrey Nigmatulin)
2008-04-03 10:24:58 +00:00
Ilia Alshanetsky d9253f7424 Fixed bug #44613 (Crash inside imap_headerinfo()) 2008-04-02 16:26:39 +00:00
Antony Dovgal aa555ca0a9 MFH 2008-04-02 14:56:21 +00:00
Antony Dovgal e96d5501f8 MFH: initialize variable 2008-04-02 14:35:29 +00:00
Felipe Pena 378dacf99f Typo 2008-04-01 18:48:11 +00:00
Christopher Jones fc1ad96953 Use new version macro. Make code portable to older PHP versions 2008-04-01 18:37:32 +00:00
Ilia Alshanetsky 7f9d35ebf7 Fixed bug #44594 (imap_open() does not validate # of retries parameter) 2008-04-01 18:28:45 +00:00
Gwynne Raskind eade375f56 fix the darwin 9 hack again; add the -O2 back in to avoid performance loss when not compiling for debug 2008-04-01 02:37:02 +00:00
Derick Rethans 2facb4e240 - Don't rely on a version that doesn't exist - that breaks snapshots. 2008-03-31 10:08:57 +00:00
Steph Fox b4103c390f - Allow most of the existing strangely-named headers to get by 2008-03-31 09:17:25 +00:00
Derick Rethans ec5157fe01 - MFH: Fixed a bug in formatting timestamps when DST is active in the default
timezone.
2008-03-31 09:11:30 +00:00
Steph Fox 36db7c60c9 Revert "minimum version requirement" until there's a version to match it 2008-03-31 00:28:16 +00:00
Felipe Pena f8b3482861 Fix WS.
# My editor accidentally changed tab to space, sorry.
2008-03-30 22:01:44 +00:00
Felipe Pena b3ded59e3e - Added T_GOTO
- Fixed tests
2008-03-30 21:48:24 +00:00
Ilia Alshanetsky f704d2d37d Added a warning message 2008-03-30 15:05:48 +00:00
Felipe Pena 3230a77d89 MFB: Fixed bug #44564 (escapeshellarg removes UTF-8 multi-byte characters) 2008-03-30 12:24:10 +00:00
Felipe Pena f8f26de7d5 Fix for segfault on 64bit platform 2008-03-29 11:52:10 +00:00
Felipe Pena 065af96002 New entry (MFH: goto) 2008-03-29 00:01:42 +00:00
Nuno Lopes 106af69646 ignore generated files 2008-03-28 17:48:30 +00:00
Felipe Pena 3946b1fd29 MFB: Fixed bug #44557 (Crash in imap_setacl when supplied integer as username) 2008-03-28 16:45:05 +00:00
Felipe Pena f66f55edc5 MFH: Implemented "jump label" operator (limited "goto")
[DOC]
2008-03-28 14:35:01 +00:00
Antony Dovgal 9d9468e9f4 fix compile warnings 2008-03-28 10:22:12 +00:00
Jani Taskinen afa42ce453 - Fix test (readdir() does not sort the results..) 2008-03-27 10:45:03 +00:00
Dmitry Stogov 862f9ee3d2 Added ability to use stream wrappers in include_path 2008-03-27 10:33:40 +00:00
Ilia Alshanetsky 17d22a50d9 Fixed bug #44501 (LOCK_EX mode in file_put_contents() is impropertly
handled in combination with url wrappers)
2008-03-26 23:06:47 +00:00
Steve Seear 073b6eac48 Adding tests for gethostbyaddr() and gethostbynamel() 2008-03-26 18:19:31 +00:00
Jani Taskinen 6c6f831455 - Give Marcus good old warm and fuzzy feeling.. :) 2008-03-26 15:04:57 +00:00
Jani Taskinen a27b02f4d7 - Use the right tool here too 2008-03-26 13:35:54 +00:00
Marcus Boerger 7916f1c1f0 MFH:
- Fix memory leak found by Osman
- Merge strlen to sizof change from CLI
2008-03-25 22:05:22 +00:00
Marcus Boerger c0b4683661 - MFH Use sizeof rather than strlen and cleanup 2008-03-25 21:58:29 +00:00
Ilia Alshanetsky 44a6326b15 Removed unused variable 2008-03-25 20:19:04 +00:00
Andrey Hristov 5a717e7153 Fix typo, thank Jani :) 2008-03-25 20:00:18 +00:00
Andrey Hristov 598f89d86e news entry 2008-03-25 18:30:56 +00:00
Andrey Hristov 5abe8c8d01 Small updates & a fix for
Bug #43832 mysqi_get_charset() doesn't expose charset comment
2008-03-25 18:27:17 +00:00
Felipe Pena 9e2894f5ff MFH:
- Renamed zend_do_fetch_class_name() to zend_do_build_full_name() (It is not used only for classes)
- Moved zend_resolve_class_name prototype to zend_compile.h
2008-03-25 18:08:37 +00:00
Christopher Jones bb03788897 revert stmt release on connection error change (and sync with PHP 6) 2008-03-25 17:38:07 +00:00
Christopher Jones e7de4793c3 Remove trailing period from error thus syncing with PHP 6 2008-03-25 17:20:27 +00:00
Johannes Schlüter c826caa84f - MFH: New egg 2008-03-25 17:17:56 +00:00
Dmitry Stogov 00346c2dbf Optimized detection of "__call" and "__callstatic" methods. 2008-03-25 13:04:03 +00:00
Christopher Jones ceb2193b7c rename PHP_OCI8_VERSION in preparation for peclversioning RFC. Remove obsolete HAVE_OCI8_ATTR_STATEMENT macro 2008-03-25 02:00:32 +00:00
Ilia Alshanetsky 16f6918e0f Fixed test on systems where . and .. order not guaranteed 2008-03-24 18:33:54 +00:00
Antony Dovgal fc134fd6c5 MFH: disabled mmap() when copying files to memory 2008-03-24 16:28:35 +00:00
Steph Fox 2b27e2c8a4 Another thing version_compare() allows... 2008-03-24 15:11:46 +00:00
Derick Rethans d24bc47a99 - Updated to version 2008.2 (2008b) 2008-03-24 13:00:47 +00:00
Dmitry Stogov 2790eebdbc Fixed tests 2008-03-24 10:09:41 +00:00
Dmitry Stogov 2f794ceabb Fixed ws and comment 2008-03-24 09:30:41 +00:00
Dmitry Stogov 0ec1e42e52 Fixed tests (file order is undefined, so we need to sort() them) 2008-03-24 09:00:33 +00:00
Steph Fox 0726c79d7e - Extend that regexp (again)
- Revert the changes affecting external template.rc files
2008-03-23 21:59:31 +00:00
Marcus Boerger 0ae1cf8c59 - MFH Add .cvsignore 2008-03-23 16:53:52 +00:00
Ilia Alshanetsky 97e293ed4b Removed unused variable 2008-03-23 15:48:10 +00:00
Marcus Boerger 3a74a6bec4 - MFH Add tests 2008-03-23 13:38:41 +00:00
Steph Fox ab8ddf1b78 Don't break PECL extensions that are oh-so-nearly doing The Right Thing [TM]
(mcve, runkit, win32ps)
2008-03-22 22:16:55 +00:00
Marcus Boerger 0893c3e2c9 - Another re2c version bump and scanner regeneration
# It appears no one has used re2c in the way we do
2008-03-22 17:59:52 +00:00
Marcus Boerger a9b9062980 - Require 0.13.3 2008-03-22 15:39:53 +00:00
Antony Dovgal 66b66914a6 use correct flags 2008-03-22 12:56:16 +00:00
Steph Fox fc2eed70ef Allow Stas his "1.0.0RC1-dev" 2008-03-22 09:33:31 +00:00
Steph Fox a007d591bf Independent versioning for PECL extensions (and only PECL, for now)
This affects the RC template used to ship information with the DLL in Windows distributions - nothing else.
It will potentially affect 13 PECL modules at present (and yes I do know which ones!)
2008-03-22 09:07:59 +00:00
Christopher Jones c401491ca0 Further improvements to error handling 2008-03-22 01:27:50 +00:00
Marcus Boerger f8f01a1fd1 - MFH Settle to 4 MB, see internals@ archives 2008-03-21 19:37:43 +00:00
Marcus Boerger 07e3598762 - Fix YYFILL() 2008-03-21 18:47:26 +00:00
Marcus Boerger 3ce7194a4d - MFH Fix comment 2008-03-21 18:21:09 +00:00
Marcus Boerger 51e9bd075f - Simplify 2008-03-21 18:20:07 +00:00
Marcus Boerger adaf6daa3c - Fix streams handling logic, only real FPs can be mmaped here 2008-03-21 18:15:43 +00:00
Marcus Boerger 9f001a01a1 - MFH Increase max mmap size to 8 MB 2008-03-21 17:13:08 +00:00
Antony Dovgal 7f02e564f7 MFH: revert 2008-03-21 16:39:11 +00:00
Marcus Boerger 40bdb5df57 - Bugfix 44461 2008-03-21 15:29:34 +00:00
Marcus Boerger 736df2fec1 - MFH Add new test 2008-03-21 15:21:38 +00:00
Antony Dovgal 96c2b045ff fix ZTS build 2008-03-21 08:28:24 +00:00
Ilia Alshanetsky 74b5cfdea5 Refine fix for multibyte char hanling inside command names and args 2008-03-20 23:25:31 +00:00
Derick Rethans b23442fc48 - MFH: Fix the DateTimeZone::getTransitions() algorithm. 2008-03-20 19:43:36 +00:00
Stanislav Malyshev e6831f4b4f document the change 2008-03-20 18:12:58 +00:00
Stanislav Malyshev bb86f3ae5b [DOC] make short_open_tag user-accessible 2008-03-20 17:30:14 +00:00
Rob Richards 7c91532eac MFH: fix bug #44478 (Inconsistent behaviour when assigning new nodes)
add test
2008-03-20 16:48:10 +00:00
Andrey Hristov 878f817df6 News entry 2008-03-20 15:39:44 +00:00
Andrey Hristov 85cd8525c9 Small fix and a test case to prove it's right 2008-03-20 15:29:14 +00:00
Steph Fox b72b4ce87e Allow Elizabeth's favourite function to accept 2-4 sets of digits in version. 2008-03-20 15:03:20 +00:00
Andrey Hristov 6867385d75 - Don't modify the variables which are passed for parameter binding.
We need to clone them, if there will be a transformation (convert_to_xxx)
  which will change the origin
  (bug#44390 bind_param / bind_result and Object member variables)
- Make mysqlnd more compatible to libmysql, in this case if the execute of
  a statement fails set the state of the statement back to PREPARED
- A test case to check the case of a failing statement.
2008-03-20 14:03:30 +00:00
Antony Dovgal b2af8cac94 MFH 2008-03-20 12:14:06 +00:00
Antony Dovgal dff9a32350 MFH: fix tests 2008-03-20 08:35:44 +00:00
David Soria Parra 6d66530ae9 MFH: Fix bug #44487 (call_user_method_array issues a warning when throwing an exception). 2008-03-20 00:52:46 +00:00
Nuno Lopes b3a9edd021 ignore generated files 2008-03-19 23:25:53 +00:00
Nuno Lopes 35eb728a7c fix gcov build 2008-03-19 23:24:56 +00:00
Steve Seear 801c795208 Adding language tests. 2008-03-19 18:06:24 +00:00
Steve Seear 6e361fa7db Added some class tests; Replaced some hardcoded instance ids with %d. 2008-03-19 17:56:10 +00:00
Steve Seear 4c2b3336a2 Adding tokenizer test 2008-03-19 17:43:50 +00:00
Steve Seear 5e0afe8eb9 Adding streams tests 2008-03-19 17:38:23 +00:00
Steve Seear 9071a478b5 Adding filesystem tests 2008-03-19 17:25:47 +00:00
Rasmus Lerdorf 6ef4d75c81 Typo (I wonder if anybody would ever have noticed this) 2008-03-19 16:28:46 +00:00
Rasmus Lerdorf ea790cef01 On Windows I guess there is no point starting the timeout thread until
we actually have a timeout value.
2008-03-19 15:30:49 +00:00
Rasmus Lerdorf d2f23dbe64 Make sure we set the signal handler when reset_signals is true, regardless
of the actual timeout value.
2008-03-19 15:22:17 +00:00
Antony Dovgal 54482745ba MFH 2008-03-19 12:44:13 +00:00
Antony Dovgal e3b672bb23 MFH: make use of zend_atol() 2008-03-19 12:42:16 +00:00
Antony Dovgal 7b1bc753c6 MFH: add zend_atol() 2008-03-19 12:41:23 +00:00
Antony Dovgal 8b5524e2fe fix test 2008-03-19 12:36:09 +00:00
Ilia Alshanetsky 6bb865ff04 Removed ze1_compatibility_mode INI options 2008-03-19 12:16:14 +00:00
Dmitry Stogov 5031528ec7 Disabled $GLOBALS' refcount modification 2008-03-19 11:46:10 +00:00
Felipe Pena 47badbe86b Remove accidental change 2008-03-19 03:15:56 +00:00
Felipe Pena 17c7463331 MFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 2008-03-19 03:05:35 +00:00
Ilia Alshanetsky c4a33f1515 Fixed bug #44445 (email validator does not handle domains
starting/ending with a -)
2008-03-18 23:31:34 +00:00
Elizabeth Marie Smith b4e97d3230 Correct name for the file 2008-03-18 22:48:26 +00:00
Rasmus Lerdorf 45e327a672 Add new empty child terminate sapi hook to the rest of the sapis 2008-03-18 22:23:21 +00:00
Rasmus Lerdorf 6c158374ba exit_on_timeout patch
After the sigsetjmp change, this is patch #2 in an effort to get some
sanity restored to signal handling in PHP.

This patch does two things.  First, it makes it possible to reset the
timeout without resetting the signal handlers.  This is important for
cases where an extension may have deferred signals in its MINIT in order
to implement critical sections. It also lays the groundwork for cleaning
up our signal handling and perhaps eventually implementing our own
signal deferring mechanism so we can have true critical sections.

The second thing this does is to make it possible to terminate the current
child process (only for Apache1 at the moment) on a timeout.  There are
a number of extensions that are unhappy about being longjmp'ed out of
and when this happens on a timeout they are left in an inconsistent state.
By turning on exit_on_timeout you can now force the process to terminate
on a timeout which will clean up any hanging locks and/or memory left
hanging after the longjmp.
2008-03-18 21:42:50 +00:00
Rasmus Lerdorf 10afe5d96b Make the sigsetjmp change more robust. On systems that don't have
sigsetjmp use setjmp.  Windows is of course weird in that it seems to
have sigsetjmp but not sigjmp_buf (??) so force it to use setjmp in
config.w32.h.in
2008-03-18 21:14:28 +00:00
Rasmus Lerdorf c9e0781d2a Use sigsetjmp and siglongjmp instead of setjmp/longjmp in order to be
consistent in how we deal with the signal mask.  POSIX doesn't specify
what to do with the signal mask in setjmp/longjmp which has resulted in
the signal mask getting saved on *BSD and not getting saved on Linux.
Making the behaviour explicit via sigsetjmp/siglongjmp gives us
consistency and saves expensive sigprocmask() syscalls on *BSD.
2008-03-18 18:34:11 +00:00
Elizabeth Marie Smith 4d9cbaf7a4 Ignore steph's pretty batch file 2008-03-18 18:00:40 +00:00
Andrey Hristov 98680c0c8f Fix the build 2008-03-18 17:30:55 +00:00
Steph Fox 7e38f9b2af Generic function for binary probes, kill the other two. And get rid of the annoying double check for CL. 2008-03-18 17:10:20 +00:00
Andrey Hristov caf3e9c3f1 Fixed a bunch of bugs reported in
Bug #44352 mysqli_connect_error() false negative for host errors
From now on the mysqli object doesn't have that magic properties, like
error, which were readable but not visible through isset(), property_exists()
and var_dump(). All other ext/mysqli classes were fixed too.
Now it will be easier to debug mysqli based applications.
2008-03-18 16:57:31 +00:00
Robin Fernandes bd9e026951 Adding more tests for serialize() and unserialize(). 2008-03-18 15:11:48 +00:00
Antony Dovgal 40a7a6005b remove ze1_compat tests 2008-03-18 14:50:14 +00:00
Antony Dovgal d32270a129 one more forgotten ze1_compat leftover 2008-03-18 14:48:09 +00:00
Antony Dovgal 57f51ee9a4 remove ze1_compat leftovers 2008-03-18 14:44:35 +00:00
Felipe Pena 2b10c53ae1 MFH: Dropped zend.ze1_compatibility_mode
[DOC]
2008-03-18 14:10:45 +00:00
Dmitry Stogov 8b01532f64 Removed hack (we don't need to modify class name).
(the problem is covered by Zend/tests/ns_056.phpt)
2008-03-18 11:37:00 +00:00
Dmitry Stogov 8c885b8913 Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php.
The following pseudo-code explains how it should be used in opcode cache.

function cache_compile_file($filename) {
        if (!is_cached($filename)) {
                ...
                orig_compiler_options = CG(compiler_optins);
                CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES |
                                        ZEND_COMPILE_DELAYED_BINDING;
                $op_array = orig_compile_file($filename);
                CG(compiler_options) = orig_copiler_options;
                ...
        } else {
                $op_array = restore_from_cache($filename);
        }
        zend_do_delayed_early_binding($op_array);
}
2008-03-18 08:36:30 +00:00
Steph Fox 7c8ff91218 You might as well have 'the Steph special' too :-)
I can never remember the cscript line, so let's just have 'configure' instead.
2008-03-18 03:23:14 +00:00
Steph Fox 766b6b606e re2c checking.
If it's not installed, the least scary of messages goes out.
If it's installed but older than the required version, the download link is given.
2008-03-18 03:12:42 +00:00
Felipe Pena 01dc595706 Fix build 2008-03-18 00:24:21 +00:00
Stanislav Malyshev 085af56710 fix integer overflow in length calculation 2008-03-17 23:06:32 +00:00
Ilia Alshanetsky 9227974ddb Properly address incomplete multibyte chars inside escapeshellcmd() 2008-03-17 23:01:27 +00:00
Rasmus Lerdorf 42d4cf6531 Revert
Never mind, it looks like ext/filter does an estrdup on everything it
gets which doesn't seem very efficient to me as most things it gets
passed will already be emalloc'ed.  My custom version of the filter
extension doesn't do this which led to the confusion.
2008-03-17 18:27:08 +00:00
Rasmus Lerdorf bafb0b4ff5 We need to pass PHP-managed pointers to filter here to avoid having
emalloc'ed data assigned to things like r->uri and having it get efree()'ed
on request shutdown which then means that if the Apache logging module
tries to log r->uri it would be reading from free'ed memory.  So a simple
estrdup before the filter call takes care of that.
2008-03-17 18:03:31 +00:00
Stanislav Malyshev e345eb5e38 fix win32 build 2008-03-17 17:29:13 +00:00
Nuno Lopes 25e6cd1a38 remove duplicated sections 2008-03-17 17:19:48 +00:00
Nuno Lopes 95b627f29b detect test cases with duplicated sections 2008-03-17 17:18:19 +00:00
Scott MacVicar bd4c0ced50 Fix build on Windows 2008-03-17 17:06:51 +00:00
Stanislav Malyshev 8223bb26a6 add request_order 2008-03-17 16:34:18 +00:00
Nuno Lopes 37660519cb fix tests (removed duplicated stuff) 2008-03-17 16:32:15 +00:00
Nuno Lopes e89b52f5ea remove leftovers 2008-03-17 16:21:49 +00:00
Antony Dovgal 74bfe1c3fa fix test 2008-03-17 15:35:32 +00:00
Gwynne Raskind bcc6360dac MFH: Fix bug #44443 (cvsclean fails on Darwin 9) 2008-03-17 15:22:22 +00:00
Antony Dovgal 0ee45c4711 fix tests 2008-03-17 14:59:23 +00:00
Antony Dovgal 5e803b451d BFN 2008-03-17 14:55:40 +00:00
Antony Dovgal 7dd943ac5c MFH: fix #39127 (Old-style constructor fallbacks produce strange results) 2008-03-17 14:54:42 +00:00
Antony Dovgal 964e0522a1 fix test 2008-03-17 14:05:39 +00:00
Scott MacVicar e6960e3ded Fix test 2008-03-17 10:29:17 +00:00
Antony Dovgal 93d4b17de9 use @ to silence the commands 2008-03-17 10:05:04 +00:00
Josie Messa f5cd721058 - new tests for ctype functions 2008-03-17 09:52:02 +00:00
Scott MacVicar b89071ec06 Make re2c required 2008-03-16 23:54:06 +00:00
Marcus Boerger 33da0b6a7b - No more flex underwindows either 2008-03-16 22:26:42 +00:00
Marcus Boerger 31ee06f0aa - Update windows build script 2008-03-16 22:16:56 +00:00
Felipe Pena 40f83dad26 Fix build (ZTS) 2008-03-16 21:55:46 +00:00
Marcus Boerger 00e236aa80 - Fix build 2008-03-16 21:42:42 +00:00
Marcus Boerger 0531ba8952 - Add files generated by re2c 2008-03-16 21:23:02 +00:00
Marcus Boerger af316021e8 - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Ilia Alshanetsky eb8f83a98e Remove unused variable 2008-03-16 15:15:21 +00:00
Derick Rethans fb86942ce9 - Updated to version 2008.1 (2008a) 2008-03-16 07:21:00 +00:00
Felipe Pena bbac59aa40 MFB: Fixed bug #44440 (st_blocks undefined under BeOS) 2008-03-15 10:32:32 +00:00
Felipe Pena 766f62f026 Add SKIPIF (32bit platform only) 2008-03-14 23:15:47 +00:00
Lukas Smith 72ae8cdf9b MFH 2008-03-14 21:52:47 +00:00
Dmitry Stogov 7158425387 Improve GC to support garbage created in destructors during objects utilization 2008-03-14 18:36:34 +00:00
Felipe Pena 57f423156e Fix build (ZTS) 2008-03-14 17:56:52 +00:00
Derick Rethans 0e9a12d8b1 - MFH: Allow datetime objects to be serialized and woken up.
- MFH: Implemented __set_state().
2008-03-14 16:19:52 +00:00
Dmitry Stogov 34003557ca Removed commented code and unnecessary inline function 2008-03-14 13:35:40 +00:00
Dmitry Stogov e1a28ee945 Fixed GC bug 2008-03-14 13:21:04 +00:00
Antony Dovgal 8f6b35ccd3 MFH: check if return value of write() is -1 and abort upload in this case setting the correct error status 2008-03-14 13:11:12 +00:00
Marcus Boerger c17997d4b6 - MFH Fix possible memory corruption 2008-03-13 19:46:44 +00:00
Elizabeth Marie Smith 77e914e6dc [DOC] adds new odbc driver specific ODBC_ATTR_ASSUME_UTF8 to deal with unicode coming out of Microsoft SQL Server and is only relevant on windows, use it if unicode output from the server is garbled and it will autoconvert text - original patch by wez 2008-03-13 16:55:09 +00:00
Ilia Alshanetsky 5ea77bc64f MFB: Fixed bug #43677 (Inconsistent behaviour of include_path set with
php_value). (Patch by: manuel at mausz dot at)
2008-03-13 16:01:31 +00:00
Derick Rethans 7aa69c21df - Fixed bug #44257 (timelib_tz_lookup_table must use float for gmtoffset). 2008-03-13 15:59:48 +00:00
Derick Rethans a27d6afd83 - Added support for parsing date/time strings returned by MS SQL with strtotime(). 2008-03-13 15:54:25 +00:00
Dmitry Stogov 7705272218 Disable path resolution for filenames with stream wrappers
More careful check for relative pathes (./xxx and ../xxx)
2008-03-13 14:09:54 +00:00
Stanislav Malyshev a9fe1010d2 [DOC] add request_order INI variable to control $_REQUEST content
# if not set (default), variables_order still is used
# request_order accepts G,P and C
2008-03-12 20:24:45 +00:00
Felipe Pena 5076296d8c Sync with fix for #44394 2008-03-12 19:34:37 +00:00
Felipe Pena eea093b47c MFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...) 2008-03-12 19:18:42 +00:00
Christopher Jones c94d9b0c12 MFH: New test for existing behavior 2008-03-12 17:52:59 +00:00
Ilia Alshanetsky 5944170872 Fixed bug #44388 (Crash inside exif_read_data() on invalid images) 2008-03-12 17:32:01 +00:00
Dmitry Stogov a564b2a939 Fixed test 2008-03-12 15:20:23 +00:00
Etienne Kneuss b57e7b44da Fix bug #41828 (Fix crash on wrong instantiation) 2008-03-12 13:34:47 +00:00
Felipe Pena ae0a15b7cf New test 2008-03-12 13:31:38 +00:00
Felipe Pena 5fa8f63a01 New tests 2008-03-12 12:58:12 +00:00
Felipe Pena d269b5fd50 Merged into 5_2 2008-03-12 11:28:37 +00:00
Dmitry Stogov 2564bdc73c Code simplification 2008-03-12 10:40:02 +00:00
Dmitry Stogov be8daf1f47 Optimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single ZEND_ADD_INTERFACE opcode 2008-03-12 10:32:12 +00:00
Dmitry Stogov 0f2247ae94 Fixed bug #44414 (Incomplete reporting about abstract methods) 2008-03-12 09:46:42 +00:00
Dmitry Stogov c33db5c74e Fixed warning 2008-03-12 08:52:49 +00:00
Felipe Pena e0de453954 Fixed bug #44394 (Last two bytes missing from output) 2008-03-12 02:40:57 +00:00
Christopher Jones b9f72771a6 MFH
Cleaned up whitespace

Fixed bug #44372 (compilation with Oracle 10gR1 libraries)
http://bugs.php.net/bug.php?id=44372

Updated updated error number list to improve re-connection
behavior after a database restart.

Guard against potential internal list corruption after ping
removes old oci_pconnect() information.

Fix ini_set("oci8.connection_class", "abc") to get an appropriate
persistent connection.

Ping at oci8.ping_interval for oci_connect() and oci_new_connect()
when DRCP connections are used. This improves non-persistent
connection reliability if a database gets restarted.
2008-03-12 01:26:44 +00:00
Lars Strojny 698e065295 Adding itk again to non-threaded MPMs. Sorry for the confusion 2008-03-11 22:47:39 +00:00
Felipe Pena fec00fd374 Add new test (bug reported in internals list by Robin) 2008-03-11 16:56:06 +00:00
Felipe Pena 7a9bfa9055 Add new test (bug reported in internals list by Robin) 2008-03-11 16:48:14 +00:00
Felipe Pena 4aebf04353 Missing a line 2008-03-11 15:26:24 +00:00
Felipe Pena 999d2e2294 New tests 2008-03-11 15:18:58 +00:00
Felipe Pena f37f8d85d6 Fix test 2008-03-11 11:04:53 +00:00
Antony Dovgal 6204a10e79 some more tests 2008-03-11 10:40:37 +00:00
Antony Dovgal f0b9ac513c MFH: fix segfault - error_string may be NULL, in this case we have to follow the old behavior 2008-03-11 10:27:10 +00:00
Josie Messa e897db28bf - Fix test 2008-03-11 10:17:51 +00:00
Josie Messa f5d9a8ea42 - Added extra whitespace around error messages in expected output 2008-03-11 10:00:26 +00:00
Dmitry Stogov 1a08aadc9b Fixed memory corruption because of double free() 2008-03-11 09:36:41 +00:00
Ilia Alshanetsky ec45e73891 More todo items 2008-03-11 00:12:53 +00:00
Felipe Pena 1db52c1c5f Fix tests (new error message for void parameters) 2008-03-10 23:14:11 +00:00
Felipe Pena 9324869ef5 Fix tests (new error message for void parameters) 2008-03-10 22:17:59 +00:00
Felipe Pena 84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Felipe Pena cc2b17d51d MFH: Added new macro for check void parameters.
(deprecating ZEND_WRONG_PARAM_COUNT for this cases)
2008-03-10 22:02:41 +00:00
Andrey Hristov 725b31fc6c Update mysqlnd, ext/mysql and ext/mysqli - now possible to compile with different
configurations one or the another extension to use libmysql or mysqlnd mixed in
one binary
2008-03-10 20:15:38 +00:00
Andrey Hristov 49add03404 char **error_message was passed but not used. This causes problems in cases
of getaddrinfo() failure, because the upper layers don't get the error.
initialize a variable because we were reading initialized in case of error.
2008-03-10 19:54:47 +00:00
Antony Dovgal 23bb85388b fix gcov build 2008-03-10 17:26:33 +00:00
Josie Messa 705435eb9e - New tests for getcwd() function 2008-03-10 15:22:47 +00:00
Josie Messa 1d4f18734f - Modified expected output to allow tests to work on all platforms 2008-03-10 15:10:32 +00:00
Felipe Pena af8b8480d5 Improve the Darwin 9 hack considerably and switch to using dl*() instead of NS*() on Darwin 8+. (Patch by Gwynne) 2008-03-10 15:06:04 +00:00
Josie Messa 794955ce85 - New tests for scandir() function 2008-03-10 14:12:41 +00:00
Johannes Schlüter 445a24e400 Fix typo 2008-03-10 13:39:53 +00:00
Andrey Hristov 9cb1ef66b5 Remove unneeded entry 2008-03-10 11:19:24 +00:00
Andrey Hristov 5034db7cbb Update NEWS 2008-03-10 09:22:19 +00:00
Andrey Hristov a27e0c8818 - Fix a warning in php_mysql.c
- Fixed #44371 Extension compile failed
2008-03-10 09:18:43 +00:00
Scott MacVicar 08b5500f4b Fix memory issues with statement being deleted twice 2008-03-09 21:30:28 +00:00
Antony Dovgal 1f3b8cccc4 %v -> %s, this is 5_3 2008-03-09 20:52:29 +00:00
Ilia Alshanetsky 33e23bd355 Initialize ts only after successful argument parsing 2008-03-09 18:09:53 +00:00
Felipe Pena 5d9e462ecf Fix typo (#44381) 2008-03-09 16:07:14 +00:00
Gwynne Raskind 62ba50b762 MFH: Fix Darwin 9/Mac OS X 10.5 build problems, or at least patch them 2008-03-09 14:27:25 +00:00
Lars Strojny a344adf72e sapi/apache2(handler|filter)/config.m4: Removing itk from the list of threaded MPMs (thanks Hannes) 2008-03-09 12:35:56 +00:00
Lars Strojny 1b16b4e243 Adding itk and and peruser MPM to the list of threaded Apache MPMs 2008-03-09 01:10:25 +00:00
Johannes Schlüter 14496417d0 - MFH: Fix typo in skipif 2008-03-09 01:07:01 +00:00
Felipe Pena 77af81b8c3 Fix test (thanks Scoates!) 2008-03-08 23:31:05 +00:00
Felipe Pena a7dd2ad68c Fix test 2008-03-08 23:13:45 +00:00
Felipe Pena 8acaf4118c Fix test (new constant was added in PREG) 2008-03-08 23:06:42 +00:00
Etienne Kneuss e9a6f0f24a MFH: User error handlers no longer catch supressed errors 2008-03-08 22:12:32 +00:00
Felipe Pena fd0d44f0a7 User error handlers no longer catch supressed errors (patch by Etienne Kneuss) 2008-03-08 21:54:03 +00:00
Greg Beaver 2801e87a55 fix tests if allow_url_fopen is disabled in php.ini 2008-03-08 19:12:34 +00:00
David Coallier 47f576db8f - MFH
- If libxml dotted version smaller than 2.6.20 it's a fail. Patch from scoates
2008-03-08 19:11:18 +00:00
Greg Beaver b6d53c51e8 fix test if allow_url_fopen is disabled in php.ini 2008-03-08 19:08:25 +00:00
David Coallier e506d59a0e - Ok to fail on OSX, adjusted bug, patch from scoates 2008-03-08 18:50:14 +00:00
Andrey Hristov 64aad3d210 Bug fixed in 5.0.46 2008-03-08 15:00:50 +00:00
Andrey Hristov 704cab59ee update NEWS 2008-03-08 14:58:04 +00:00
Andrey Hristov ff8a310468 Fix a problem with $mysqi->connect() not working with default values.
Fix a leak, bug#39457
2008-03-08 14:55:52 +00:00
Felipe Pena 739a4d503b MFB: Fixed bug #44373 (PDO_OCI extension compile failed) 2008-03-08 14:03:20 +00:00
Nuno Lopes 03444a67be BFN #44214 2008-03-08 13:03:59 +00:00
Nuno Lopes 634fef42d6 fix bug #44214: crash with preg_replace_callback and global variables 2008-03-08 13:01:59 +00:00
Felipe Pena 11bbb0165a BFN: #39108 2008-03-08 12:17:54 +00:00
Nuno Lopes 3f67ea4568 BFN: #44336 2008-03-08 12:05:19 +00:00
Felipe Pena c7cb8551fe Fix tests (removed space on error message "Undefined index: ...") 2008-03-08 12:01:53 +00:00
Nuno Lopes d204214d7f implement #44336: optimize utf8 string matching
add PREG_BAD_UTF8_OFFSET_ERROR constant
2008-03-08 11:58:12 +00:00
Nuno Lopes 0d0a7a432a add new tests 2008-03-08 11:50:20 +00:00
Felipe Pena 579e46dd76 Cosmetics (removed space on error message) 2008-03-08 11:47:13 +00:00
Felipe Pena ddc8a63168 Fixed bug #39018 (Error control operator '@' fails to suppress "Uninitialized string offset") 2008-03-08 11:35:12 +00:00
Gwynne Raskind 342a75906a BFN 2008-03-08 10:36:15 +00:00
Scott MacVicar 1f150df537 BFN 2008-03-08 04:20:02 +00:00
Scott MacVicar 32c03b5f32 MFB: Fixed bug #42203 (Clear SQLite result sets before closing database.) 2008-03-08 04:18:29 +00:00
Gwynne Raskind 8bbef4f940 Forgot one file in last commit 2008-03-07 23:20:54 +00:00
Gwynne Raskind 3e99d5cc5b MFH: fix bug #32330 (session_destroy, "Failed to initialize storage module", custom session handler) 2008-03-07 23:20:32 +00:00
Johannes Schlüter 278b7f2bdd - MFH: New tests 2008-03-07 21:33:17 +00:00
Scott MacVicar e6f6a1981f BFN. 2008-03-07 17:17:00 +00:00
Scott MacVicar 4147031eb0 Fixed bug #41135 (When binding as binary data use sqlite3_bind_blob() to stop errors with null bytes.)
Fixed bug #42443 (Bind integers and booleans as integers rather than strings.)
2008-03-07 16:58:55 +00:00
Josie Messa 8e3192aed8 - Tests awaiting fix of bug #44246 2008-03-07 16:20:16 +00:00
Josie Messa d19f3990e3 - New tests for rewinddir() function 2008-03-07 16:12:03 +00:00
Josie Messa 37ca3ca2b5 - New tests for closedir() function 2008-03-07 16:00:24 +00:00
Jani Taskinen 51a57fe26e style 2008-03-07 14:40:08 +00:00
Scott MacVicar 1937e87f6d BFN 2008-03-07 12:19:56 +00:00
Scott MacVicar 5a86313123 Update bundled SQLite to 3.5.6 2008-03-07 10:47:32 +00:00
Antony Dovgal 184173fccc fix build 2008-03-07 08:56:38 +00:00
Greg Beaver 1dac2d21a8 test was failing because I had a file named 1 in the checkout directory
# note to tests writers: never assume anything about directory
# contents.
2008-03-07 04:14:53 +00:00
Stanislav Malyshev 507a7840ed improve seed calculation
# better solution would be to port mt's multi-value seed procedure
2008-03-07 03:36:58 +00:00
Ilia Alshanetsky bbf53bbb04 Fixed a memory leak inside date_get_last_errors() when there are no errors 2008-03-07 02:04:40 +00:00
Antony Dovgal cbdc4b9af8 fix segfault when trying to clone uncloneable object because of zend.ze1_compatibility_mode which we should have got rid of years ago 2008-03-06 17:28:26 +00:00
Robin Fernandes ee0f7bc0ac Add new tests for class/object functions and features. 2008-03-06 11:02:37 +00:00
Ilia Alshanetsky 34c89a2601 Revert patch for bug #44325 2008-03-05 23:52:45 +00:00
Lars Strojny da494df864 Using new magic constant __DIR__ in run-tests.php 2008-03-05 20:10:12 +00:00
Jani Taskinen 33af2eb4dc - Fix tests (allow_call_time_pass_reference might be off for properly configured sites.. :) 2008-03-05 15:37:48 +00:00
Dmitry Stogov ab232458c7 Optimized require_once() and include_once() by eliminationg open() syscall on second usage. 2008-03-05 13:34:12 +00:00
Jani Taskinen f6406ae6e9 - Fix test when register_globals=On in php.ini 2008-03-05 12:12:09 +00:00
Antony Dovgal d4fd7c1059 MFH: apply better fix 2008-03-05 12:10:02 +00:00
Antony Dovgal 391da778fb MFH: fix memory corruption due to double destruction of default dir handle 2008-03-05 09:29:25 +00:00
Felipe Pena c3b6ca3b8f MFB: Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags) 2008-03-04 22:29:29 +00:00
Christopher Jones b8a3bb32ef Add oci_bind_by_name update 2008-03-04 21:58:07 +00:00
Christopher Jones f5d1186793 Add #41069. Clarify attributions. 2008-03-04 21:55:13 +00:00
Christopher Jones af6734c1ff MFH Fix bug #41069 (db link crash). Also allow SQLT_AFC (aka CHAR datatype) in oci_bind_by_name 2008-03-04 21:46:24 +00:00
Christopher Jones 96f8501ccd Attempt greater test portability 2008-03-04 21:05:47 +00:00
Ilia Alshanetsky 0e17aa0630 Fixed bug #44325 (mssql_bind not correctly bind empty strings as parameter
value)
2008-03-04 19:38:38 +00:00
Josie Messa 08d2ac2ea6 - new tests for readdir() function 2008-03-04 17:09:24 +00:00
Dmitry Stogov 29eac881b0 Fixed SIGSEGV because of access to uninitialized data 2008-03-04 12:47:18 +00:00
Dmitry Stogov 430e54d457 Fixed shared memory corruption of opcode caches 2008-03-04 11:43:51 +00:00
Antony Dovgal 14ec6f623b MFH 2008-03-04 11:16:31 +00:00
Josie Messa 99defe9f52 - new tests for opendir() function 2008-03-04 10:40:36 +00:00
Dmitry Stogov 4de15df711 Fixed wrong result of cascading assignment to string offset 2008-03-04 10:07:17 +00:00
Dmitry Stogov 8365e71cb9 Fixed wrong result of cascading assignment to string offset
Fixed memory corruption on cascading assignment of IS_TMP_VAR into string offset
Fixed opcode caches shared memory corruption on cascading assignment of IS_CONST
 into string offset
2008-03-04 10:06:52 +00:00
Ilia Alshanetsky 1a3f7f6450 Fixed bug #44166 (Parameter handling flaw in PDO::getAvailableDrivers()) 2008-03-03 21:12:16 +00:00
Johannes Schlüter 1aa32afa8a MFH: Fix get_parent_class() of PDORow instances 2008-03-03 19:00:45 +00:00
Robin Fernandes 0455ccb805 Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ). 2008-03-03 15:07:04 +00:00
Dmitry Stogov bcade81501 Removed unnecassary strlen() 2008-03-03 11:11:43 +00:00
Ilia Alshanetsky a9146c60cb Fixed bug #44306 (Better detection of MIPS processors on Windows) 2008-03-02 15:35:05 +00:00
Lukas Smith 375b4c036a MFH 2008-03-01 23:25:34 +00:00
Lukas Smith 6a1d20ad1d MFH 2008-03-01 22:47:33 +00:00
Johannes Schlüter 95623a1d70 MFH: New tests 2008-03-01 21:55:38 +00:00
Johannes Schlüter 68de75f0b5 MFH: Allow implementation of abstract methods with optional parameters (Christian
Schneider)
2008-03-01 13:53:32 +00:00
Etienne Kneuss 05ba20f9b6 MFH: Fix #44144 (object methods as spl autoload functions returned correctly) 2008-02-29 13:55:23 +00:00
Etienne Kneuss e9918d1bcc Heaps addition 2008-02-29 09:42:23 +00:00
Etienne Kneuss 7c2052957c MFH: Fix #44288 (Move declarations) 2008-02-29 09:26:01 +00:00
Rasmus Lerdorf 3be17e4f66 count() before and after a simplexml array cast should be the same 2008-02-28 17:38:04 +00:00
Dmitry Stogov 4cdbb5b060 We don't nave to change request shutdown sequence if dl() was failed 2008-02-28 16:59:10 +00:00
Antony Dovgal 01fa5a782b MFH 2008-02-28 09:18:13 +00:00
Ilia Alshanetsky 183267dc29 MFB: Fixed security issue detailed in CVE-2008-0599 2008-02-28 00:51:56 +00:00
Derick Rethans 825c3f5ac2 - MFH: Fixed bug #44260 (African timezones missing). 2008-02-27 09:47:35 +00:00
Antony Dovgal 6f95e17a19 MFH 2008-02-27 09:34:53 +00:00
Felipe Pena 95c95d741b Fix (#43559) merged into 5_2 2008-02-27 02:10:40 +00:00
Felipe Pena 57f73fa8fc MFB: Improved fix for #44242 2008-02-27 01:19:05 +00:00
Ilia Alshanetsky 425c4bca2e Fixed bug #44233 (MSG_PEEK undefined under BeOS R5) 2008-02-27 00:30:24 +00:00
Felipe Pena 3f40f96c50 Fixed tests 2008-02-26 13:38:43 +00:00
Josie Messa 40a4cf4fea - committed chdir() tests in wrong directory 2008-02-26 09:34:29 +00:00
Josie Messa f13562aa66 - New tests for chdir() function 2008-02-26 09:34:28 +00:00
Christopher Jones 3207b7b228 MFH: Use STD_PHP_INI_BOOLEAN. Fix whitespace. 2008-02-26 02:21:04 +00:00
Christopher Jones 53a5bf2e65 Fix test noise 2008-02-26 01:05:59 +00:00
Ilia Alshanetsky 43bcf759d3 Better fix for bug #44189 2008-02-26 00:13:57 +00:00
Christopher Jones b4b099ae19 MFH: OCI8: fix bug #44008 (OCI-Lob->close) & bug #44206 (ref cursor leak) 2008-02-25 23:50:51 +00:00
Etienne Kneuss 6e46f25b12 MFH: Fix folding 2008-02-25 23:41:04 +00:00
Etienne Kneuss c54045a1f9 MFH: SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue implementation 2008-02-25 23:39:08 +00:00
Rob Richards de52173257 MFH: fix win32 build 2008-02-25 22:57:09 +00:00
Felipe Pena a9f5ad7e87 MFB: Fixed bug #44242 (metaphone('CMXFXM') crashes PHP) 2008-02-25 22:54:57 +00:00
Derick Rethans f81134a9f2 - MFH: Fixed tests on 64bit platform. 2008-02-25 22:32:59 +00:00
Derick Rethans b8883b65b8 - MFH: Added a few new separation specifiers.
- MFH: Added specifiers that can reset or default the y/m/d/h/i/s/tz values.
- MFH: Fixed a problem with parsing timezones as part of a format.
2008-02-25 18:26:33 +00:00
Steve Seear ad3af52712 Replace hardcoded resource ids with %d in fgetc() tests. 2008-02-25 10:31:17 +00:00
Felipe Pena 3be93e5141 New test 2008-02-24 18:49:55 +00:00
Felipe Pena 6a128d5614 MFB: Fixed segfault in filter extension when using callbacks. 2008-02-24 18:41:08 +00:00
Felipe Pena c47f4b9fd0 Entry existent in 5_2 2008-02-24 18:19:17 +00:00
Ilia Alshanetsky e0388c5549 Fixed bug #44200 (A crash in PDO when no bound targets exists and yet
bound parameters are present)
2008-02-24 16:08:32 +00:00
Felipe Pena 7cf6a28335 Fixed tests (new E_ALL value) 2008-02-24 12:18:07 +00:00
Felipe Pena aafff71c86 New E_ALL value 2008-02-24 12:17:25 +00:00
Felipe Pena e947263bda Removed internal warning 2008-02-24 11:45:55 +00:00
Felipe Pena afd2623ee7 Fixed test 2008-02-24 11:27:26 +00:00
Marcus Boerger d3e5026564 - MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Derick Rethans 6c5041979c - MFH: Fixed bug #44216 (strftime segfaults on large negative value). 2008-02-22 17:48:46 +00:00
Felipe Pena f7078d469c Fixed Bug #44212 (array_diff_assoc not reporting missing arguments) 2008-02-22 13:28:40 +00:00
Robert Nicholson 6ca51e664d - bug #44212 array_diff_assoc_error.phpt should expect warnings for missing parameters 2008-02-22 12:14:58 +00:00
Derick Rethans 7c46f35da3 - MFH: Fixed bug #44209: strtotime doesn't support 64 bit timestamps. 2008-02-22 09:47:19 +00:00
Josie Messa 116ae80376 - New tests for reset() function 2008-02-22 09:19:56 +00:00
Rasmus Lerdorf 92cd32246b No point in echoeing the raw value back here in the error message 2008-02-22 05:13:20 +00:00
Rasmus Lerdorf 28e4a3d4dd Missing footer 2008-02-22 05:04:34 +00:00
Felipe Pena 31ba224d90 Fix test 2008-02-22 02:15:42 +00:00
Felipe Pena f30b290938 Fix typo and add Derick's name 2008-02-21 20:01:23 +00:00
Felipe Pena 9139e74a60 New parameter parsing [DOC] 2008-02-21 17:50:03 +00:00
Felipe Pena d44f4cb17b Fix test (new parameter parsing) 2008-02-21 17:47:33 +00:00
Josie Messa 2151ce6ba9 - New tests for end() and next() function 2008-02-21 16:39:02 +00:00
Dmitry Stogov 18cc21c662 Fixed bug #43483 (get_class_methods() does not list all visible methods) 2008-02-21 15:14:27 +00:00
Josie Messa e864044411 - New tests for key() function 2008-02-21 14:34:41 +00:00
Felipe Pena 3fd8ccb092 Fix test 2008-02-21 14:22:41 +00:00
Josie Messa 1fa1bd7ac8 - Fixed failing mbstring tests after bug fixes 2008-02-21 14:07:13 +00:00
Dmitry Stogov 3e7e9d4af6 Fixed bug #44141 (private parent constructor callable through static function) 2008-02-21 13:55:45 +00:00
Antony Dovgal 9609e195e9 fix test 2008-02-21 13:39:04 +00:00
Ilia Alshanetsky 2fc9f5928e Fixed bug #44189 (PDO setAttribute() does not properly validate values for
native numeric options)
2008-02-21 13:37:21 +00:00
Antony Dovgal 70fb9a2078 news entry for new stuff 2008-02-21 13:37:14 +00:00
Antony Dovgal 2bc18c7a00 MFH 2008-02-21 13:36:35 +00:00
Antony Dovgal fe4e73238a ws->tab fixes 2008-02-21 11:53:34 +00:00
Dmitry Stogov bb1ee6d14a Prevented recursive collector invocation 2008-02-21 10:42:14 +00:00
Felipe Pena 079bfadbe7 MFB: Fixed Bug #44197 (socket array keys lost on socket_select) 2008-02-21 02:56:57 +00:00
Felipe Pena bc8a62f4b1 MFB: Fixed Bug #44191 (preg_grep messes up array index) 2008-02-20 22:12:17 +00:00
Felipe Pena d427b55b1a New test 2008-02-20 21:57:05 +00:00
Andrey Hristov 702bc3b345 Fix test. Now passes. 2008-02-20 18:27:53 +00:00
Ilia Alshanetsky d3158cdc15 Fixed a possible crash with syslog logging on ZTS builds 2008-02-20 15:27:30 +00:00
Andrey Hristov 7d0cee8c80 Fix memory leak 2008-02-20 15:18:17 +00:00
Josie Messa 21324e9a69 - New tests for current() function 2008-02-20 14:20:31 +00:00
Dmitry Stogov 8c32f99c25 Fixed bug #44184 (Double free of loop-variable on exception) 2008-02-20 12:05:57 +00:00
Dmitry Stogov edf53e2073 Added checks for destoied objects 2008-02-20 09:45:47 +00:00
Ilia Alshanetsky 3101edfd18 Fixed bug #44171 (Invalid FETCH_COLUMN index does not raise an error) 2008-02-20 03:11:43 +00:00
Christopher Jones 23a43bb260 Update for PECL release 2008-02-19 19:04:03 +00:00
Andrey Hristov 4ade01852c Fix a failing test 2008-02-19 17:21:50 +00:00
Dmitry Stogov caee59b856 everted (this part was committed by mistake) 2008-02-19 17:05:41 +00:00
Josie Messa f4dc0f293d - New tests for each() function 2008-02-19 17:02:27 +00:00
Dmitry Stogov cb714158af Fixed memory leaks 2008-02-19 16:39:18 +00:00
Dmitry Stogov 7dd164dcec Fixed GC bug 2008-02-19 15:55:57 +00:00
Andrey Hristov 4dd2425184 Fix compile warning 2008-02-19 15:38:58 +00:00
Andrey Hristov ff23e5c875 Fix test 2008-02-19 15:36:38 +00:00
Felipe Pena eaed933e57 New test 2008-02-19 14:53:04 +00:00
Nuno Lopes 083f474a47 some BDs (e.g. firebird) dont support text, so replace it with varchar(255). 2008-02-19 14:46:20 +00:00
Felipe Pena 6e712e05ab MFB: Fixed Bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL)) 2008-02-19 12:13:20 +00:00
Dmitry Stogov a4b872a6d8 iFixed memory leak 2008-02-19 12:00:53 +00:00
Josie Messa 23e18f966b - New tests for natcasesort() function 2008-02-19 10:53:10 +00:00
Sebastian Bergmann 1b03ecf1c7 MFH: Fugbix typo. 2008-02-19 06:52:43 +00:00
Etienne Kneuss 09a928b9c4 MFH: Add debug_info handler to SplDoublyLinkedList/Stack/Queue to make them var_dump friendly 2008-02-19 00:04:20 +00:00
Dmitry Stogov ecc9778dc8 Made code opcode-cache friendly. (It is disallowed to change code during execution) 2008-02-18 14:30:44 +00:00
Ilia Alshanetsky fe9f641658 Fixed a possible crash 2008-02-18 13:28:48 +00:00
Dmitry Stogov 4cf7073a84 Removed redundant refcount manipulations 2008-02-18 12:11:47 +00:00
Marcus Boerger 2633dcab46 - MFH Allow zend_extensions to be build inside ext and tested with 'make test' 2008-02-17 20:50:03 +00:00
Derick Rethans 22392affef - MFH: fixed typoes. 2008-02-17 18:17:45 +00:00
Pierre Joye af15fe6531 - add PHP_PHP_BUILD\bin to the path in PATH_PROG (option set with --with-php-builds=[PATH] the zip.zip contains all we need (except re2c! ) 2008-02-17 01:26:15 +00:00
Felipe Pena 41c95c7d15 Fix the fix 2008-02-17 01:11:04 +00:00
Felipe Pena 8d914d4bcd Fix test 2008-02-17 01:03:19 +00:00
Felipe Pena f3b2a87691 Fix test 2008-02-16 16:35:39 +00:00
Rui Hirokawa bedb308902 fixed #43998 Two error messages returned for incorrect encoding for mb_strto[upper|lower] 2008-02-16 12:01:43 +00:00
Rui Hirokawa ad400f1144 fixed #43994 mb_ereg 'successfully' matching incorrectly. 2008-02-16 11:46:03 +00:00
Rui Hirokawa 179b370957 fixed #43841 mb_strrpos offset is byte count for negative values. 2008-02-16 10:43:57 +00:00
Rui Hirokawa c00121c5a8 fixed bug #43840 mb_strpos bounds check is byte count rather than a character count. 2008-02-16 08:58:00 +00:00
Rui Hirokawa e67c124e61 removed unnecessary space. 2008-02-16 08:32:26 +00:00
Rui Hirokawa 852bf6e55a 'auto' encoding was not initialized correctly per request basis. 2008-02-16 08:21:39 +00:00
Christopher Jones 47c7035ea6 MFB: Test existing LOB error messages 2008-02-16 03:01:53 +00:00
Christopher Jones 07a79208b6 Streamlined code and incorporated review comments. Respect oci8.ping_interval when oci_pconnect called multiple times in a script. Changed OCIServerVersion to OCIPing (http://pecl.php.net/bugs/bug.php?id=11976) 2008-02-16 01:20:22 +00:00
Christopher Jones 2f62d300f7 MHB: Bug #44113 (New collection creation can fail with OCI-22303) 2008-02-15 23:24:45 +00:00
Josie Messa 73004ae4b0 - New tests for rsort() function 2008-02-15 16:06:38 +00:00
Pierre Joye 4652c2bf2c - [DOC] add PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,
PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants
2008-02-15 14:51:39 +00:00
Dmitry Stogov f27c1b9d07 optimization 2008-02-15 14:45:42 +00:00
Derick Rethans d161f4ec88 - Fixed speling. 2008-02-15 12:48:13 +00:00
Derick Rethans a764d75d08 - Add the ReflectionProperty::setAccesible() method that allows non-public
property's values to be read through ::getValue().
#- [DOC]
2008-02-15 12:38:53 +00:00
Antony Dovgal 2fb4ea9c4f MFH 2008-02-15 09:35:53 +00:00
Antony Dovgal 0970b9f5e9 MFH: recursion protection in count() 2008-02-15 09:33:09 +00:00
Antony Dovgal 0c01626f1c MFH 2008-02-15 09:20:25 +00:00
Dmitry Stogov 7b6238c61f Fixed bug #43507 (SOAPFault HTTP Status 500 - would like to be able to set the HTTP Status) 2008-02-15 06:51:12 +00:00
Josie Messa 0430464b11 - New tests for count() function 2008-02-14 16:49:58 +00:00
Ilia Alshanetsky e2c5bdae51 Fixed test on 64bit machines 2008-02-14 16:29:45 +00:00
Andrey Hristov 28e7d996df Another fix 2008-02-14 15:20:49 +00:00
Andrey Hristov 7e0be017df Fix memory errors< 2008-02-14 14:50:21 +00:00
Dmitry Stogov e563a6d979 Fixed bug #44069 (Huge memory usage with concatenation using . instead of .=) 2008-02-14 14:42:00 +00:00
Josie Messa d972e43b1d - New tests for array_values() function 2008-02-14 14:22:43 +00:00
Felipe Pena aefe056911 MFB: Fixed Bug #42838 (Wrong results in array_diff_uassoc) 2008-02-14 14:08:22 +00:00
Felipe Pena fcb243f6e7 New test 2008-02-14 13:50:36 +00:00
Andrey Hristov 2d9d22395f Update mysqlnd - fix bg_store 2008-02-14 12:49:30 +00:00
Josie Messa 786746cb07 - New tests for array_slice() function 2008-02-14 11:17:36 +00:00
Dmitry Stogov fb50ef1aab Reverted memrchr() patch, because it is broken on linux 64-bit 2008-02-14 10:25:22 +00:00
Zoe Slattery 0f13364729 Fixing typo arg->arglist at line 195. Thanks Chris J! 2008-02-14 10:15:44 +00:00
Dmitry Stogov 4de1e20fbb Fixed memory leak 2008-02-14 08:46:25 +00:00
Ilia Alshanetsky e6e162bc8e New calendar parsing API 2008-02-13 23:50:35 +00:00
Derick Rethans 3edbc7b0b3 - MFH: Add some missing elements from the return value. 2008-02-13 21:53:12 +00:00
Marcus Boerger a976367865 - MFH Add missig .cvsignore 2008-02-13 21:04:23 +00:00
Etienne Kneuss 12bd169f24 MFH: Fix inconcistencies between substr and substr_compare 2008-02-13 17:02:16 +00:00
Josie Messa a74685ea0d - New tests for array_shift() function 2008-02-13 16:42:17 +00:00
Dmitry Stogov 9fdaddc56d Use memrchr() instead of zend_memrchr() if available. (Nuno) 2008-02-13 16:22:01 +00:00
Josie Messa f32e65988c - New tests for array_push() function 2008-02-13 16:12:48 +00:00
Josie Messa 4546084866 - committing tests for array_merge() function 2008-02-13 14:20:58 +00:00
Josie Messa 6b522fdd50 - committing tests for array_key_exists() function 2008-02-13 13:16:21 +00:00
Marcus Boerger 1d98b27235 - MFH Make this behave like in <= 5.2.5 and test for it 2008-02-13 12:05:34 +00:00
Greg Beaver 9feb21f5f1 MFH: fix potential memleak due to destruction of filterparams zval 2008-02-12 23:28:05 +00:00
Andrey Hristov 49172e3c4b Fix windows build - VC doesn't like nested macros 2008-02-12 22:05:34 +00:00
Johannes Schlüter 2c079e328b - MFH: Make clear what's going on and avoid overwriting parameters 2008-02-12 20:43:42 +00:00
Johannes Schlüter d211430aa7 MFH: - Fix build with TSRM and mysqlnd 2008-02-12 20:19:21 +00:00
Hannes Magnusson 59498c8c5a Fix test 2008-02-12 20:05:29 +00:00
Ilia Alshanetsky 77efd89617 Disable mbstring overload 2008-02-12 18:23:14 +00:00
Josie Messa b46602c028 - committing array_change_key_case variation tests 2008-02-12 17:44:50 +00:00
Antony Dovgal a47e15d8b5 MFH 2008-02-12 10:54:54 +00:00
Andrey Hristov c95c7c7d3f Fix typo 2008-02-12 10:51:39 +00:00
Felipe Pena ce197075b0 Fixed Bug #44094 (SEGFAULT when using mysql_connect()) 2008-02-12 10:11:55 +00:00
Dmitry Stogov 82b31e01ae Added NOWDOC 2008-02-12 09:28:01 +00:00
Dmitry Stogov ddcf7a2f49 Added NEWDOC 2008-02-12 09:27:45 +00:00
Dmitry Stogov 51278b6d22 Fixed ext/tokenizer test failures because of token renumbering 2008-02-12 08:49:08 +00:00
Zoe Slattery 5932b49990 Fixing 44092 2008-02-12 07:15:40 +00:00
Felipe Pena ea3a6ed11f array_slice() - Fixed behavior when NULL is given in third parameter (BC) 2008-02-12 01:31:12 +00:00
Felipe Pena d4dbddd2be New test 2008-02-12 01:19:48 +00:00
Stanislav Malyshev bbc813d360 fix folding 2008-02-12 01:17:48 +00:00
Stanislav Malyshev ad7e2f8712 HNY 2008-02-12 00:45:14 +00:00
Stanislav Malyshev 3ffa0df5e7 add T_DIR 2008-02-12 00:42:20 +00:00
Stanislav Malyshev 27d4a3f6c3 add tests for __DIR__ 2008-02-12 00:26:51 +00:00
Stanislav Malyshev b6e6e77fce __DIR__ announce 2008-02-12 00:24:12 +00:00
Stanislav Malyshev fd597dce1b [DOC] Add compile-time __DIR__ constant which implements dirname(__FILE__) 2008-02-12 00:21:15 +00:00
Andrey Hristov cf07e941f1 cvs sync 2008-02-11 16:44:48 +00:00
Etienne Kneuss 80861c001e MFH: Provide ctod/dtor with TSRM 2008-02-11 16:39:20 +00:00
Ilia Alshanetsky 70e913bdad Fixed test on 64bit machines 2008-02-11 16:02:46 +00:00
Hannes Magnusson 86c9b5e46c Fix segfaults when calling "ctors statically" 2008-02-11 15:46:10 +00:00
Andrey Hristov 55b1f666d7 new 6.0 flag 2008-02-11 14:48:04 +00:00
Etienne Kneuss 901cb5a454 MFH: cosmetics 2008-02-11 13:59:23 +00:00
Antony Dovgal 038696fed1 MFH 2008-02-11 13:34:41 +00:00
Johannes Schlüter 80d3438c46 - Fix typo (see #44095) 2008-02-11 00:01:11 +00:00
Johannes Schlüter 5054799bd2 MFH: The exact message differs on different systems 2008-02-10 23:37:03 +00:00
Ilia Alshanetsky a28b1f6d3a Possible fix for bug #43861 2008-02-10 14:49:23 +00:00
Johannes Schlüter 824b19a4d8 MFH: Fix build on Solaris 2008-02-09 21:59:17 +00:00
Marcus Boerger da2a1799ca - MFH Windows build fix 2008-02-09 21:22:31 +00:00
Nuno Lopes 46b9c23008 fix ===DONE=== with windows EOLs 2008-02-08 16:46:23 +00:00
Nuno Lopes 38149b6207 add new test to test function with many arguments (i.e. test the new stack implementation)
this increases the converage of zend_execute.h by 18%
2008-02-08 13:49:27 +00:00
Dmitry Stogov 3ea9c13c4b Improved md5() implementation (Solar Designer) 2008-02-08 09:11:17 +00:00
Ilia Alshanetsky 54680a30fc Update copyright 2008-02-07 19:39:50 +00:00
Marcus Boerger c7f71a7dd0 - MFH Simplify 2008-02-07 18:42:01 +00:00
Marcus Boerger dff168c38b - MFH Add %Z to *printf 2008-02-07 18:41:35 +00:00
Jani Taskinen 7e00a410b3 fix test 2008-02-07 13:44:50 +00:00
Marcus Boerger 45e6d1e333 - MFH WS 2008-02-07 12:47:44 +00:00
Jani Taskinen 3493b0734d MFH 2008-02-07 12:15:53 +00:00
Antony Dovgal a57ce92705 MFH: fix TSRM mutex return value inconsitencies (patch by Scott MacVicar) 2008-02-07 09:06:45 +00:00
Ilia Alshanetsky 87eb2a9ec3 New param parsing API 2008-02-07 02:08:45 +00:00
Marcus Boerger b7b41a6612 - MFH Fix missing check and tests 2008-02-06 20:40:19 +00:00
Jani Taskinen de499c965f MFH 2008-02-06 19:13:56 +00:00
Jani Taskinen d2b77f5cf3 MFH:- Fixed bug in handling arrays which caused the original array being modified too. 2008-02-06 19:06:58 +00:00
Andrey Hristov c2a5e180c7 Fix a test 2008-02-06 15:34:35 +00:00
Andrey Hristov 9790d7bfe8 MFH: Fix a compatibility bug and a failing test 2008-02-06 14:12:32 +00:00
Andrey Hristov 72c97a14e5 MFH: Fix test 2008-02-06 13:01:58 +00:00
Andrey Hristov 1caa85a682 Pconnect working with mysqli_real_connect(). To less failing tests. 2008-02-06 11:34:44 +00:00
Marcus Boerger f6a0999957 - WS/Cleanup/grouping - WOW that'll be a really nice release!
# Thanks for everyone working on this already!!
2008-02-06 11:07:20 +00:00
Zoe Slattery d7fd465bae Fixing bug 44042 2008-02-06 10:56:22 +00:00
Zoe Slattery a6fe8d8ca7 Fixing 32 bit specific 2008-02-06 09:36:58 +00:00
Zoe Slattery a111cabedc Tests for assorted Maths functions 2008-02-06 08:44:24 +00:00
Marcus Boerger f23526528e - MFH Add new test 2008-02-05 19:08:42 +00:00
Marcus Boerger 0976a2646a - MFH Fix cross class tree reference issues with callbacks (colder,helly) 2008-02-05 19:08:24 +00:00
Ilia Alshanetsky 6e9ef8e316 Fixed bug #44046 (crash inside array_slice() function with an invalid
by-ref offset).
2008-02-05 15:58:27 +00:00
Robert Nicholson 178839f667 - fix arsort_variation3.phpt which was missing its EXPECT section 2008-02-05 11:19:17 +00:00
Hannes Magnusson ed1bafe5d7 Fix test 2008-02-05 08:41:04 +00:00
Marcus Boerger 95262f8ac3 - MFH Really last flag change (got confused with code) 2008-02-04 21:37:47 +00:00
Jani Taskinen 8a70a554d6 MFH: - Fixed bugs #43915, #43923 and #44019, a tiny performance issue fixed too 2008-02-04 20:45:20 +00:00
Marcus Boerger dc8bfcaade - MFH Update docu 2008-02-04 20:40:47 +00:00
Jani Taskinen a0f168752e MFH: allow using these constants in php.ini (f.e. PHP_SAPI..) 2008-02-04 20:39:21 +00:00
Marcus Boerger 8f6a6a800e - MFH Fix/add folding markers 2008-02-04 19:40:49 +00:00
Marcus Boerger 81a5389af7 - MFH Really fix flag handling 2008-02-04 19:33:10 +00:00
Marcus Boerger b7a04d786f - MFH Fix #44018 (RecursiveDirectoryIterator options inconsistancy) 2008-02-04 18:46:13 +00:00
Andrey Hristov 2b6e11b555 Simplify unique string generation and plug a leak. 2008-02-04 17:55:06 +00:00
Andrey Hristov 2d5e8a1e55 Fix a leak, memory warning and failing test case. 2008-02-04 17:33:46 +00:00
Marcus Boerger a547c556b6 - MFH Fix default flag value in contructor 2008-02-04 17:19:07 +00:00
Marcus Boerger 36caad5628 - MFH Fix messages and tests 2008-02-04 17:07:07 +00:00
Marcus Boerger fdf95a00dc - CS/WS 2008-02-04 16:48:06 +00:00
Sebastian Bergmann 00586196de MFH: Add missing Reflection API metadata for DOM classes. 2008-02-04 15:22:59 +00:00
Robert Nicholson a9418da4fc - added some new tests for arsort 2008-02-04 00:05:24 +00:00
Marcus Boerger 927b26598f - Update .cvsignore 2008-02-03 18:30:49 +00:00
Marcus Boerger 0ebb904bbb - Small improvements, no malloc needed for the zval 2008-02-03 17:49:46 +00:00
Ilia Alshanetsky c466f232bc Fixed bug #44028 (crash inside stream_socket_enable_crypto() when enabling
encryption without crypto type)
2008-02-03 16:14:16 +00:00
Marcus Boerger 8976db80c5 - MFH Typo 2008-02-03 14:48:38 +00:00
Marcus Boerger f3d7570197 - MFH Rename it again
[DOC]
- MFH Add config_get_hash()
2008-02-03 14:45:00 +00:00
Marcus Boerger fa94dabd97 - MFH Rename dump_config_hash() to get_config_hash() as it doesn't dump 2008-02-03 14:35:59 +00:00
Marcus Boerger 1ecdaa3885 - Fix warnings 2008-02-03 14:32:48 +00:00
Felipe Pena e2c7b27130 Fixed reference problem (variable were converted) 2008-02-03 14:30:25 +00:00
Derick Rethans a61e5f897c - MFH: Support "first/last day of <month>" style texts. 2008-02-03 14:15:07 +00:00
Marcus Boerger 2cc49ecfb2 - Only one line heading 2008-02-03 13:32:07 +00:00
Felipe Pena d37b0fca19 Missing Johannes' name 2008-02-03 12:59:41 +00:00
Zoe Slattery 70c629cdae Moving the the phpt generation script to scripts/dev directory at Jani's suggestion. 2008-02-03 09:34:59 +00:00
Marcus Boerger b628fc219a - MFH Synch directory changes
[DOC]
# Class FilesystemIterator was introduced to have a better DirectoryIterator
# without having to change DirectoryIterator or RecursiveDirectoryIterator.
# On top of FilterIterator the new GlobIterator was introduced. This one allows
# to implement Countable(). But a glob stream flattens all structure, so it
# cannot be derived from RedursiveIterator. With the new structure all children
# of FilesystemIterator have nearly the same behavior. Just their capabilities
# are a bit different. Check out new inheritance tree on SplFileInfo:
#
# [marcus@frodo PHP_5_3]$ php ext/spl/examples/class_tree.php SplFileInfo
# make: `sapi/cli/php' is up to date.
# SplFileInfo
# |-DirectoryIterator (Iterator)
# | \-FilesystemIterator
# |   |-GlobIterator (Countable)
# |   \-RecursiveDirectoryIterator (RecursiveIterator)
# |     \-Phar (ArrayAccess, Countable)
# |-PharFileInfo
# \-SplFileObject (RecursiveIterator, SeekableIterator)
#   \-SplTempFileObject
2008-02-02 23:09:38 +00:00
Antony Dovgal 4904889568 MFH: fix leak appearing when calling non-static protected or private methods as static 2008-02-02 22:29:41 +00:00
Marcus Boerger cd2953db57 - MFH Show interfaces 2008-02-02 21:02:25 +00:00
Derick Rethans 3121962808 - MFH: Make timezone_open() work again. 2008-02-02 17:25:54 +00:00
Marcus Boerger da5b979f88 - MFH Add comment that explains why we need E_ERROR in those cases 2008-02-02 15:48:04 +00:00
Marcus Boerger 1cc463b88a - Fix tests 2008-02-02 15:19:06 +00:00
Marcus Boerger ac8e76c714 - Fix remaining issue (should be last one) 2008-02-02 15:18:30 +00:00
Marcus Boerger 02b13cdd8a - Fix the expectations. Tests still fails because of something else. 2008-02-02 14:37:29 +00:00
Marcus Boerger 7769fda15c - Drop useless TODO, this would need to be fixed in a generic way 2008-02-02 14:19:03 +00:00
Marcus Boerger f3c1a9fa02 - It appears HEAD needs to be MFB'ed and this needs another fix now 2008-02-02 14:03:13 +00:00
Marcus Boerger 14b087192c - MFH Use new parameter parsing API 2008-02-02 13:58:31 +00:00
Marcus Boerger 95a3cccf5f - Fix flag handling in message generation 2008-02-02 13:56:59 +00:00
Marcus Boerger 30eb2dcabf - MFH Fix tests 2008-02-02 13:33:41 +00:00
Rasmus Lerdorf 0530f9e327 Countable requires SPL 2008-02-02 09:53:44 +00:00
Felipe Pena ad476edcee Fix the fix 2008-02-02 04:03:03 +00:00
Felipe Pena 1e294b1d37 Fix tests (new error message) 2008-02-02 03:20:51 +00:00
Felipe Pena 5b0a79cfba Fix tests (new error message) 2008-02-02 03:15:46 +00:00
Felipe Pena e88c5b082b Fix tests (new error message) 2008-02-02 03:00:57 +00:00
Felipe Pena d34f0a08f8 Fix tests (new error message) 2008-02-02 02:45:44 +00:00
Felipe Pena 8241db1b21 Fix tests (new error message) 2008-02-02 02:36:08 +00:00
Felipe Pena 0588ddce2a Fix tests (new error message) 2008-02-02 02:29:27 +00:00
Rasmus Lerdorf c075476810 Another batch of fixed tests 2008-02-02 01:51:17 +00:00
Felipe Pena 17e1a396c1 Ops, fix the fix 2008-02-02 01:48:29 +00:00
Felipe Pena 315f534c02 Fix tests (new error message) 2008-02-02 01:40:45 +00:00
Rasmus Lerdorf 54e98bbb97 Fix a few more tests 2008-02-02 01:31:18 +00:00
Rasmus Lerdorf 539eaceddc What's the [0] for here? Looks wrong and causes stuff to segv 2008-02-02 01:12:01 +00:00
Rasmus Lerdorf 1ee260b121 Fix test and convert to UNIX line endings 2008-02-02 01:01:04 +00:00
Rasmus Lerdorf f48bd05482 Fix more tests (some of these were not broken by the recent changes) 2008-02-02 00:55:35 +00:00
Rasmus Lerdorf 9411b268b2 2 more test fixes 2008-02-02 00:44:45 +00:00
Rasmus Lerdorf b9954bef45 Fix some tests 2008-02-02 00:29:17 +00:00
Marcus Boerger 7cced8f520 - Fix build, thanks Christian Rodriguez for noticing
# I wonder why the other machine didn't catch this
2008-02-01 23:46:36 +00:00
Antony Dovgal b4b0816578 fix test, add 64bit version 2008-02-01 23:19:16 +00:00
Rasmus Lerdorf 45db15ad4e Small tweak. Need to make array and string callback syntax behave the
same way.  Also change "cannot" to "should not" since we obviously
"can" make the call.
2008-02-01 23:09:10 +00:00
Marcus Boerger e8a8acdf39 [DOC]
- Fix callable/static mess, the following will now all result in a E_STRICT
  . binding a dynamic function as a static callback
  . static call of a dynamic function
  . is_callable() on a static binding to a dynamic function
# [marcus@frodo PHP_5_3]$ php -a -d error_reporting=8191
# make: `sapi/cli/php' is up to date.
# Interactive shell
#
# php > class t{ function f() { echo "Funny\n"; } }
# php > $c = array("t","f");
# php > call_user_func($c);
#
# Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method t::f() cannot be called statically in php shell code on line 1
# Funny
# php > var_dump(is_callable($c));
#
# Strict Standards: Non-static method t::f() cannot be called statically in php shell code on line 1
# bool(true)
# php > t::f();
#
# Strict Standards: Non-static method t::f() should not be called statically in php shell code on line 1
# Funny
# php >
2008-02-01 21:27:55 +00:00
Felipe Pena 4ac6390098 MFH: Added new parameter for strstr(), stristr() 2008-02-01 18:01:50 +00:00
Zoe Slattery c8a73b7c84 Command line script to help generate the basic framework of a PHPT 2008-02-01 17:45:38 +00:00
Zoe Slattery 84be2df52a A few new tests for math functions - Note the "constants" test will fail on Windows - Bug 42143. 2008-02-01 17:21:18 +00:00
Robert Nicholson a7de596df2 - a few more gd tests (committed on behalf of andy wharmby) 2008-02-01 16:33:17 +00:00
Josie Messa 51fe79c055 - Committing new tests for MBString extension.
More details can be found here: http://news.php.net/php.qa/62382
2008-02-01 15:29:59 +00:00
Felipe Pena 8c76a00f93 New tests and fix tests (new error message) 2008-02-01 13:41:19 +00:00
Felipe Pena 79cfa91a43 MFH: New parameter 'before_needle' 2008-02-01 12:28:44 +00:00
Hannes Magnusson 79da75ced0 glob:// was added in 5.3, no need to mention bug fixes for it 2008-02-01 10:45:48 +00:00
Christopher Jones 680cf8e994 MFH: New test for old, suspended bug 2008-01-31 22:03:23 +00:00
Rob Richards d1459b8554 MFH: fix bug #42369 (Implicit conversion to string leaks memory)
add test
2008-01-31 21:58:57 +00:00
Rasmus Lerdorf 7b307cc256 Typo 2008-01-31 21:36:40 +00:00
Rasmus Lerdorf 9687442341 These two tests both need a timezone 2008-01-31 21:03:32 +00:00
Ilia Alshanetsky 353d1ea039 PDO is hardly experimental 2008-01-31 20:50:27 +00:00
Christopher Jones 96e9484907 Update test environement description. Typos 2008-01-31 20:21:27 +00:00
Nuno Lopes c10e57b11e try to fix build with gcc 4: take #2 2008-01-31 18:46:03 +00:00
Rasmus Lerdorf 3275f1b057 There are plenty of other non-Windows operating systems 2008-01-31 18:31:54 +00:00
Nuno Lopes 5fce0e51fd try to fix build with gcc 4: take #1 2008-01-31 18:30:42 +00:00
Marcus Boerger 9b3eb44f79 - fix flag handling in is_callable() 2008-01-31 11:21:15 +00:00
Marcus Boerger 55b17871a4 - MFH Fix test 2008-01-31 07:44:01 +00:00
Elizabeth Marie Smith 78a9df9004 Fix windows build 2008-01-31 02:35:44 +00:00
Christopher Jones 87dcb8df8e Merge DRCP & FAN support. PHP6 sync will happen later 2008-01-31 01:33:30 +00:00
Marcus Boerger 116539a5d1 - WS 2008-01-30 23:45:12 +00:00
Marcus Boerger 81b40f7047 - MFH Get rid of overoptimization 2008-01-30 23:43:13 +00:00
Marcus Boerger ef9453546e - Sub path may be NULL 2008-01-30 23:08:13 +00:00
Marcus Boerger 0b71904acc - Fixed glob:// stream handling in (Recursive)DirectoryIterator. 2008-01-30 20:31:07 +00:00
Ilia Alshanetsky 92ebb2e282 Fixed bug #43981 (gmp_div_r() does not preserve the sign of 1st argument) 2008-01-30 18:25:51 +00:00
Zoe Slattery 1e29793386 Removing superfluous --INI-- section 2008-01-30 17:50:38 +00:00
Felipe Pena 544f6dfd49 Fix test 2008-01-30 16:06:44 +00:00
Rob Richards 8a64e9de36 MFH: fix bug #41562 (SimpleXML memory issue) 2008-01-30 15:28:46 +00:00
Felipe Pena 6a2f085f1e Fix test 2008-01-30 14:49:20 +00:00
Felipe Pena 2c90b7127c Revert 2008-01-30 14:45:20 +00:00
Robin Fernandes 7eb114a9cf Adding tests for class features, including __autoload(), property inheritance rules and class constants. 2008-01-30 14:25:57 +00:00
Felipe Pena b9df996a3b Fix the fix (isInstance - order of parameters) 2008-01-30 13:42:01 +00:00
Antony Dovgal ca44081e6b fix ZTS build 2008-01-30 12:50:59 +00:00
Felipe Pena 7ef18ce15d Fix tests 2008-01-30 11:43:10 +00:00
Felipe Pena 8452585fc8 Fixed Bug#43926 (isInstance() isn't equivalent to instanceof operator) 2008-01-30 10:27:28 +00:00
Dmitry Stogov 240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Rasmus Lerdorf 71efa394a6 fix typo 2008-01-30 08:52:17 +00:00
Dmitry Stogov 1a41611372 ZTS fix 2008-01-30 08:10:17 +00:00
Sebastian Bergmann 0c749ab10a MFH: Fix arginfo. 2008-01-30 06:48:13 +00:00
Stanislav Malyshev b4443f35ff fix #43941: invalid utf-8 not accepted 2008-01-30 03:17:57 +00:00
Ilia Alshanetsky 6a455ee097 Change readline extension status to Working 2008-01-30 00:07:38 +00:00
Rasmus Lerdorf 9ae934d5c4 Fixed bug #43957 (utf8_decode() bogus conversion of partial multibyte UTF8 char) 2008-01-29 23:21:11 +00:00
Rob Richards d7622b8ecf MFH: fix win32 build 2008-01-29 22:06:43 +00:00
Stanislav Malyshev 223a53fdeb rm cruft 2008-01-29 22:03:01 +00:00
Sebastian Bergmann 9d86113b20 MFH: Fix arginfo and prototype. 2008-01-29 21:21:20 +00:00
Nuno Lopes 3f7b92c06c upgrade to PCRE 7.6.
#changes to code are minimal. this fixes a security bug
2008-01-29 20:18:02 +00:00
Derick Rethans 99c56139c7 - That should have been ||. 2008-01-29 20:14:18 +00:00
Derick Rethans 81f2dc39bd - Make whitespace the same as in HEAD. 2008-01-29 20:12:53 +00:00
Derick Rethans 6878464e06 - MFH: Fixed bug #43960 (strtotime() returns timestamp in the future when given
a bogus string).
2008-01-29 20:10:24 +00:00
Dmitry Stogov 8cab54a897 Fixed bug #43968 (Extending internal class causes a crash)
The fix is a workaround for GCC optizer bug.
2008-01-29 20:01:31 +00:00
Andrey Hristov 829831f5ba Fix the build, add a missing file 2008-01-29 18:11:46 +00:00
Sebastian Bergmann c08da2a66d MFH: Add Reflection API metadata for DOMXPath. 2008-01-29 15:55:23 +00:00
Sebastian Bergmann 8b87b2b12b MFH: Add Reflection API metadata for DOMNode. 2008-01-29 15:23:18 +00:00
Dmitry Stogov 0ac1830d9c Fixed bug #43491 (Under certain conditions, file_exists() never returns) 2008-01-29 14:24:55 +00:00
Antony Dovgal ea5148d394 entry moved to 5_2 2008-01-29 13:39:57 +00:00
Dmitry Stogov a55d235fef missing spaces 2008-01-29 12:25:25 +00:00
Antony Dovgal 9a16d91117 fix test
Derick, you're adding new methods too fast =)
2008-01-29 12:23:48 +00:00
Andrey Hristov 00877eff13 Moved initialization code into a function. 2008-01-29 11:59:53 +00:00
Dmitry Stogov 9770b3cb00 Fixed bug #43323 (Wrong count abstract methods). (Felipe, Dmitry) 2008-01-29 11:12:57 +00:00
Dmitry Stogov e0ca3b2424 Fixed types 2008-01-29 11:12:07 +00:00
Dmitry Stogov 382f1dddfa Fixed bug #43505 (Assign by reference bug) 2008-01-29 10:45:07 +00:00
Dmitry Stogov 58433c9b11 Fixed bug #43918 (Segmentation fault in garbage collector) 2008-01-29 09:59:42 +00:00
Antony Dovgal b989cba092 BFN 2008-01-29 08:57:26 +00:00
Robert Nicholson 1d6ac15b3d - MFH compact_variation1.phpt - fix for bug #29044 2008-01-29 08:50:43 +00:00
Sebastian Bergmann 98527ad549 MFH: Add Reflection API metadata for XSLTProcessor. 2008-01-29 07:51:43 +00:00
Ilia Alshanetsky 3eb387155a Simplify code 2008-01-29 01:17:30 +00:00
Antony Dovgal 183ed5b686 MFH: fix #43596 (array_slice(): $length arg ignored when it is 0) 2008-01-29 00:39:46 +00:00
Antony Dovgal 4252942abd MFH: fix typo and bug #43646 2008-01-29 00:07:26 +00:00
Stanislav Malyshev 2cd551ffec fix type 2008-01-28 23:55:53 +00:00
Andrey Hristov d95c29d7f6 Moving extension specific code to php_mysqlnd.c as the old rule is. 2008-01-28 23:23:08 +00:00
Antony Dovgal ec34464024 BFN 2008-01-28 23:08:54 +00:00
Antony Dovgal 89273e1482 add test 2008-01-28 23:07:45 +00:00
Antony Dovgal 37a607c7f8 fix #43927 (koi8r is missing from html_entity_decode())
patch by andy at demos dot su
2008-01-28 23:07:12 +00:00
Andrey Hristov 2033c1b7f2 some config.w32 fixes
moved mysqlnd's block allocator to a separate file and also now
it's part of the connection, no MT problems.
2008-01-28 22:50:06 +00:00
Marcus Boerger e9914e9d06 - MFH Make SplObjectStorage implement ArrayAccess
[DOC]
2008-01-28 22:48:15 +00:00
Derick Rethans a1180690a4 - MFH: Added two optional parameters to timezone_transitions_get() /
DateTimeZone::getTranstions() to limit the range of transitions being
  returned.
2008-01-28 21:12:41 +00:00
Derick Rethans afd01152f4 - Fixed test case. 2008-01-28 21:00:14 +00:00
Derick Rethans 19f6fcce87 - Add missing folding tags. 2008-01-28 20:35:17 +00:00
Derick Rethans 13d75ce6e6 - MFH: Send the debug info to stderr instead of stdout. 2008-01-28 20:34:02 +00:00
Derick Rethans ffbe501ad2 - MFH: Added date_timestamp_get() / DateTime::getTimestamp() to retrieve the
Unix timestamp belonging to a date object.
2008-01-28 20:30:51 +00:00
Andrey Hristov 7932ccba6d More optimizations - less MM calls
Clearly separated fetching (physical reading) from decoding phases (data
interpretation). Threaded fetching added but disabled as needs more work for
Windows. For Linux needs some touches to add pthreads if this is enabled,
probably with a compile-time switch.
The code reorganisation makes it easy to add also async API, similar to
cURL's one.
2008-01-28 18:25:50 +00:00
Scott MacVicar a7dabd575a MFH: Fixed bug #43954 (Memory leak when sending the same HTTP status code more than once.) 2008-01-28 16:09:08 +00:00
Nuno Lopes 47e009d392 remove unused PHP_MYSQL_API macro 2008-01-28 11:16:00 +00:00
Dmitry Stogov 8d7d8bd018 Better message 2008-01-28 08:55:19 +00:00
Derick Rethans 4b7f5f9630 - MFH: Fixed parsing of timezones 2008-01-27 22:16:48 +00:00
Hannes Magnusson bb9fa509fe Fix test 2008-01-27 19:10:41 +00:00
Marcus Boerger a339867860 MFH:
[DOC] Add ability to store associative infor with objects in SplObjectStorage
- Add second parameter to SplObjectStorage::attach()
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()
2008-01-27 18:07:20 +00:00
Derick Rethans dc04a42e5c - MFH: Update proto 2008-01-27 17:44:29 +00:00
Derick Rethans 216d0cb0ff - MFH: Added support for selectively listing timezone identifiers through
timezone_identifiers_list() / DateTimezone::listIdentifiers().
2008-01-27 17:29:14 +00:00
Nuno Lopes 89d271a7b0 fix test 2008-01-27 17:01:11 +00:00
Ilia Alshanetsky ec70cb71f4 WS 2008-01-27 17:00:37 +00:00
Nuno Lopes 500ee29e6c be more strict in the skipif 2008-01-27 16:54:22 +00:00
Nuno Lopes d16f4cad0a fix a bunch of SKIPIF (check for non available locales) 2008-01-27 16:45:43 +00:00
Rob Richards 2e58beee96 MFH: add missing export 2008-01-27 16:33:01 +00:00
Marcus Boerger 5081a15490 - Minor rearrange and fix potential issue with double adding 2008-01-27 15:23:14 +00:00
Marcus Boerger 6b778b0def - MFH revert over constfying 2008-01-27 15:04:41 +00:00
Etienne Kneuss bfe7a47b15 MFH: Typo 2008-01-27 14:08:06 +00:00
Etienne Kneuss 36305912e9 MFH: -Pointer doesn't move if we're moving forward and shifting at the same time
-Userland implementation
-Doxygen doc
2008-01-27 13:59:51 +00:00
Etienne Kneuss 6a7074c837 MFH: Iterator implementation in SplDoublyLinkedList, SplStack, SplQueue 2008-01-26 23:04:43 +00:00
Nuno Lopes 65e86e459a more const kewywording
remove spl_functions_none var (wast used anywhere
2008-01-25 20:29:48 +00:00
Nuno Lopes 00e7f90796 const more 216 bytes (on a 32-bits host) 2008-01-25 20:20:07 +00:00
Nuno Lopes d962918299 const'ify more 372 bytes 2008-01-25 20:11:53 +00:00
Nuno Lopes 678e919635 const'ify more 768 bytes 2008-01-25 20:04:10 +00:00
Nuno Lopes b89396b11e move about 3K of data to the const area. also reduce memory usage (~ -266 bytes :P) 2008-01-25 19:57:57 +00:00
Nuno Lopes 2c1a5c0248 spread some static keywords 2008-01-25 19:38:26 +00:00
Scott MacVicar 23e3baf62d Fix html_entity_decode when converting numeric html entities, the numeric values for the extended characters don't correspond to that of windows-1251 and cp866. 2008-01-25 18:10:45 +00:00
Rob Richards 3e69124430 backport functionality to call user functions within XPath
add test
2008-01-25 16:13:04 +00:00
Rob Richards b65adbb4fb MFH: fix win32 compile 2008-01-25 15:54:58 +00:00
Rob Richards 90f168deae MFH: fix zts build 2008-01-25 15:52:48 +00:00
Antony Dovgal 2907ae9d73 MFH: endless loop (and stack overflow) protection in compact() 2008-01-25 13:42:36 +00:00
Ilia Alshanetsky 1a7b75eb11 Adjust new chr() param handling to address chr("") calls 2008-01-25 01:31:10 +00:00
Robert Nicholson be2ae4e76f - Add a basic test for array_shuffle() 2008-01-25 00:32:22 +00:00
Robert Nicholson 3b8256dce4 - add some basic tests for array diff and intersection functions 2008-01-25 00:13:49 +00:00
Antony Dovgal 39b585001a MFH 2008-01-24 23:02:07 +00:00
Dmitry Stogov d90ebc65a6 Fixed comilation warnings 2008-01-24 18:07:45 +00:00
Robert Nicholson c09d8d931f - New tests for compact() 2008-01-24 14:51:20 +00:00
Rob Richards abc8920bb6 MFH: fix zts build 2008-01-24 14:09:36 +00:00
Dmitry Stogov 2fd21da895 Increased Zend MM cache size 2008-01-24 12:21:32 +00:00
Dmitry Stogov 5a00207c6d Fixed possible GC failure because of EG(object_store).object_buckets reallocation 2008-01-24 11:48:54 +00:00
Dmitry Stogov 03c018d34e Fixed GC bug 2008-01-24 10:49:26 +00:00
Derick Rethans 3bd291e118 - MFH: Show GC statistics if GC benchmarking is enabled.
#- Discussed this with Dmitry.
2008-01-24 10:42:12 +00:00
Dmitry Stogov f8297f6e37 Fixed bug #43426 (crash on nested call_user_func() calls) 2008-01-24 09:47:00 +00:00
Dmitry Stogov 0b6825102d Changed EG(argument_stack) implementation. 2008-01-24 09:41:39 +00:00
Dmitry Stogov 07000cc2ba Fixed error message 2008-01-24 08:51:38 +00:00
Ilia Alshanetsky 93759a4288 Added myself as pdo_mysql & pdo_pgsql maintainer 2008-01-23 23:08:27 +00:00
Stanislav Malyshev 529c17665f fix build 2008-01-23 19:55:37 +00:00
Andrey Hristov c52b63ea1d Merge with internal version 2008-01-23 19:11:28 +00:00
Dmitry Stogov 0095544c4d Additional executor specialization 2008-01-23 17:55:55 +00:00
Antony Dovgal e837a3b7b6 BFN 2008-01-23 12:13:40 +00:00
Antony Dovgal 67c8d8d95e MFH: fix #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values)
patch by Felipe
2008-01-23 12:09:52 +00:00
Antony Dovgal d008f576b0 use expectF 2008-01-23 09:55:53 +00:00
Antony Dovgal ff183efe61 fix test 2008-01-23 09:54:38 +00:00
Antony Dovgal a5505302e4 fix leak appearing when appending data to unnamed attribute 2008-01-23 09:52:57 +00:00
Ilia Alshanetsky 9f35febdf1 Fixed bug #43912 (Interbase column names are truncated to 31 characters) 2008-01-23 01:22:24 +00:00
Marcus Boerger 10a0f20652 - MFH Bugfix #37076 (SimpleXML ignores .=). (felipe, marcus) 2008-01-22 20:42:22 +00:00
Etienne Kneuss de2bb0f497 MFH: Typos (Dan Scott)
ctor inside the structure. dtor/ctor used on push/pop for better potential interoperability
2008-01-22 19:55:31 +00:00
Antony Dovgal 8d2ad5c12b add new test 2008-01-22 15:42:36 +00:00
Dmitry Stogov 71592cec06 Added garbage collector 2008-01-22 09:27:48 +00:00
Ilia Alshanetsky 2be1ae5415 use new param parsing API 2008-01-22 01:34:24 +00:00
Etienne Kneuss 7366d48c04 MFH: Add doxygen docs for SplDoublyLinkedList, SplStack, SplQueue 2008-01-21 21:55:55 +00:00
Dmitry Stogov fa47e900e2 Changed exception handling. Now each op_array doesn't contain ZEND_HANDLE_EXCEPTION opcode in the end 2008-01-21 19:39:55 +00:00
Dmitry Stogov 7390459e26 Yet another comparison optimisation for usual cases 2008-01-21 19:10:25 +00:00
David Coallier 13be31db35 - Added lcfirst() announcement. 2008-01-21 18:28:11 +00:00
Dmitry Stogov 48379d53e6 Eliminate unnecessary checks for INC/DEC IS_CV 2008-01-21 14:22:59 +00:00
Ilia Alshanetsky 73d031a390 Optimize wddx boolean encoding 2008-01-20 15:33:24 +00:00
Hannes Magnusson 72473f5299 Add note about new getopt() features 2008-01-20 14:14:28 +00:00
Hannes Magnusson 369bf690c4 MFH: Fixed bug#43875 (Two error messages returned for $new and $flag argument in mysql_connect()) 2008-01-20 14:10:44 +00:00
Etienne Kneuss 5c5d5dd0f6 MFH: Fix mem errors 2008-01-20 13:26:03 +00:00
David Coallier a3c09d611c - MFH (lcfirst())
- Initial test for lcfirst
2008-01-19 19:27:22 +00:00
Andrey Hristov 89871ecc54 Fix compile issue 2008-01-19 18:21:44 +00:00
Christopher Jones 90d414fdb6 MFH: Add ifdef 2008-01-18 16:03:51 +00:00
Antony Dovgal 92294297e5 MFH: fix test 2008-01-18 12:48:35 +00:00
Pierre Joye da5b986a72 - MFB: reflect the correct version 2008-01-18 01:11:26 +00:00
Greg Beaver 5f8d225834 MFPECL: install headers 2008-01-18 00:30:10 +00:00
Greg Beaver 0d074e23d3 update module version number 2008-01-18 00:20:56 +00:00
Nuno Lopes ac11490f82 pcre 7.5 is in 5.2 branch as well 2008-01-17 23:02:50 +00:00
Derick Rethans 2d2552956c - Fixed bug #41599 (setTime() fails after modify() is used). 2008-01-17 20:59:10 +00:00
Derick Rethans 3d0797da2b - MFH: Fixed bug #43075 (Support 2007-11-01T24:00:00+00:00). 2008-01-17 20:45:08 +00:00
Derick Rethans 3fb0e425e0 - MFH: Fixed bug #43808 (date_create never fails (even when it should)). 2008-01-17 20:35:02 +00:00
Derick Rethans 2d4db6b8d6 - Fixed bug #43003 (Invalid timezone reported for DateTime objects constructed
using a timestamp).
2008-01-17 19:59:00 +00:00
Derick Rethans e549873c10 - MFH: Added support for abbreviation and offset based timezone specifiers for
DateTime::getOffset() and DateTime::getName().
- MFH: Fixed bug #43527 (DateTime created from a timestamp reports environment
  timezone).
- MFH: Fixed bug #42190 (Constructing DateTime with TimeZone Indicator
  invalidates DateTimeZone).
2008-01-17 18:49:45 +00:00
Lukas Smith fd72cefbda MFH 2008-01-17 14:38:16 +00:00
Ilia Alshanetsky ba3245e12e Fixed bug #43871 (crash inside dns_get_record) 2008-01-17 14:12:12 +00:00
Ilia Alshanetsky 1227a4c57a Fixed bug #42779 (Incorrect forcing from HTTP/1.0 request to HTTP/1.1
response)
2008-01-16 15:49:46 +00:00
Marcus Boerger 626881d9e8 - MFH Fixed Bug #37964 (Reflection shows private methods of parent class)
(felipe@php.net)
2008-01-16 14:21:07 +00:00
David Coallier 516a9c15d6 - Making sure the tests are not failing after modifications to the new
zend-parsing-parameters in ucfirst()
2008-01-16 12:56:20 +00:00
Antony Dovgal 20b021b209 MFH: fix #43863 (str_word_count() breaks on cyrillic "ya" in locale cp1251)
patch by phprus at gmail dot com
2008-01-16 08:34:33 +00:00
Dmitry Stogov a498d64ceb Fixed wrong type cast 2008-01-16 06:15:04 +00:00
David Coallier d6806d5ead - MFH
- Making sure this is also using the good zend parsing and added
  the php_ucfirst function
2008-01-16 03:11:26 +00:00
Christopher Jones 44a985f63e MFH: fix #41941 (oci8 extension not lib64 savvy) 2008-01-16 00:38:03 +00:00
Christopher Jones bfb584bd0f MFH: Testcase for #43492 (nested cursors) 2008-01-15 20:54:59 +00:00
Christopher Jones ed50a373b1 MFB: fix #43497 (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory) 2008-01-15 20:44:31 +00:00
Rob Richards 05534af71b MFH: fix win build 2008-01-15 15:46:20 +00:00
Rob Richards de777461c5 MFH: fix memleak in sign and verify functions 2008-01-15 15:12:47 +00:00
Ilia Alshanetsky 374f3062f8 Allow test to run from any directory 2008-01-15 14:51:50 +00:00
Marcus Boerger 330c8b49f8 - MFH valgrind detection, note in header 2008-01-15 13:03:54 +00:00
Etienne Kneuss 67e82261c2 Fix ZTS build, fix tests 2008-01-15 12:17:35 +00:00
Dmitry Stogov e6588b6620 Fixed bug #43851 (Memory corrution on reuse of assigned value) 2008-01-15 11:52:45 +00:00
Marcus Boerger ba8acfdfdf - Fix the fix 2008-01-15 11:47:05 +00:00
Antony Dovgal 06229e417f oops..
I didn't mean to commit this
2008-01-15 09:48:55 +00:00
Etienne Kneuss 8e2154f711 MFH: Bump year 2008-01-15 09:44:07 +00:00
Etienne Kneuss 1b4cac77ba MFH: Implement splDoublyLinkedList, splQueue, splStack classes in SPL 2008-01-15 09:38:15 +00:00
Antony Dovgal b101ee1a07 MFH: rename macros
patch by colder
2008-01-15 09:36:05 +00:00
Brian Shire 82874e094b MFH: Fix bug #42850 array_walk_recursive() leaves references, refix bug #34982 2008-01-14 22:09:52 +00:00
Ilia Alshanetsky 40dc00410d Missing patch bit from the FETCH_GROUP fix 2008-01-14 18:41:31 +00:00
Marcus Boerger 22221def71 - Fix memleak (found by colder) 2008-01-14 18:13:12 +00:00
Ilia Alshanetsky 6e936f3bdb Fixed in 5.2 2008-01-14 13:46:34 +00:00
Nuno Lopes 5ad7fb31c3 MFB5.2: fix script for files with short names 2008-01-14 09:40:29 +00:00
Nuno Lopes 549eebd97a ignore run-tests generated files 2008-01-14 09:31:56 +00:00
Greg Beaver a0624708c7 MFH: fix windows build for all cases, and always export symbols (Steph Fox) 2008-01-14 03:16:08 +00:00
Greg Beaver 42ef796add MFH: add missing define for statically-built zip ext 2008-01-13 23:37:41 +00:00
Derick Rethans c4fb570ef3 - Fixed TSRM builds. 2008-01-13 18:42:19 +00:00
Ilia Alshanetsky f94d19ffea Fixed test 2008-01-13 17:23:14 +00:00
Derick Rethans 9f979a16bf - Added new date/time functionality:
* date_parse_from_format(): Parse date/time strings according to a format.
  * date_create_from_format()/DateTime::createFromFormat(): Create a date/time
    object by parsing a date/time string according to a given format.
  * date_get_last_errors()/DateTime::getLastErrors(): Return a list of warnings
    and errors that were found while parsing a date/time string through:
    - strtotime() / new DateTime
    - date_create_from_format() / DateTime::createFromFormat()
    - date_parse_from_format()
# [DOC]
2008-01-13 15:16:02 +00:00
Nuno Lopes 18107c0b44 Fixed bug #42945 (preg_split() swallows part of the string) 2008-01-13 14:44:29 +00:00
Nuno Lopes 4c501a0ab6 upgrade PCRE to version 7.5 2008-01-13 12:44:57 +00:00
Greg Beaver ccc0d6e32b a few fixes: overwrite all my careful work in zipint_alias.h with zipint.h, so had to restore that.
PHP_RAW_NAMED_FE() won't work, have to use ZEND_RAW_FENTRY
2008-01-13 06:22:27 +00:00
Greg Beaver c896933b7c MFH: alias all zip identifiers to avoid potential name conflicts with other apache libs that may export zip symbols 2008-01-13 06:02:30 +00:00
Greg Beaver 4f17800e32 far better fix for bug #40189 2008-01-12 22:03:32 +00:00
Greg Beaver 79abe24b1b MFH: fix faulty fix for Bug #40189, and provide real fix for the bug 2008-01-12 21:28:48 +00:00
Greg Beaver 7c1952c863 MFH: clarify error message on why opening a stream wrapper failed for allow_url_include/allow_url_fopen, add test for allow_url_fopen 2008-01-12 15:50:57 +00:00
Greg Beaver f76eac59c0 MFH: export symbols for use by other extensions like phar 2008-01-12 03:48:39 +00:00
Dmitry Stogov 059bc1d593 Simplified assignment to string offset 2008-01-11 15:10:24 +00:00
Lukas Smith 89a9f08516 MFH 2008-01-11 14:02:12 +00:00
Lukas Smith 597f177c2b MFH 2008-01-11 10:49:15 +00:00
Dmitry Stogov 6be997dca9 Fixed unspecialized executor 2008-01-11 10:08:49 +00:00
Lukas Smith d004800d70 MFH 2008-01-11 09:40:43 +00:00
Dmitry Stogov ab5bddd976 Fixed bug #39346 (Unsetting a static variable inside a destructor causes segfault later on) 2008-01-11 08:42:06 +00:00
Ilia Alshanetsky fa1e1d249b Fixed a bug with PDO::FETCH_COLUMN|PDO::FETCH_GROUP mode when a column # by
which to group by data is specified.
2008-01-11 01:47:18 +00:00
Brian Shire 8a37504831 - MFH fix truncation of large values on 64-bit systems in http_build_query 2008-01-10 20:29:12 +00:00
Rob Richards 38ac30162f MFH: add errors when missing dependencies (Steph) 2008-01-10 18:21:56 +00:00
Marcus Boerger 522166bad1 - MFH Fix bug in example code found by Surf Chen 2008-01-10 10:11:33 +00:00
Dmitry Stogov ed8e2fa031 Added missing warning message 2008-01-10 09:38:23 +00:00
Ilia Alshanetsky 1300527db5 Fixed test 2008-01-10 01:41:25 +00:00
Rob Richards 3aa9268976 MFH: fix crash when using default algorithm 2008-01-09 16:47:25 +00:00
Dmitry Stogov 9c64182ae7 Fixed broken soap.wsdl_cache_enabled 2008-01-09 16:45:48 +00:00
Antony Dovgal 5dbb3e4d83 fix typo 2008-01-09 14:27:31 +00:00
Dmitry Stogov 18226f79bc Remplemented support for SplArray using Traversable interface. 2008-01-09 13:49:40 +00:00
Rob Richards 9238ee440f MFH: fix win32 compile 2008-01-09 11:23:59 +00:00
Greg Beaver 686f30d118 apply proper fix of bug #43793 to zlib.deflate (window+16 = gzip) 2008-01-09 08:12:33 +00:00
Dmitry Stogov b5c4244069 Fixed bug #43703 (Signature compatibility check broken) 2008-01-09 07:57:42 +00:00
Greg Beaver d5b9a39064 apply same fix of bug #43793 to zlib.deflate 2008-01-09 07:03:28 +00:00
Greg Beaver 49e181eff1 fix Bug #43793: zlib filter is unable to auto-detect gzip/zlib file headers 2008-01-09 06:45:36 +00:00
Pierre Joye 3a6acb42b2 - MFB: #43790, fix crash when no family name has been found 2008-01-09 01:51:17 +00:00
Ilia Alshanetsky 8055833fac Fixed bug #43498 (file_exists() on a proftpd server got SIZE not
allowed in ASCII mode).
# Original patch by crrodriguez at suse dot de
2008-01-08 19:08:50 +00:00
Ulf Wendel c7c7e7f318 MySQL 6 compatibility fix. 2008-01-08 13:16:00 +00:00
Andrey Hristov 82e36686b3 strncpy->strlcpy 2008-01-08 13:11:55 +00:00
Ulf Wendel b0b510f6e6 Merge from HEAD: looks more than it is. Whitespace, some SQL formatting changes etc.
No "real" changes.
2008-01-08 12:49:42 +00:00
Ilia Alshanetsky 016ee0bf39 WS 2008-01-07 15:13:17 +00:00
Ilia Alshanetsky e24c17f9b4 MFB: Fixed a safe_mode bypass in cURL identified by Maksymilian Arciemowicz. 2008-01-06 17:12:44 +00:00
Marcus Boerger 041bf3518c - MFH Show info for CL and CGI if both are going to be used 2008-01-06 16:48:11 +00:00
Greg Beaver 27ee8f8806 remove potential preg warnings if --EXPECTHEADERS-- is combined with --EXPECTF-- or --EXPECTRE-- 2008-01-05 21:39:53 +00:00
Greg Beaver f61ba6295a implement --FILE_EXTERNAL-- section for using an external file as --FILE--, use CGI for --EXPECTHEADERS--, fix --POST_RAW-- 2008-01-05 21:05:06 +00:00
Ulf Wendel f316766afe MFH
Added:

  mysqli_fetch_assoc_zerofill.phpt
    checks for UNSIGNED ZEROFILL

  mysqli_stmt_bind_result_zerofill.phpt
    checks for UNSIGNED ZEROFILL

  mysqli_stmt_bind_param_call_user_func.phpt
    Needs to be refined once http://bugs.php.net/bug.php?id=43568
    has been closed and a decision has been made on call_user_func_array().
    There seems to be a BC break between 5_2 -> 5_3 .
    Johannes has an eye on it

Modified:

  mysqli_change_user_insert_id.phpt
    skip test for buggy MySQL Server versions

  mysqli_insert_id.phpt
    added additional checks
2008-01-04 18:20:53 +00:00
Raghubansh Kumar 0b26f6fe7e New testcases for array_diff() function 2008-01-04 14:02:27 +00:00
Raghubansh Kumar 7dc36cff7c New testcases for array_diff_assoc() function 2008-01-04 14:01:45 +00:00
Ulf Wendel 754545d918 MFH: Fix for bug #43036 2008-01-04 09:00:59 +00:00
Ulf Wendel 5dceff0104 MFH: Remove test for deprecated (and removed) function 2008-01-03 17:21:01 +00:00
Ilia Alshanetsky a4674c5ed7 Skip test for PostgreSQL driver since error is too dissimilar to other
drivers
2008-01-03 16:46:52 +00:00
Nuno Lopes 61eb7ae554 remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Johannes Schlüter 32dfad780c - MFH: Remove more replication stuff 2008-01-03 14:33:46 +00:00
Andrey Hristov 60a1a17399 Header protection 2008-01-03 12:49:45 +00:00
Andrey Hristov 18aa7b9607 Remove unused field 2008-01-03 11:37:33 +00:00
Raghubansh Kumar 59558b73cb this testcase has been split into many smaller testcases and committed. 2008-01-03 09:46:00 +00:00
Raghubansh Kumar 4cadbee716 new smaller testcases for array_map() function 2008-01-03 09:43:45 +00:00
Steve Seear af2dfe2e45 Adding PHPT tests for the ReflectionMethod class. 2008-01-03 09:07:07 +00:00
Andrey Hristov fdf20a8287 - Fix problems with double definitions
- Clean up a bit a type mess - 4 types less. No need to have aliases
  for the same thing (unification is the name).
- New macro for Johannes mysqlnd_stmt_ro_result_metadata
2008-01-02 21:14:35 +00:00
Ilia Alshanetsky fc74136a90 Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";") 2008-01-02 19:19:31 +00:00
Ilia Alshanetsky 93264ecc32 Update copyright 2008-01-01 18:30:20 +00:00
Hartmut Holzgraefe 3354b3a480 fixed binary arithmetic (MF5.2) 2008-01-01 18:13:14 +00:00
Derick Rethans eca59c69b5 - Updated to version 2007.11 2008-01-01 15:32:05 +00:00
Hannes Magnusson 9373479cff MFH: Fix test 2008-01-01 14:35:31 +00:00
Sebastian Bergmann 9044a48291 Leftover: Bump copyright year. 2008-01-01 06:15:40 +00:00
Ilia Alshanetsky 79e02d8786 Update copyright 2007-12-31 21:34:42 +00:00
Sebastian Bergmann a5cf49b2d3 Leftover: Bump copyright year. 2007-12-31 07:24:44 +00:00
Sebastian Bergmann d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Sebastian Bergmann f8a8196d63 MFH: Bump copyright year, 1 of 2. 2007-12-31 07:15:43 +00:00
David Soria Parra 07487ad0e7 - Fixed bug #43663 (Extending PDO class with a __call() function doesn't work).
CVS
2007-12-30 17:51:35 +00:00
Ilia Alshanetsky dddc5682db Fixed typo 2007-12-30 16:46:27 +00:00
Jani Taskinen 8a313d8e77 MFH:- This makes no sense with non-ipv6 builds. (and fixes lot of issues with misconfigured servers) 2007-12-29 18:46:27 +00:00
Hannes Magnusson b9c22f2b1e MFB5.2: Fix test 2007-12-29 11:38:24 +00:00
Antony Dovgal 2dab3c40fe correct fix for bug #43522 2007-12-29 10:52:24 +00:00
Antony Dovgal 611bd33689 fix test 2007-12-29 10:32:52 +00:00
Hannes Magnusson d7f7fa0494 MFH: Update the class method documentation links 2007-12-29 02:21:57 +00:00
Andrey Hristov 77115c49ab Here comes the NEWS entry. The RM knows his job ;) 2007-12-28 15:44:45 +00:00
Andrey Hristov 98f88d7a97 Remove RPL functions. They were always experimental and lead to crashes.
The underlying functions will be removed from libmysql as of MySQL 6.0, so
it's right time to remove them.
2007-12-28 15:37:52 +00:00
Dmitry Stogov 72de143266 Fixed possible memory corruption 2007-12-28 15:32:09 +00:00
Ulf Wendel afa5602456 Fixing SQL syntax in this very old test to make it pass with MySQL 6.0 2007-12-28 15:27:38 +00:00
Ulf Wendel 3ca72e6a79 Isn't it nice to get a new 64bit box? Fixing 32bit/64bit issue. 2007-12-28 15:26:17 +00:00
Ulf Wendel 3562e88fa6 Sooner or later these old 0*.phpt tests had to bite us - fixing SQL syntax,
HEAD sync will follow.
2007-12-28 15:06:02 +00:00
Ulf Wendel 8c71dd5df8 Cutting off a few edges:
- use connection parameter from environment variables
 - check if MySQL supports procedures
 - whitespace
2007-12-28 14:50:48 +00:00
Dmitry Stogov ebf4cd30db Fixed test related to bug #38469 2007-12-28 13:23:00 +00:00
Dmitry Stogov 5a3eb53723 Fixed bug #38469 (unexpected creation of cycle, json tests failed, leaks memory) 2007-12-28 13:22:00 +00:00
Dmitry Stogov 2fa0078a71 Initialize operand type 2007-12-28 09:46:52 +00:00
Nuno Lopes b2e6a56e5c fix tests 2007-12-27 16:05:00 +00:00
Dmitry Stogov ba8dcae76d Use proper result type 2007-12-27 13:52:05 +00:00
Dmitry Stogov 964b8bb30d Added ability to use SplArrays instead of plain arrays in ext/soap. (Joshua Reese, Dmitry) 2007-12-27 13:10:20 +00:00
Dmitry Stogov 0d88ad9b96 Added 64-bit tests (Serg) 2007-12-27 11:39:01 +00:00
Hannes Magnusson c236bcd80e Fixed bug#43105 (PHP seems to fail to close open files.) 2007-12-27 02:09:26 +00:00
Hannes Magnusson b4e95c3e19 MFH: Fix typo (TAKAGI Masahiro) 2007-12-26 21:02:46 +00:00
Hartmut Holzgraefe edee094851 MFH: Fix for bug #42548 "PROCEDURE xxx can't return a result set" 2007-12-25 18:55:40 +00:00
Raghubansh Kumar a47bf2d36a fix test : do not run when run as root 2007-12-25 16:15:34 +00:00
Dmitry Stogov 94a50ae0c9 Fixed %f regex 2007-12-25 12:06:34 +00:00
Dmitry Stogov 43f6392e90 Fixed bug #43651 (is_callable() with one or more nonconsecutive colons crashes) 2007-12-25 10:58:30 +00:00
Dmitry Stogov ed5a424b4f Additional fix for bug #42868 2007-12-24 18:09:50 +00:00
Raghubansh Kumar 7c75fe7b8c new testcases for dir() function 2007-12-24 05:19:42 +00:00
Raghubansh Kumar 8204525427 fix tests 2007-12-24 04:27:55 +00:00
Raghubansh Kumar e54a855955 Changing the regex for %f so the it will match e-, e+ and e. 2007-12-24 04:23:04 +00:00
Johannes Schlüter 1b6100f4c1 - MFH: Fix #43450 (Memory leak on some functions with implicit object
__toString() call) (Davic C.)
2007-12-21 20:56:33 +00:00
Dmitry Stogov d27e5cd152 Fixed test 2007-12-21 09:40:27 +00:00
Ilia Alshanetsky 11a93f62ac Fixed bug #43644 (is_callable(':') crashes) 2007-12-21 01:21:52 +00:00
Raghubansh Kumar e15fb3853a fix tests 2007-12-20 17:27:13 +00:00
Dmitry Stogov 1e5e110844 x86_64 assembler optimization (Brain Shire) 2007-12-20 12:58:46 +00:00
Robert Nicholson d0bfef7f94 New test - Indexing - various special cases 2007-12-20 11:42:00 +00:00
Robert Nicholson 9e8f7a00e3 new tests for array_map usage variations - string keys and references 2007-12-20 11:18:34 +00:00
Ilia Alshanetsky a6e755d6aa Fixed bug #43635 (mysql extension ingores INI settings on NULL values passed
to mysql_connect())
2007-12-20 00:26:21 +00:00
Raghubansh Kumar 1ccf0ba714 fix test 2007-12-19 10:39:10 +00:00
Steve Seear f48e23c67f Adding PHPT tests for the ReflectionProperty class. 2007-12-18 17:21:55 +00:00
Ilia Alshanetsky d5d2b86303 Fixed bug #43620 (Workaround for a bug inside libcurl 7.16.2 that can result
in a crash)
2007-12-18 13:46:07 +00:00
Derick Rethans 9541a66cb8 - MFH: Fixed var_export() for array keys
- MFH: Fixed broken explode() test
2007-12-18 10:53:39 +00:00
Ilia Alshanetsky 31fb02db2e Kill unused vars 2007-12-17 19:00:07 +00:00
Marcus Boerger aabb1c3097 - Fix folding 2007-12-17 13:46:27 +00:00
Raghubansh Kumar f5f92c1940 fix tests 2007-12-17 13:02:27 +00:00
Hannes Magnusson 4de3c0b985 Check if we know which php executable we should use
# Fixes weird test failures when TEST_PHP_EXECUTABLE isn't set
2007-12-17 11:00:16 +00:00
Dmitry Stogov f7f6de4dc2 Fixed test 2007-12-17 10:05:13 +00:00
Dmitry Stogov 2b981769a3 Fixed bug #42868 (Floats cast to integer produce unpredicatable results). (Zoe Slattery) 2007-12-17 10:02:13 +00:00
Jani Taskinen 31a779e813 - Fix indent of macros 2007-12-17 08:51:17 +00:00
Sara Golemon cce03434ef MFH (json.c r-1.32) Add support for encoding options 2007-12-17 07:48:27 +00:00
Johannes Schlüter 57189ca513 - MFH: Fix #43611 SplObjectStorage is available since 5.1.2 2007-12-16 22:19:49 +00:00
Hannes Magnusson 70b10b2b39 Fix test 2007-12-16 19:17:54 +00:00
Hannes Magnusson bfad3071cd Fix typo 2007-12-16 18:31:07 +00:00
Ilia Alshanetsky b0d7f9c3ee WS 2007-12-16 17:28:57 +00:00
Ilia Alshanetsky 19523d5dae MFB: Fixed bug #43589 (a possible infinite loop in bz2_filter.c) 2007-12-16 17:22:00 +00:00
Ilia Alshanetsky ec90d48331 Fixed bug #43606 (define missing depencies of the exif extension) 2007-12-16 17:14:11 +00:00
Hannes Magnusson 2027a1f16a MFB5.2: Fix protos 2007-12-15 12:52:55 +00:00
Antony Dovgal 996e245143 fix test 2007-12-15 12:46:22 +00:00
Raghubansh Kumar 035dc8bdf6 New testcases for token_get_all() function 2007-12-14 16:21:33 +00:00
Scott MacVicar d4bbbc0eab Change createFromTimestamp to setTimestamp 2007-12-14 14:49:15 +00:00
Scott MacVicar 6f04c5169e MFH: Add Datetime::createFromTimestamp to allow setting of a unix timestamp without invoking the date parser. 2007-12-14 14:28:36 +00:00
Dmitry Stogov f817a1ce6a executor optimization 2007-12-14 14:14:50 +00:00
Ilia Alshanetsky f85ca56b25 update todo 2007-12-14 01:23:45 +00:00
Antony Dovgal fc78e491b4 MFH: add workaround for glibc issue 2007-12-13 22:29:48 +00:00
Douglas Goldstein 9bde93698e add tests for ldap_dn2ufn() 2007-12-13 18:00:27 +00:00
Douglas Goldstein fde4144231 expand ldap_explode_dn() tests. 2007-12-13 17:45:44 +00:00
Antony Dovgal 2569b593f1 MFH: add new tests written by Felipe Pena 2007-12-13 13:51:15 +00:00
Dmitry Stogov 64e8f22355 Allowed import of global classes "use ::GlobalClassName;" 2007-12-13 10:02:03 +00:00
Dmitry Stogov 80e77c1366 Allowed multiple namespaces per file (Gregory) 2007-12-13 08:57:52 +00:00
Dmitry Stogov d8afc7ad37 Fixed test 2007-12-13 07:57:39 +00:00
Ilia Alshanetsky 863a7c6a64 Fixed bug #43580 (removed bogus declaration of a non-existent php_is_url()
function)
2007-12-13 00:25:38 +00:00
Antony Dovgal f5d0e57bcc MFH: add support for Valgrind 3.3.0 (which doesn't have --log-file-exactly option) 2007-12-12 09:20:54 +00:00
David Coallier 7c1087f0aa - Nitpicking, using same code (without unicode handling) than in HEAD
just removed useless } else {
2007-12-12 03:29:31 +00:00
David Coallier 2196a52edd - Unit test for bug #41528
- Checking that when you serialize a class that extends to ArrayObject
  Is keeping it's properties.
2007-12-12 00:34:06 +00:00
Ilia Alshanetsky 2199624ad1 WS 2007-12-11 18:30:01 +00:00
Douglas Goldstein 46307c046f add skipif case if the ldap extension is not loaded 2007-12-11 17:36:03 +00:00
Douglas Goldstein 7a2e440ee3 Adding initial tests for LDAP module. Adding tests for ldap_explode_dn() function 2007-12-11 17:19:47 +00:00
Jani Taskinen 14ca778ed9 MFH:- Revert previous patch, it was correct to do this, error is logged if logging is enabled 2007-12-11 12:26:43 +00:00
Jani Taskinen b984960e81 MFH: fix error displaying 2007-12-11 11:29:09 +00:00
Raghubansh Kumar b1f1baba4d New testcases for array_walk_recursive() function 2007-12-11 10:45:50 +00:00
Raghubansh Kumar b2def646b6 New testcases for array_walk() function 2007-12-11 10:45:25 +00:00
Jani Taskinen 9a4de086cb MFH: - Fixed bug #43541 2007-12-11 09:47:21 +00:00
Raghubansh Kumar 5ce6116777 New testcases for array_merge_recursive() function 2007-12-11 09:07:41 +00:00
Christopher Jones 922d1fce29 Sync with 5.2 2007-12-11 06:57:39 +00:00
Christopher Jones 02ecdf0821 MFB: Fix #42496. Cursor leak fetching LOBs 2007-12-11 06:46:16 +00:00
Ilia Alshanetsky b9e4413962 Fixed bug #43522 (stream_get_line() eats additional characters) 2007-12-10 14:16:58 +00:00
Derick Rethans fdafd5cf81 - MFH: Fixed Bug #42272 (var_export() incorrectly escapes char(0)). 2007-12-09 16:54:52 +00:00
Raghubansh Kumar ccb0f19d1c new testcases for array_unique() function 2007-12-09 14:41:10 +00:00
Dmitry Stogov 6484b3c458 Fixed bug #43344 (Wrong error message for undefined namespace constant) 2007-12-07 17:11:24 +00:00
Rob Richards d4cbb77c90 fix win build 2007-12-07 13:33:10 +00:00
Marcus Boerger cd77dc1242 - Fix for #41528 (Classes extending ArrayObject do not serialize correctly) 2007-12-06 16:04:17 +00:00
Ilia Alshanetsky 2352647f1f WS 2007-12-06 15:23:36 +00:00
Marcus Boerger d309efd945 - More about 4.6 2007-12-06 14:01:49 +00:00
Marcus Boerger 1f623c4965 Add db 4.6 to detect list 2007-12-06 13:53:38 +00:00
Ilia Alshanetsky 98bfa2ac74 Fixed bug #43495 (array_merge_recursive() crashes with recursive arrays) 2007-12-05 19:55:31 +00:00
Marcus Boerger d71b3de7f4 - Fixing #38618 by:
- [DOC] ArrayIterator::CHILD_ARRAYS_ONLY, ArrayObject::CHILD_ARRAYS_ONLY
  Passing this flag in the ctor prevents ArrayIterator from following
  objects in ArrayObject::getIterator(), ArrayIterator::hasChildren(),
  ArrayIterator::getChildren().
  The exact behavior might change:
    - should the flag be set by default
    - should the flag be changed to have a negative effect
2007-12-05 15:56:41 +00:00
Marcus Boerger d28117190f - - Allow to check the out,exp and diff results on console while executing the tests 2007-12-05 14:54:08 +00:00
Marcus Boerger bbf7260cde - Allow to specify php executable on commandline 2007-12-05 13:55:46 +00:00
Rob Richards 9d99a820e1 MFH: starting with 2.6.30, standard libxml2 build can be used 2007-12-04 17:14:34 +00:00
Ilia Alshanetsky 3d8e397546 Fixed test 2007-12-04 13:03:39 +00:00
Ilia Alshanetsky 56c610c97a Fixed bug #43493 (pdo_pgsql does not send username on connect when password
is not available)
2007-12-04 13:03:26 +00:00
Dmitry Stogov d161978c56 Fixed uninitialized value 2007-12-04 12:38:42 +00:00
Antony Dovgal 550b617be1 MFH: detect IBM iconv implementation and use correct encoding names 2007-12-04 11:27:25 +00:00
Antony Dovgal cce49d019a MFH 2007-12-04 08:56:07 +00:00
Dmitry Stogov 80a7bf2910 Fixed crash because of uninitialized SG(sapi_headers).mimetype 2007-12-03 16:04:36 +00:00
Derick Rethans 4c0f6c9a71 - Updated to version 2007.10 2007-12-03 15:16:32 +00:00
Dmitry Stogov 0f59a01e4a Fixed bug #43332 (self and parent as type hint in namespace) 2007-12-03 14:15:43 +00:00
Ilia Alshanetsky 7192e8af15 MFB: Fixed bug #43482 (array_pad() does not warn on very small pad
numbers).
2007-12-03 14:13:27 +00:00
Raghubansh Kumar b70d00a648 fix tests : better float values 2007-12-03 13:03:31 +00:00
Raghubansh Kumar 6121702d04 New testcases for array_pad() function 2007-12-03 12:51:56 +00:00
Raghubansh Kumar fdae976d58 fix tests: better float values 2007-12-03 12:02:29 +00:00
Dmitry Stogov c34a2574be The -f option is fixed to work in the same way as in CLI sapi 2007-12-03 09:38:12 +00:00
Raghubansh Kumar 1eae97fbb9 New testcases for array_chunk() function 2007-12-03 03:54:11 +00:00
Ilia Alshanetsky 39f37ce950 Fixed bug #43457 (Prepared statement with incorrect parms doens't
throw exception with pdo_pgsql driver)
2007-12-02 20:58:14 +00:00
Derick Rethans fd73296bf2 - MFH: Fixed bug #43143 (Warning about empty IV with MCRYPT_MODE_ECB). 2007-12-01 17:20:45 +00:00
Antony Dovgal f5b1ee4b2b MFH: fix folding 2007-11-30 13:15:59 +00:00
Derick Rethans 2ac81c2e6e - MFH: Fixed a segfault when reading from an HTTP stream. 2007-11-29 12:28:15 +00:00
Ilia Alshanetsky f6853cccbd Fixed tests 2007-11-28 14:49:20 +00:00
Rob Richards 4cd1b9d803 MFH: Fix bug #43364 (recursive xincludes don't remove internal nodes properly)
add test
2007-11-28 10:44:21 +00:00
Raghubansh Kumar 504e223d83 Marked with defect 2007-11-28 03:44:52 +00:00
Ilia Alshanetsky 674081da93 Fixed bug #43373 (pcntl_fork() should not raise E_ERROR on error) 2007-11-27 17:13:18 +00:00
Raghubansh Kumar d5acf6ad81 New testcases for array_combine() function 2007-11-27 15:17:07 +00:00
Raghubansh Kumar 73f3139119 New testcases for array_sum() function 2007-11-27 14:59:30 +00:00
Antony Dovgal 2b856ff3c7 fix test 2007-11-27 11:14:33 +00:00
Antony Dovgal da231136ce fix test 2007-11-27 06:44:16 +00:00
Ilia Alshanetsky 0c0456d275 Revert addition of - char support for bound param names 2007-11-26 21:09:50 +00:00
Jani Taskinen c75b88760b MFH: No zval is stored here 2007-11-26 16:34:30 +00:00
Jani Taskinen dcd3b197e7 MFH:- Fixed bug #43365 (Several enums have trailing commas) 2007-11-26 10:59:04 +00:00
Ilia Alshanetsky 7cf9dcc81c Fixed bug #43386 (array_globals not reset to 0 properly on init) 2007-11-25 15:56:07 +00:00
Lukas Smith 53c7b1c2e9 - MFH 2007-11-24 13:55:27 +00:00
Stanislav Malyshev 794217eb2f fix proto 2007-11-23 19:48:56 +00:00
Robert Nicholson f35dfc697b Fix incorrect use of assignment in where equality was intended - class tests. 2007-11-23 15:36:41 +00:00
Dmitry Stogov 70bf5468de Fixed compilation on Windows 2007-11-23 15:03:03 +00:00
Dmitry Stogov 4ab8d46ddd Fixed definitions 2007-11-23 13:38:32 +00:00
Marcus Boerger 0846676471 # My editor somehow likes to convert to UTF-8 2007-11-23 13:27:41 +00:00
Marcus Boerger c0802ee667 - Add another LSB test 2007-11-23 13:25:21 +00:00
Dmitry Stogov 543f24742b *** empty log message *** 2007-11-23 11:31:22 +00:00
Dmitry Stogov 1a9e668a04 Fixed bug #42952 (soap cache file is created with insecure permissions) 2007-11-23 10:02:24 +00:00
Ilia Alshanetsky a4e3969215 Fixed bug #43377 (PHP crashes with invalid argument for DateTimeZone) 2007-11-23 00:15:24 +00:00
Lukas Smith 87dfd003f7 - MFH 2007-11-22 18:13:05 +00:00
Dmitry Stogov 4e0a8a0914 Fixed test 2007-11-22 13:33:36 +00:00
Dmitry Stogov 648fbe9d58 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:27:13 +00:00
Dmitry Stogov 1836daf7f9 Fixed bug #43318
The "const" statement is still allowed outside of namespaces but arrays are disabled.
2007-11-22 10:46:26 +00:00
Derick Rethans a6fbf1b083 - MFH: Fixed weights array, which was broken with:
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.80&r2=1.81
  and merged to head with:
  http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.70.2.7.2.5&r2=1.70.2.7.2.5.2.1
2007-11-22 10:20:09 +00:00
Dmitry Stogov ea0a1c09e9 Speed-up of ZEND_DO_FCALL and ZEND_INIT_FCALL_BY_NAME by lowercasing and calculating hash values at compile time. 2007-11-22 09:02:55 +00:00
Lukas Smith 5d37d09c38 - port from todo wiki to reST (http://wiki.pooteeweet.org/ReleaseChecklist) 2007-11-22 08:59:05 +00:00
Ilia Alshanetsky 969f81a49e Fixed bug #43041 (micro-optimizations in pgsql data retrieval) Initial patch
by andy at petdance dot com
2007-11-22 00:17:28 +00:00
Robert Nicholson 6cfced8eff Add some more pcre tests 2007-11-21 18:22:01 +00:00
Dmitry Stogov caa15f0291 Macro definitions are moved to zend.h 2007-11-21 14:55:41 +00:00
Dmitry Stogov e0ae3d22c1 Safe exit from executor() 2007-11-21 12:28:13 +00:00
Jani Taskinen 685e5d064a MFH: chown bug test 2007-11-21 11:32:16 +00:00
Jani Taskinen e42bc45c21 MFH: fix crash bug in chown when 2nd parameter != string or int 2007-11-21 11:30:29 +00:00
Hannes Magnusson 024fc2c77a MFH: - Add support for optional values
MFH: - Add support for = as seperator
2007-11-21 10:24:22 +00:00
Johannes Schlüter 45f6b4ce2f - MFH Improved version of ternary shortcut (Marcus) 2007-11-21 09:41:35 +00:00
Jani Taskinen f83871a71d MFH:- Fixed bug #43035: ignore_repeated_errors=On causes lot of tests to fail 2007-11-21 08:20:22 +00:00
Jani Taskinen 54bcf0c813 Missing bla...credit :) 2007-11-21 05:44:34 +00:00
Johannes Schlüter 27e5176ba2 Fix NEWS file 2007-11-21 00:03:59 +00:00
Johannes Schlüter 4a8ed7ab68 - MFH ?: operator (Marcus)
[DOC] "expr1 ?: expr1" is a shortcut for: "expr1 ? expr1 : expr2" as
        exists in gcc and discussed some time back. Note that this is not
        an implementation ifsetor($var, default). While ifsetor would not
        generate any message for non existing variables or array indices
        the ternary shortcut does. Also the ternary shortcut does a boolean
        evaluation rather then checking for isset(). That way ther ternary
        shortcut can work on any expression while ifsetor can only work on
        variables. Also to be silent one has do do: "@$expr1 ?: $expr2".
2007-11-21 00:03:16 +00:00
Ilia Alshanetsky 204f9e1a74 Adjusted fix for bug #42978 2007-11-20 23:12:17 +00:00
Johannes Schlüter cbf466a953 MFH: Add stream_supports_lock() function (Benjamin Schulz) 2007-11-20 22:17:01 +00:00
Lars Westermann b15f2feda8 Win32 still fails to build ... 2007-11-20 21:36:20 +00:00
Johannes Schlüter 611a56faba MFH: Add msg_queue_exists() function (Benjamin Schulz) [DOC] 2007-11-20 21:25:10 +00:00
Lars Westermann e077331077 Win32 fails to build 2007-11-20 19:58:39 +00:00
Jani Taskinen 5e123ebef9 MFH: add ZEND_DEBUG_BUILD constant 2007-11-20 16:34:25 +00:00
Ilia Alshanetsky 48878f2ecd Fixed bug #42978 (mismatch between number of bound params and values causes
a crash in pdo_pgsql)
2007-11-20 14:22:27 +00:00
Dmitry Stogov a29a9d5a42 Optimization of zend_do_fcall_common_helper() 2007-11-20 13:53:08 +00:00
Dmitry Stogov 6a5a172795 MFH: math and comparison optimization + use macroses 2007-11-20 13:26:36 +00:00
Dmitry Stogov de46d94589 ZEND_FETCH_DIM optimization 2007-11-20 11:01:28 +00:00
Dmitry Stogov 10f6cd5cb0 Fixed compilation on some systems (Wez) 2007-11-20 10:19:11 +00:00
Dmitry Stogov c3ab6bd091 Fixed bug #43136 (possible crash on script execution timeout. The EG(function_state_ptr) is completely removed, EG(current_execute_data)->function_state must be used instead) 2007-11-20 09:51:12 +00:00
Dmitry Stogov 9f230a0d79 Added support for "namespace::" prefix that is resolved to current namespace name. 2007-11-20 08:53:02 +00:00
Lars Westermann b51708cdf4 - Fixed bug #43246 (firebird: INSERT ... RETURNING ... throws exception)
#Reworked cursor_open/cursor_close
#Only using isc_dsl_execute() (as in ext/interbase)
Thanks to Hans-Peter Oeri for providing this patch
2007-11-19 21:55:30 +00:00
Antony Dovgal bb2e67aa75 fix test 2007-11-19 11:12:30 +00:00
Dmitry Stogov 969dda1b51 Fixed tests 2007-11-19 08:19:31 +00:00
Derick Rethans 991f1d8d7a - MFH: Initialize the reserved resource bits so that they can be reliably used. 2007-11-18 21:29:55 +00:00
Ilia Alshanetsky 5a7b8d12db Fixed bug #42261 (Incorrect lengths for date and boolean data types) 2007-11-18 14:18:30 +00:00
Sara Golemon ee548c7bf3 MFH(r-1.192) Remove extraneous space in error/notice messages (felipe) 2007-11-17 21:52:02 +00:00
Raghubansh Kumar 13357b0188 New testcases for sizeof() function 2007-11-16 17:54:31 +00:00
Raghubansh Kumar 3f8200fc79 fix tests: removed values that generate diff. output on Linux64 2007-11-16 17:06:43 +00:00
Dmitry Stogov 117a6d77e1 Fixed crash (Serg) 2007-11-16 14:24:08 +00:00
Jani Taskinen 5bf4d6d89b MFH: - Fixed bug #43092 (curl_copy_handle() crashes with > 32 chars long URL) 2007-11-16 14:21:01 +00:00
Jani Taskinen 275e2626ab - fix bug number 2007-11-16 12:28:56 +00:00
Lars Westermann 204d70e13d - Fixed bug (again) #43271 (pdo_firebird: closeCursor not implemented) 2007-11-16 12:27:49 +00:00
Jani Taskinen 3e0680f2ee MFH:- Fixed bug #31911 (mb_ereg*_replace() crashes when replacement string is invalid
PHP expression and 'e' option is used)
2007-11-16 12:26:34 +00:00
Nuno Lopes db87e4b009 ignore gcov files 2007-11-16 12:17:38 +00:00
Antony Dovgal c199b2f598 MFH: fix test 2007-11-15 22:14:15 +00:00
Ilia Alshanetsky 86cca4e696 Completed fix for bug #42739 (fixes bug #43276) 2007-11-15 18:57:14 +00:00
Hannes Magnusson 0aae13f9d2 MFH: Allow numeric options & tests 2007-11-15 13:13:21 +00:00
Lars Westermann 8ff1923fb5 - Fixed bug #43244 (firebird: closeCursor w/o returned data kills process) 2007-11-15 00:25:37 +00:00
Lars Westermann 9d4daba929 - Fixed bug #43296 (Feature req: pdo_firebird: ATTR_FETCH_TABLE_NAMES support) 2007-11-15 00:10:38 +00:00
Ilia Alshanetsky 07a3423f17 Don't show file names being examined 2007-11-14 23:45:29 +00:00
Lars Westermann 35272a63cd # Also nulling cursor_open when closing a named cursor 2007-11-14 23:19:29 +00:00
Antony Dovgal 02277b3b19 MFH 2007-11-14 22:37:01 +00:00
Lars Westermann 9864e08ab5 - Clearing cursor-name when closing it. 2007-11-14 22:15:21 +00:00
Lars Westermann 32eece4bcb - Fixed bug #43271 (pdo_firebird: closeCursor not implemented)
# Actually firebird_stmt_execute() didn't close a previously opened cursor, but implemented closeCursor anyway.
2007-11-14 22:09:21 +00:00
Elizabeth Marie Smith bcc718d971 Allow passing additional configuration parameters to config.nice.bat 2007-11-14 19:38:57 +00:00
Raghubansh Kumar b65ffa0876 New testcases for uasort() function 2007-11-14 17:19:45 +00:00
Raghubansh Kumar 0759fbd8e5 fix test for linux64 - choosing smaller float values 2007-11-14 16:31:45 +00:00
Derick Rethans 7fa84a1260 - MFH: Add a testcase for chgrp() with a NULL as group name, which crashes ATM. 2007-11-14 15:51:56 +00:00
Hannes Magnusson c692127ff2 Fix test (getopt() works on windows now) 2007-11-14 15:22:11 +00:00
Hannes Magnusson 35ba8020cd Fixed bug#43293 (Multiple segfaults in getopt()) 2007-11-14 14:42:25 +00:00
Jani Taskinen ea05938263 fix test 2007-11-14 14:08:51 +00:00
Jani Taskinen 56ef7a5ea3 - Fix tests 2007-11-14 14:05:42 +00:00
Johannes Schlüter deae424154 - MFH: pass parameters to buildconf.bat over to buildconf.js (#43281) 2007-11-14 01:42:55 +00:00
Etienne Kneuss 1bf9059e77 MFH: fix typos 2007-11-13 23:44:28 +00:00
Ilia Alshanetsky 37b3d701e3 Fixed bug #43279 (pg_send_query_params() converts all elements in 'params'
to strings)
2007-11-13 20:05:47 +00:00
Antony Dovgal 714aad97e7 MFH: disallow multiple access modifiers and 'abstract abstract' methods (patch by Etienne Kneuss)
add tests
2007-11-13 16:52:14 +00:00
Dmitry Stogov b710c61f34 Fixed bug #42692 (Procedure 'int1' not present with doc/lit SoapServer) 2007-11-13 15:10:16 +00:00
Antony Dovgal b2cdb92654 MFH: remove Oracle8 support 2007-11-13 11:09:42 +00:00
Antony Dovgal afc76bc71f fix typo (nice catch, Nuno!) 2007-11-13 10:31:24 +00:00
Dmitry Stogov 947e73b385 Fixed bug #43248 (backward compatibility break in realpath()) 2007-11-13 09:47:06 +00:00
Rob Richards 5d10360d5a MFH: fix bug #43221 (SimpleXML adding default namespace in addAttribute)
add test
2007-11-12 18:58:48 +00:00
Ilia Alshanetsky 6a792bed75 Fixed bug #43182 (file_put_contents() LOCK_EX does not work properly on file
truncation).
2007-11-12 18:44:18 +00:00
Zoe Slattery 727a35f1ca MFH: Changing the regex for %f so the it will match E-, E+ and E. 2007-11-12 18:26:37 +00:00
Dmitry Stogov 6d64218bc5 better error messages 2007-11-12 17:52:15 +00:00
Antony Dovgal 52e773740c MFH: fix error message (reported by Felipe Nascimento) 2007-11-12 16:55:44 +00:00
Raghubansh Kumar ab9db3e773 New testcases for ksort() function 2007-11-12 15:53:20 +00:00
Raghubansh Kumar 42de41ad4a New testcases for krsort() function 2007-11-12 15:52:25 +00:00
Dmitry Stogov a90a0305b0 Fixed bug #43183 ("use" of the same class in difference scripts results in a fatal error) 2007-11-12 15:52:22 +00:00
Antony Dovgal 1f1140a93a MFH: fix #42736 (xmlrpc_server_call_method() crashes) 2007-11-12 11:23:04 +00:00
Dmitry Stogov dd3c04cea1 Fixed bug #42937 (__call() method not invoked when methods are called on parent from child class). 2007-11-12 09:12:06 +00:00
Lukas Smith 9e21859909 - MFH typo fix by Jon 2007-11-11 22:12:06 +00:00
Johannes Schlüter 18a656de6f - MFH: static can't be used as type hint, fixes #43126 (Etienne Kneuss) 2007-11-11 22:11:25 +00:00
Lukas Smith d7b921c02b - MFH 2007-11-11 16:30:35 +00:00
Ilia Alshanetsky f100892df0 Fixed parse error described in bug #43228 2007-11-11 13:38:03 +00:00
Jani Taskinen 02d966c263 MFH:- Added support for [HOST=www.example.com] special sections
MFH:- Allowed using full path to load modules using "extension" directive
2007-11-09 16:27:43 +00:00
Jani Taskinen c5776e1a41 MFH: ws + cs + sync 2007-11-09 13:49:15 +00:00
Dmitry Stogov 4d681d5660 new test 2007-11-09 13:34:58 +00:00
Dmitry Stogov 8646d9afce Fixed type-hint compatibility check in namespaces 2007-11-09 13:34:39 +00:00
Dmitry Stogov 98b3c247a8 Fixed implementation of internal interfaces in namesapces 2007-11-09 12:15:41 +00:00
Raghubansh Kumar 4b731b1af0 fix tests 2007-11-09 12:02:42 +00:00
Dmitry Stogov f95ac18b82 Conditions optimization 2007-11-09 11:08:22 +00:00
Andrey Hristov 660ba3b61b Fix build 2007-11-09 11:06:07 +00:00
Andrey Hristov 6f63004f1a Fix crash with pconnect 2007-11-09 10:56:28 +00:00
Johannes Schlüter e6dff0caa4 - MFH: Allow persistent zent_ptr_stacks (patch by Andrey Hristov) 2007-11-09 10:34:27 +00:00
Raghubansh Kumar 7ab56f7a43 fix test : better float values 2007-11-09 08:52:27 +00:00
Raghubansh Kumar 54f6189445 fix tests: better float values 2007-11-09 07:19:00 +00:00
Raghubansh Kumar 640f060335 missing testcases - sprintf() function 2007-11-09 04:20:10 +00:00
Lars Westermann 78e0afe7ad - ibase_query.c bugfixes 2007-11-08 19:54:19 +00:00
Lars Westermann b599957076 [DOC] prototype for ibase_query() should be changed to:
PHP4:
  resource ibase_query ( [resource $link_identifier,] string $query [, mixed $bind_arg [, ...]] )
PHP5:
  resource ibase_query ( [resource $link_identifier,] [resource $transaction_identifier,] string $query [, mixed $bind_arg [, ...]] )

prototype for ibase_prepare() should be changed to:
PHP4:
  resource ibase_prepare ( [resource $link_identifier,] string $query )
PHP5:
  resource ibase_prepare ( [resource $link_identifier,] [resource $transaction_identifier,] string $query )

prototype for ibase_execute() should be changed to:
  mixed ibase_execute ( resource $query, [, mixed $bind_arg [, ...]] )

- Fixed bug #30690: (Resource handle from ibase_execute becomes invalid after return)
- Fixed bug #30907: (ibase_query() crashes (in fact the same bug as #32143)
- Fixed bug #32143: (ibase_query() causing IBserver 7 crash with NULL param as link-id)
- Fixed bug #39056: (Interbase NUMERIC data type error)
- Fixed bug #39397: (invalid statement handle in Unknown on line 0)
- Fixed bug #39700: (NUMERIC error when result precision are 7,8 or 12-14)
- Fixed bug #42284: (duplicate of #39700)
2007-11-08 19:16:27 +00:00
Andrey Hristov 6d2bcdacc1 Fix segfault in debug build 2007-11-08 17:29:42 +00:00
Antony Dovgal c8494a81a7 MFH 2007-11-08 13:34:41 +00:00
Dmitry Stogov 1ab7f533ff Fixed bug #43216 (stream_is_local() returns false on "file://") 2007-11-08 13:29:25 +00:00
Antony Dovgal 4a6b52dc01 MFH: plug leak on invalid result type 2007-11-08 13:29:06 +00:00
Antony Dovgal 379e8a5970 fix test 2007-11-08 12:40:43 +00:00
Antony Dovgal 31f9e63270 MFH 2007-11-08 11:39:40 +00:00
Antony Dovgal 6aeaa2105a fix tests 2007-11-08 11:19:32 +00:00
Antony Dovgal 91c725bd22 fix test 2007-11-08 10:29:52 +00:00
Antony Dovgal 7f58a508d6 MFH: fix test 2007-11-08 10:20:01 +00:00
Antony Dovgal f6be2ee565 MFH: fix test 2007-11-08 10:13:33 +00:00
Antony Dovgal 984842e321 fix test 2007-11-08 10:03:52 +00:00
Antony Dovgal a59a7d5c3c MFH 2007-11-08 08:11:55 +00:00
Stanislav Malyshev 186e34c875 add glob wrapper 2007-11-07 19:47:38 +00:00
Antony Dovgal a670a61951 fix tests 2007-11-07 12:07:16 +00:00
Antony Dovgal 90e650fb25 T_IMPORT nuked 2007-11-07 09:18:52 +00:00
Dmitry Stogov b7d87bebc9 T_IMPORT -> T_USE 2007-11-07 09:13:50 +00:00
Dmitry Stogov 38e93fe401 Fixed test 2007-11-07 08:36:44 +00:00
Ilia Alshanetsky 75bbdac25d Fixed tests on 64bit machines 2007-11-07 01:42:51 +00:00
Jani Taskinen c955f26ab9 MFH: ws + cs 2007-11-06 17:58:53 +00:00
Jani Taskinen 77d2a15a97 MFH: sync 2007-11-06 17:11:57 +00:00
Dmitry Stogov 52f25f6132 Fixed bug #43175 (__destruct() throwing an exception with __call() causes segfault) 2007-11-06 14:56:14 +00:00
Marcus Boerger 552b964e22 - Add hash bang line 2007-11-06 14:38:10 +00:00
Dmitry Stogov 22db451fdd Fixed bug #43201 (Crash on using unitialized vals and __get/__set) 2007-11-06 14:11:59 +00:00
Jani Taskinen 88c66fe540 try #2 2007-11-06 13:43:48 +00:00
Jani Taskinen b51e9221b1 MFH: sync 2007-11-06 13:38:15 +00:00
Jani Taskinen 7f0ad5c1e9 MFH: - Fixed bug #43196 (array_intersect_assoc() crashes with non-array input) 2007-11-06 13:26:59 +00:00
Jani Taskinen 411d34cba0 fix cleanup 2007-11-06 13:22:16 +00:00
Antony Dovgal e6e9d845a5 MFH: fix tests, add 64bit versions 2007-11-06 12:54:28 +00:00
Jani Taskinen 070760c6a7 fix NEWS 2007-11-06 12:23:20 +00:00
Marcus Boerger 5aa7108eb2 - MFH Add glob stream wrapper
[DOC] The glob stream wrapper allows stuff like this:
php -r '$it = new DirectoryIterator("glob://ext/spl/*.c");
        foreach($it as $f) var_dump($f);'
2007-11-06 12:12:58 +00:00
Dmitry Stogov c3c5d27fbc Fixed windows build (Rob) 2007-11-06 12:06:05 +00:00
Marcus Boerger fb7306822d - MFH glob stream wrapper (part 1) 2007-11-06 11:50:52 +00:00
Marcus Boerger 6362476b20 MFH streams stuff 2007-11-06 11:02:36 +00:00
Rob Richards da4da2ae14 MFH: fix non ipv6 enabled win build 2007-11-06 10:57:26 +00:00
Jani Taskinen 5262157d49 MFH: ws + folding tags 2007-11-06 10:57:10 +00:00
Jani Taskinen 661b7c13e6 MFH 2007-11-06 10:53:01 +00:00
Jani Taskinen 5cfa9c6312 MFH: partial MFH before? 2007-11-06 10:00:39 +00:00
Jani Taskinen a506a10cd6 MFH 2007-11-06 09:48:24 +00:00
Jani Taskinen dcb71d7bfc add news 2007-11-06 09:45:37 +00:00
Dmitry Stogov 609aa052b3 Allow user defined malloc/realloc/free 2007-11-06 07:22:13 +00:00
Ilia Alshanetsky 35ab31e7ad Fixed bug #43197 (array_intersect_assoc() does not emit warning messages for
error inputs)
2007-11-05 23:53:23 +00:00
Jani Taskinen b3a334eaf2 Fix tests (MFH) 2007-11-05 17:43:21 +00:00
Jani Taskinen 43e73a56ab MFH: Sync
[DOC]: note
[DOC] -/* {{{ proto bool copy(string source_file, string destination_file)
[DOC] +/* {{{ proto bool copy(string source_file, string destination_file [, resource context])
[DOC]
[DOC] Apparently this was undocumented so far anyway..
2007-11-05 17:43:04 +00:00
Jani Taskinen 74d1a45590 MFH: sync 2007-11-05 17:30:07 +00:00
Raghubansh Kumar 3374078734 New testcases for asort() function 2007-11-05 16:42:56 +00:00
Raghubansh Kumar 2a72f56b30 fix typo in title 2007-11-05 16:22:37 +00:00
Raghubansh Kumar c9b73bf23d New testcases for sort() function 2007-11-05 15:30:49 +00:00
Raghubansh Kumar 49785e26ae New testcases for array_intersect_assoc() function 2007-11-05 14:31:40 +00:00
Jani Taskinen 1eb067476f MFH: sync 2007-11-05 14:06:53 +00:00
Jani Taskinen a0b0d132fe MFH: Sync 2007-11-05 13:42:33 +00:00
Jani Taskinen 108c858a19 MFH 2007-11-05 13:09:44 +00:00
Jani Taskinen 9e235c62ef MFH 2007-11-05 12:44:52 +00:00
Jani Taskinen 910972fc93 - fix oumlaut :) 2007-11-05 12:33:40 +00:00
Jani Taskinen 52cb7350a7 update credits 2007-11-05 12:30:04 +00:00
Jani Taskinen 2501a172fc MFH 2007-11-05 12:27:42 +00:00
Jani Taskinen 44c7a7378f MFH 2007-11-05 12:07:37 +00:00
Jani Taskinen 0903022e29 MFH: ws + cs + folding tags 2007-11-05 11:52:31 +00:00
Jani Taskinen 129c125f7f - Fix confusing logic (sync with HEAD) 2007-11-05 11:43:31 +00:00
Derick Rethans ba9c241e66 - Updated to version 2007.9 2007-11-05 09:38:51 +00:00
Mattias Bengtsson 547ba90c09 -MFB, Right filename 2007-11-05 01:14:31 +00:00
Sara Golemon f75ae01f09 MFH: http/ignore_errors context option 2007-11-05 01:00:43 +00:00
Mattias Bengtsson 81a874710e -MFB, Fixed Bug #43121 (gdImageFill with IMG_COLOR_TILED crashes httpd) 2007-11-04 23:56:41 +00:00
Ilia Alshanetsky d689a10f3a Fixed test 2007-11-04 16:12:13 +00:00
Lars Westermann c1ce41ac34 PDO_Firebird bugfixes 2007-11-03 20:56:58 +00:00
Jani Taskinen c2cfed1b32 - Add missing tests from HEAD 2007-11-02 19:42:51 +00:00
Jani Taskinen a541bb8078 - Fix tests
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Jani Taskinen b489251177 - MFH from HEAD:
. Folding tags
  . Parameter parsing
  . SPL debug info
  . array function improvements (not all yet)
  . Improvements to function calling with call_user_* functions
  . Improvements to debugging info in var_dump/print_r
# I propably forgot already something but this all was pretty close tied
# to each other so it wasn't possible to do it in parts.
2007-11-02 19:40:39 +00:00
Antony Dovgal 0d74798914 fix bug37251.phpt failure (two error messages instead of one)
should I merge this to 5_2?
2007-11-02 18:05:55 +00:00
Jani Taskinen 77bc1f8b76 - Missing test. (NOTE: Fails due to unexpected double output for me, OKOK) 2007-11-02 17:47:39 +00:00
Dmitry Stogov f10766f1fb Reimplemented support for namespaces in indexes id constant arrays (removed zval.idx_type) 2007-11-02 10:11:42 +00:00
Raghubansh Kumar 3fbaa4b873 fix tests: proper temp file names 2007-11-02 03:56:02 +00:00
Raghubansh Kumar 790b763be7 fix tests: proper temp file names 2007-11-02 03:14:10 +00:00
Raghubansh Kumar 4c5c88b716 fix tests: better float values 2007-11-02 03:03:26 +00:00
Jani Taskinen eec1ca7387 fix news 2007-11-01 22:09:50 +00:00
Stanislav Malyshev 245d55674a add gmp_testbit() 2007-11-01 20:36:48 +00:00
Stanislav Malyshev b6914a87d7 add gmp fixes 2007-11-01 20:35:36 +00:00
Stanislav Malyshev ec4d9f3387 fix 64-bit 2007-11-01 20:25:11 +00:00
Antony Dovgal e60e9ae5c8 MFH: initialize correct variable 2007-11-01 19:13:39 +00:00
Stanislav Malyshev 7c69bbaec7 add tests for testbit, sync with HEAD 2007-11-01 18:43:34 +00:00
Stanislav Malyshev 970eb77ee4 fix gcd - can return larger than long with long arg 2007-11-01 18:36:24 +00:00
Stanislav Malyshev 9c4106d3e5 add testbit() 2007-11-01 17:53:02 +00:00
Stanislav Malyshev d0fffa7a72 generalize resource names 2007-11-01 17:52:20 +00:00
Stanislav Malyshev f6a01c8362 merge gmp_testbit() 2007-11-01 17:51:34 +00:00
Jani Taskinen 34b45a30e5 MFH: nuke unused variables 2007-11-01 17:32:44 +00:00
Marcus Boerger 00022a49ff - MFH missing get_debug_info piece 2007-11-01 16:54:43 +00:00
Dmitry Stogov db3496fac8 Another fix for bug #42773 2007-11-01 15:41:25 +00:00
Dmitry Stogov 2f51afe2c6 Fixed bug #41635 (SoapServer and zlib.output_compression with FastCGI result in major slowdown) 2007-11-01 13:27:38 +00:00
Antony Dovgal 46c08f53d7 fix tests 2007-11-01 12:55:42 +00:00
Dmitry Stogov bf0d17065f Fixed bug #42773 (WSDL error causes HTTP 500 Response) 2007-11-01 12:26:25 +00:00
Dmitry Stogov acd9a96010 Fixed bug #43027 (Declare cause fatal error) 2007-11-01 11:58:58 +00:00
Dmitry Stogov a1d37c3c7f Fixed bug #42848 (Status: header incorrect under FastCGI) 2007-11-01 11:12:33 +00:00
Antony Dovgal 67bb38424f fix reading uninitialized values 2007-11-01 09:34:18 +00:00
Jani Taskinen 20c86e5afd - Nuke crap 2007-11-01 09:28:00 +00:00
Antony Dovgal bdcefbdc5d fix 64bit issues & tests 2007-11-01 09:25:11 +00:00
Robert Nicholson a174f1331d update min_error and max_error testcases to take into account bug fix for bug#43125 2007-11-01 08:42:49 +00:00
Stanislav Malyshev eb5bd09cff - Fix memory leaks (bug #42509)
- Fix _gmp_binary_opl
- Use modern parameter parsing
2007-11-01 00:46:13 +00:00
Jani Taskinen 2d8dc07e3e MFH: fix typo 2007-10-31 13:39:26 +00:00
Jani Taskinen f552f91618 MFH: - Fixed bug #43137 (rmdir() and rename() do not clear statcache) 2007-10-31 13:22:45 +00:00
Ilia Alshanetsky 548c25ef1c Fixed bug #43139 PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with fetchAll() 2007-10-31 12:57:51 +00:00
Ilia Alshanetsky 84f0fba1a5 Test not relavent for sqlite that uses built-in bound syntax 2007-10-30 23:03:23 +00:00
Lars Westermann 4b4a5e051c # Removed dead code
- Fixed bug #35386 (firebird: first row is null)
- Fixed bug #36128 (Interbase PDO - timestamp columns return NULL)
- Fixed bug #39700 (NUMERIC error when result precision are 7,8 or 12-14 )
2007-10-30 16:31:41 +00:00
Lars Westermann 9d2b9dd20e - Added 3 firebird specific attributes to firebird_handle_set_attribute()
- function. They control formatting of date/timestamp columns.
- pdo_firebird_handle_factory() now throwing an execption if unable to attach
- database (bug reports 39822 and 41522)
- Fixed bug #39822 (new PDO() doesn't work with firebird)
- Fixed bug #41522 (PDO firebird driver returns null if it fails to connect)
2007-10-30 16:30:40 +00:00
Lars Westermann aa6c5a81f9 [DOC] Added 3 firebird specific attributes that can be set via
PDO::setAttribute() to control formatting of date/timestamp columns:
PDO::FB_ATTR_DATE_FORMAT, PDO::FB_ATTR_TIME_FORMAT and
PDO::FB_ATTR_TIMESTAMP_FORMAT.  These attributes are strftime
format strings, and operate in the same way as the ibase.dateformat,
ibase.timeformat and ibase.timestampformat ini options.
(related to bug #36128, Interbase PDO)
2007-10-30 16:28:47 +00:00
Lars Westermann 1ac482c84b - Added default timestamp format definitions (ISO 8601) (related to bug #36128, Interbase PDO) 2007-10-30 16:26:25 +00:00
Jani Taskinen 7f49f956e8 - Fix bug headers 2007-10-30 12:05:53 +00:00
Antony Dovgal 7cef86c246 backport zero args checks from HEAD
(fixes error message when passing parameters to a function accepting none)
2007-10-30 10:17:41 +00:00
Dmitry Stogov 400101ac5b Use heap-allocated return value 2007-10-30 07:21:47 +00:00
Ilia Alshanetsky c27a8a41c2 Fixed bug #43130 (Bound parameters cannot have - in their name) 2007-10-29 22:36:26 +00:00
Sara Golemon dc08ee3404 Note addition of +/* specifiers 2007-10-29 17:17:54 +00:00
Sara Golemon b38282c3fd Backport +/* vararg specifiers from PHP6 2007-10-29 17:09:57 +00:00
Dmitry Stogov 19bf724c48 optimization 2007-10-29 14:36:55 +00:00
Jani Taskinen ecb0fb3f0e MFH:- Fixed invalid handling of float value passed to an integer field on 64bit machine 2007-10-29 09:51:08 +00:00
Jani Taskinen ae6626e783 MFH: fix test 2007-10-29 09:04:15 +00:00
Ilia Alshanetsky f0197278e0 Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)
2007-10-28 13:42:24 +00:00
Raghubansh Kumar a2b4c29ee8 New testcases for shuffle() function 2007-10-27 12:27:49 +00:00
Raghubansh Kumar dfbaff6539 New testcases for array_intersect() function 2007-10-27 12:15:16 +00:00
Robert Nicholson 250cee6329 Remove unneeded INI sections 2007-10-26 16:09:34 +00:00
Raghubansh Kumar ed56c6e38c more testcases for array_unshift() function 2007-10-26 11:49:50 +00:00
Robert Nicholson 9e761076b8 new testcases for array_splice 2007-10-26 11:07:13 +00:00
Robert Nicholson 656d0e468b new testcases for max and min 2007-10-26 11:01:35 +00:00
Dmitry Stogov df96b455d4 Added check for HAVE_GETTIMEOFDAY 2007-10-26 04:46:12 +00:00
Ilia Alshanetsky c5102f0733 Fixed a typo 2007-10-26 03:19:33 +00:00
Antony Dovgal 1c5b478ff5 MFH 2007-10-25 13:01:09 +00:00
Antony Dovgal 48d4654670 MFH 2007-10-25 11:54:17 +00:00
Jani Taskinen 9942f30a38 MFH: ws 2007-10-25 10:01:30 +00:00
Dmitry Stogov 46dc96f3e0 Added ability to control memory consumption between request using ZEND_MM_COMPACT environment variable 2007-10-25 07:32:40 +00:00
Dmitry Stogov 6f7b738b71 Added CGI SAPI -T option, to measure execution time of script repeated several times. 2007-10-25 05:39:06 +00:00
Ilia Alshanetsky a687b6e6b3 Fixed bug #43099 (XMLWriter::endElement() does not check # of params) 2007-10-24 22:49:02 +00:00
Ilia Alshanetsky 4cc23cf49d Fixed bug #43074 (attempt to increment refcount outside of the macro) 2007-10-23 15:21:20 +00:00
Dmitry Stogov 1530fe99c8 Fixed variations of bug #35163 2007-10-23 12:52:40 +00:00
Andrey Hristov 8b8cd15428 Fix build failure on Windows. Seems "free" can't be used even as method name of a structure. The MS compiler (the preprocessor most probably) changes it to _free_dbg 2007-10-23 10:10:18 +00:00
Dmitry Stogov b599e434ad Fixed bug #35163 (Array elements can lose references) 2007-10-23 09:55:11 +00:00
Dmitry Stogov 8e0f5bbfa2 Fixed realpath cache for existent file with CWD_FILEPATH flag on win32 2007-10-23 05:57:25 +00:00
Mattias Bengtsson b6e317e25c -MFB, Be paranoid and dont allow multiplication with zero 2007-10-23 01:58:30 +00:00
Ilia Alshanetsky f3b5b118b6 Fixed bug #4294 (Move *timeout initialization from RINIT to connect time) 2007-10-22 22:42:43 +00:00
Raghubansh Kumar b3044c49ed more testcases for array_filter() function 2007-10-22 11:16:03 +00:00
Dmitry Stogov fa6e5df126 Fixed move_uploaded_file() to always set file permissions of resulting file according to UMASK (Andrew Sitnikov) 2007-10-22 07:37:37 +00:00
Ilia Alshanetsky 7f32916af0 Fixed bug #42944 (test failing due to expectation that /etc/passwd has 0644
permissions).
2007-10-21 15:41:29 +00:00
Raghubansh Kumar 36ca7b94e6 New testcases for array_rand() function 2007-10-19 18:41:13 +00:00
Raghubansh Kumar dd465b457c New testcases for array_fill() function 2007-10-19 18:31:16 +00:00
Raghubansh Kumar 63b1e9fb86 New testcases for array_filter() function 2007-10-19 18:20:02 +00:00
Raghubansh Kumar f1187f0fca New testcases for array_unshift() function 2007-10-19 09:16:29 +00:00
Stanislav Malyshev 988d28cc13 ws 2007-10-18 20:44:41 +00:00
Scott MacVicar 3fa7ec8508 Fixed bug #43020 (Warning message is missing with shuffle() and more than one argument) 2007-10-18 14:33:14 +00:00
Dmitry Stogov 8039433291 Fixed bug #42722 (display_errors setting ignored for E_PARSE and HTTP 500 page) 2007-10-18 13:11:46 +00:00
Marcus Boerger 80893e5727 - Fix #42703 2007-10-18 04:41:39 +00:00
Marcus Boerger 56f9d57091 - Fix #42654 (maybe also a bunch of others) 2007-10-18 03:55:43 +00:00
Johannes Schlüter e3b92dbca2 - There's no need to mention these bugs, they all belong to "Added namespaces" 2007-10-17 17:22:52 +00:00
Dmitry Stogov 68bacdd797 Fixed possible crash because of uninitialized value (Zdash Urf) 2007-10-17 12:09:03 +00:00
Dmitry Stogov af76115fe5 Fixed bug #42637 (SoapFault : Only http and https are allowed). (Bill Moran) 2007-10-17 11:18:34 +00:00
Dmitry Stogov cb0991bb85 Fixed bug #42919 (Unserializing of namespaced class object fails) 2007-10-17 10:36:33 +00:00
Dmitry Stogov 1087e6b1e6 Fixed bug #42859 (import always conflicts with internal classes). (cellog@php.net, Dmitry) 2007-10-17 10:01:22 +00:00
Antony Dovgal 74f416106c ..and correct macro 2007-10-17 08:19:07 +00:00
Antony Dovgal 780fa84fbd MFH: use correct dtro and variable for the callback 2007-10-17 08:18:09 +00:00
Andrey Hristov 8a2e9e6043 Sync mysqlnd. Should still compile with 5_2 for those who want to use the
current stable branch. mysqli from 5_3 patched for mysqlnd should be also
compilable with 5_2.
2007-10-16 20:56:22 +00:00
Antony Dovgal c9e481590f avoid double free and use zval_dtor() where neccessary 2007-10-16 13:20:14 +00:00
Andrey Hristov 1421ccd4c0 Fix bug due to shadowing of variables. This one is pretty-pretty rare,
caught by source code inspection.
2007-10-16 12:55:05 +00:00
Raghubansh Kumar 55d0b9780f New testcases for array_flip() function 2007-10-15 06:34:35 +00:00
Raghubansh Kumar dfae3d3f57 New testcases for array_reverse() function 2007-10-15 06:24:40 +00:00
Andrei Zmievski ea74505927 Fix macros after GC patch. 2007-10-14 02:48:30 +00:00
Scott MacVicar 798c222c06 BFN
[DOC] Note: getimagesize() needs a note about icon support and that information is about the icon with the highest bitrate.
2007-10-13 18:08:04 +00:00
Scott MacVicar c76e8e03a1 Added icon file format support to getimagesize 2007-10-13 18:02:22 +00:00
Hannes Magnusson 7c5c2147c6 MFH: Add skipif 2007-10-13 11:37:42 +00:00
Hannes Magnusson ccce08e668 MFH: Fix typo and remove dots in error messages 2007-10-13 11:34:43 +00:00
Ulf Wendel 6c508d2e4d Same as for HEAD: make it skip and not fail if it can't connect to DB 2007-10-12 12:52:56 +00:00
Ulf Wendel 3a11ec8ba1 Same as for HEAD: Trying to skip tests if they can't connect to the
DB server. Note the environment variable MYSQL_TEST_SKIP_CONNECT_FAILURE
to control if you want tests that can't connect to fail or to be skipped.
2007-10-12 12:06:07 +00:00
Ulf Wendel f8156f1607 Trying to skip tests if they can't connect to the DB server.
Currently they have failed by default. Note also the environment
variable MYSQL_TEST_SKIP_CONNECT_FAILURE to control the default (skip or fail)
2007-10-12 11:57:18 +00:00
Edin Kadribasic be87d68c0e Fix build 2007-10-12 08:07:13 +00:00
Edin Kadribasic f1bcbb97ea MFH (and build fix) 2007-10-12 07:58:32 +00:00
Ilia Alshanetsky 3762dfc09f Fixed bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode) 2007-10-11 20:54:41 +00:00
Derick Rethans 548fde4360 - Updated to version 2007.8 2007-10-11 18:54:13 +00:00
Raghubansh Kumar 26ce8bdade fix test (temp. file name) 2007-10-11 11:52:27 +00:00
Jani Taskinen c95f942e9b - fix typo 2007-10-11 09:33:30 +00:00
Jani Taskinen 6c33a8c758 - Fix ws/cs and wrap the stuff within #if HAVE_BROKEN_GETCWD 2007-10-11 08:26:13 +00:00
Marcus Boerger 8ce1211a62 - MFH debug object helper 2007-10-11 01:03:19 +00:00
Robert Thompson 50250dff8c Fix for bug 41899, safe mode and relative paths with Solaris's broken getcwd(). 2007-10-10 22:52:58 +00:00
Ulf Wendel 0c6e832584 Fixing the test. Might the PHP 5.2 run-tests.php have fooled me? I could swear,
I saw this test passing with 5.2 before...
2007-10-10 15:04:59 +00:00
Ulf Wendel 1f651c4051 Version specific EXPECF sections would be wonderful (bug31668.phpt).
And sometimes it helps to read the commit messages to keep tests up to date:
we removed mysqli_set_local_infile_handler() from mysqlnd (061.phpt) some
time ago.
2007-10-10 14:31:28 +00:00
Andrey Hristov b0677f4beb Fix ODBC, the GC patch missed this one leading to compilation failure. 2007-10-10 14:29:27 +00:00
Jani Taskinen 3db75dcb84 MFH 2007-10-10 12:58:41 +00:00
Jani Taskinen 13ea8ee05a MFH 2007-10-10 12:44:46 +00:00
Ulf Wendel 8cc5e47402 Last bunch of new tests. 2007-10-10 10:20:11 +00:00
Ulf Wendel 3a3594d3f1 Adding new tests: mysqli_s*.phpt 2007-10-10 10:18:50 +00:00
Ulf Wendel 5ec98ed1c8 Adding new tests: mysqli_q*.phpt mysqli_r*.phpt 2007-10-10 10:18:29 +00:00
Ulf Wendel 007e650e2e Adding new tests: mysqli_m*.phpt mysqli_n*.phpt mysqli_o*.phpt mysqli_p*.phpt 2007-10-10 10:17:38 +00:00
Ulf Wendel 92256befd5 Adding new tests: mysqli_g*.phpt mysqli_i*.phpt mysqli_k*.phpt 2007-10-10 10:16:00 +00:00
Ulf Wendel ec08f105b9 Adding new tests mysqli_d*.phpt mysqli_e*.phpt mysqli_f*.phpt 2007-10-10 10:14:38 +00:00
Ulf Wendel 97c82d363f Adding new tests. Again, I'll commit in chunks and try to find acceptable
commit sizes.
2007-10-10 10:13:47 +00:00
Ulf Wendel 5f1fe934ea Test code for bug #42378 2007-10-10 10:11:27 +00:00
Ulf Wendel 636d1b0803 Further changes to regression/bug-verification tests. 2007-10-10 10:10:59 +00:00
Ulf Wendel af818e3e53 Last set of changes to the classical 0*.phpt - 06*.phpt/07*.phpt 2007-10-10 10:10:14 +00:00
Ulf Wendel 041d506a86 Changes to 04*.phpt, 05*.phpt. 2007-10-10 10:08:29 +00:00
Ulf Wendel a429f06289 Changes to 02*.phpt, 03*.phpt 2007-10-10 10:07:46 +00:00
Ulf Wendel 4f913a4d4d Changes to all 01*.phpt tests 2007-10-10 10:07:08 +00:00
Ulf Wendel 0a212c12b1 Changes to existing tests: 0*.phpt 2007-10-10 10:06:53 +00:00
Ulf Wendel 326fd449e2 Starting to merge updated set of tests into 5.3. 2007-10-10 10:04:46 +00:00
Ulf Wendel db9cdc1b66 And the last set of new tests for ext/mysql. "new" does not really mean new.
We've checked them into HEAD/PHP6 before already.
2007-10-10 09:56:48 +00:00
Ulf Wendel 865d199df3 Second last set of new tests for ext/mysql 2007-10-10 09:55:28 +00:00
Ulf Wendel f01e360850 Next set of new tests - more to follow. Trying to find reasonable commit size... 2007-10-10 09:53:34 +00:00
Ulf Wendel dd9292e225 Adding new tests. 2007-10-10 09:51:45 +00:00
Ulf Wendel 15a201d6a7 New tests use more helper files. 2007-10-10 09:49:37 +00:00
Ulf Wendel 83911a1e5e Starting to merge the latest set of tests from the mysqlnd development
tree into the PHP 5_3 tree.
2007-10-10 09:47:21 +00:00
Jani Taskinen e795168a20 - Generated with a bit more recent re2c version 2007-10-10 09:27:13 +00:00
Ilia Alshanetsky 774136736e Fixed bug #42869 (automatic session id insertion adds sessions id to
non-local forms)
2007-10-10 00:34:40 +00:00
Elizabeth Marie Smith 4e339842fc Fix build on MSVC 2008 - channeling Wez 2007-10-09 21:53:44 +00:00
Raghubansh Kumar 1d0c11f472 New testcases for strip_tags() function 2007-10-09 12:44:45 +00:00
Raghubansh Kumar 5f24b53cc5 fix tests 2007-10-09 12:17:48 +00:00
Raghubansh Kumar f567d4c6ad fix tests 2007-10-09 11:04:17 +00:00
Scott MacVicar 52debae82e MFH: Fix expand_filepath when including relative files, ideally you should test you code... 2007-10-09 10:05:08 +00:00
Jani Taskinen e2b5419e05 MFH: ws + cs 2007-10-09 08:40:36 +00:00
Raghubansh Kumar 5e46edd6c3 fix tests 2007-10-09 06:15:39 +00:00
Raghubansh Kumar 705bda6fa6 more tests for fseek(), ftell() & rewind() for win32 2007-10-09 04:56:28 +00:00
Raghubansh Kumar 0289fd1458 fix tests 2007-10-09 04:12:16 +00:00
Robert Thompson 0092263030 Fix for bug 41822. expand_filepath() will now return a relative path under the specific situation where getcwd() returns NULL and the file is still readable. As far as I have been able to tell, this fix only applies to the Solaris OS where files in directories with (--x) cannot getcwd(). 2007-10-08 23:44:50 +00:00
Wez Furlong 14ec6825a2 add iODBC support to pdo_odbc 2007-10-08 17:55:40 +00:00
Andrey Hristov dba6e473ca Move non-public code to non-public header file. This should also solve
#42890 "Constant "LIST" defined by mysqlclient and c-client"
2007-10-08 16:14:56 +00:00
Raghubansh Kumar d42d41000d fix test 2007-10-08 16:04:28 +00:00
Raghubansh Kumar e52c923f68 fix test 2007-10-08 15:45:53 +00:00
Andrey Hristov eb02cb5990 Move declarations from the public header file. 2007-10-08 15:38:47 +00:00
Raghubansh Kumar 513f5e5d5f fix tests 2007-10-08 15:37:57 +00:00
Raghubansh Kumar 7ccc5eef20 New testcases for strtr() function 2007-10-08 15:21:36 +00:00
Raghubansh Kumar f8eacb31c0 New testcases for get_html_translation_table() function 2007-10-08 15:21:13 +00:00
Raghubansh Kumar aeeafd3b59 fix test 2007-10-08 06:22:13 +00:00
Yiduo (David) Wang 104290130e MFH: stmt->fetch.func.values is not a zval and should not be freed with FREE_ZVAL 2007-10-08 04:06:15 +00:00
Yiduo (David) Wang f4f0a47433 Fix build for mysqlnd 2007-10-07 21:47:36 +00:00
Nuno Lopes 66a24c86a6 Fixed bug #42737 (preg_split('//u') triggers a E_NOTICE with newlines) 2007-10-07 13:57:10 +00:00
Nuno Lopes 51051fc8bc now fix the thread-safe build..
#sorry for the noise, but I didnt commit patches to PHP for a long time..
2007-10-07 12:20:11 +00:00
Nuno Lopes 3adfe9c0f1 fix the previous patch: the rc var doesnt need to be passed to the make_subpats_table() 2007-10-07 12:14:02 +00:00
Nuno Lopes 640db15ff8 BFN: #37911 2007-10-07 11:51:35 +00:00
Nuno Lopes 424db6feb9 fix bug #37911: preg_replace_callback ignores named groups 2007-10-07 11:48:27 +00:00
Nuno Lopes 41dcd7d0b5 upgrade pcre to version 7.4 2007-10-07 10:35:03 +00:00
Antony Dovgal 05b536f251 one more fix 2007-10-07 08:33:38 +00:00
Antony Dovgal 1ee4146d71 fix build 2007-10-07 08:30:47 +00:00
Yiduo (David) Wang 4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Antony Dovgal ca4c55ad3a MFH: fix ws & folding, nuke unused vars 2007-10-06 21:28:50 +00:00
Jani Taskinen 732f54a65c MFH:- Add support for LDAP_X_OPT_CONNECT_TIMEOUT (Netscape LDAP SDK equivalent for LDAP_OPT_NETWORK_TIMEOUT) 2007-10-06 02:13:50 +00:00
Jani Taskinen c65b53b6c6 BFN
[DOC] Note: ldap_[get|set]_option() manual pages needs an entry for
[DOC] LDAP_OPT_NETWORK_TIMEOUT
2007-10-06 01:46:24 +00:00
Jani Taskinen d473e198f5 MFH: - Added LDAP_OPT_NETWORK_TIMEOUT option for ldap_set_option() to allow setting network timeout (FR#42837) 2007-10-06 01:43:26 +00:00
Andrey Hristov 8b9b553aa2 Import mysqlnd
Patch ext/mysql and ext/mysqli to support mysqlnd
2007-10-05 21:23:56 +00:00
Raghubansh Kumar 9f9495a484 New testcases for setlocale() function 2007-10-05 19:32:28 +00:00
Raghubansh Kumar a458ad89f9 New testcases for nl2br() function 2007-10-05 18:46:02 +00:00
Raghubansh Kumar 8ad09bf445 New testcases for strrpos() function 2007-10-05 18:33:24 +00:00
Raghubansh Kumar 2c63918058 New testcases for str_split() function 2007-10-05 18:18:18 +00:00
Raghubansh Kumar 805a1b9e9c New testcases for vsprintf() function 2007-10-05 18:09:31 +00:00
Rob Richards c4575f4c4b MFH: fix win build 2007-10-05 16:00:30 +00:00
Jani Taskinen aa3eee1dce MFH:- Moved the old regex functions to own extension: ereg 2007-10-05 15:00:09 +00:00
Jani Taskinen 3a5817e972 MFH: fix test 2007-10-05 14:57:28 +00:00
Nuno Lopes c2f78aae37 lcov 1.6 also works correctly 2007-10-05 14:48:32 +00:00
Jani Taskinen 69bea4d736 - Sync with configure.in from HEAD (the CGI stuff is as ini options nowadays) 2007-10-05 12:34:48 +00:00
David Soria Parra fd841a44db WS fix. Space instead of tab. 2007-10-05 11:43:09 +00:00
David Soria Parra 7db53fe049 WS/Indent fix 2007-10-05 09:37:17 +00:00
Ilia Alshanetsky 0604cb8d48 Generated files that are part of the previous patch 2007-10-04 23:22:37 +00:00
Ilia Alshanetsky 4c619a3f5f Fixed bug #42817 (clone() on a non-object does not result in a fatal error) 2007-10-04 23:19:20 +00:00
Ilia Alshanetsky f6b761b0ac Fixed bug #42783 (pg_insert() does not accept an empty list for insertion) 2007-10-03 23:30:46 +00:00
Michael Wallner 2448b05b4f MFH: fix CURLOPT_TIMEOUT_MS support 2007-10-03 20:34:01 +00:00
Jani Taskinen 108dddcac0 MFH:- Removed the %destructor declaration (requires bison 1.875 or above) 2007-10-03 13:03:18 +00:00
David Soria Parra d4e8fa62c6 MFH: Add an escape parameter to fgetcsv to satisfy rfc4180 and bug #40501.
[DOC] 5th parameter available since PHP 5.3+
2007-10-03 10:44:32 +00:00
Dmitry Stogov eb0c56ada1 Fixed bug #42820 (defined() on constant with namespace prefixes tries to load class). 2007-10-03 10:33:02 +00:00
Dmitry Stogov 68055015eb Fixed bug #42818 ($foo = clone(array()); leaks memory) 2007-10-03 09:47:45 +00:00
Dmitry Stogov 1491992f76 Fixed bug #42772 (Storing $this in a static var fails while handling a cast to string) 2007-10-03 08:02:36 +00:00
Dmitry Stogov 69edb0131a ws 2007-10-03 06:49:15 +00:00
Stanislav Malyshev 5840ba0ffe MFB utf test 2007-10-03 05:05:37 +00:00
Stanislav Malyshev 6e1dfff1ed MFB do not accept partial multibyte sequences in html* functions 2007-10-03 05:05:08 +00:00
Antony Dovgal b380ff014a fix test 2007-10-02 11:21:40 +00:00
Jani Taskinen fd9c80b054 - There really is no point in mentioned fixed bugs in something that has never been in any release.. 2007-10-02 10:42:55 +00:00
Antony Dovgal 1297fa1b8f MF5_2: improved recursion detection in array_walk()
fixes #42752, though the leaks are still there
2007-10-02 10:04:38 +00:00
Dmitry Stogov 9aee9e0417 Fixed access to freed memory in tests/classes/__call_001.phpt 2007-10-02 08:47:22 +00:00
Dmitry Stogov 220641af70 Fixed bug #42819 (namespaces in indexes of constant arrays) 2007-10-02 08:26:50 +00:00
Christian Stocker 5b0f4647b6 - Added xsl->setProfiling() for profiling stylesheets. 2007-10-02 06:31:18 +00:00
Johannes Schlüter 32966bb37d - pass the adress not the value 2007-10-01 20:36:01 +00:00
Ilia Alshanetsky c3cf6cb069 Added test for bug #42785 2007-10-01 15:33:11 +00:00
Ilia Alshanetsky 36cf6a2b05 Fixed bug #42785 (json_encode() formats doubles according to locale rather
then following standard syntax).
2007-10-01 15:22:41 +00:00
Johannes Schlüter 5f15b1ef7a - Fix test 2007-10-01 15:01:47 +00:00
Ilia Alshanetsky bb8b632dc1 Fixed typo in the previous patch 2007-10-01 14:59:55 +00:00
Ilia Alshanetsky 086289983e Refactor code to make fixes for coverity issues #385 and #386 a bit more
obvious
2007-10-01 14:51:11 +00:00
Jani Taskinen 25be330cd0 - ws + cs + sync HEAD 2007-10-01 13:38:14 +00:00
Jani Taskinen 2bc631fb40 MFH:- Added common getopt implementation to core.
MFH:- Added long-option feature to getopt().
MFH:- Made getopt() available on win32 systems.
MFH:  Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+

# Note: Fixed also tests and synced basic_functions.c with HEAD.
2007-10-01 12:40:54 +00:00
Jani Taskinen 27e8fa0d31 MFH: sync (adds php_prefix_varname() API function) 2007-10-01 12:34:19 +00:00
Jani Taskinen b34fcd4791 MFH: Fixed bug #42789 2007-10-01 12:05:41 +00:00
Dmitry Stogov 0625e266cd Late Static Binding make no sense in compile-time constants. 2007-10-01 11:25:14 +00:00
Dmitry Stogov 41e9b6b61c Fixed bug #42802 (Namespace not supported in typehints) 2007-10-01 10:37:14 +00:00
Dmitry Stogov 3a3a7e7441 Fixed bug #42798 (__autoload() not triggered for classes used in method signature). 2007-10-01 09:32:48 +00:00
Jani Taskinen 1e5ca0a765 - Fix tests (too many dots in error messages :) 2007-09-30 21:35:52 +00:00
Ilia Alshanetsky b6817f82b1 Nuke unused vars 2007-09-30 16:53:10 +00:00
Antony Dovgal cd5b16015e fix test 2007-09-30 14:40:06 +00:00
Antony Dovgal 38c37bb61f fix tests 2007-09-30 14:37:33 +00:00
Jani Taskinen 6723ed1db3 MFH: Nuked ending dots from error messages 2007-09-30 05:49:45 +00:00
Jani Taskinen adae5131f3 - Nuked ending dots from error messages 2007-09-30 05:40:23 +00:00
Raghubansh Kumar 9645bbbbee smaller tests already exists 2007-09-29 17:19:03 +00:00
Raghubansh Kumar 1aa5830044 New testcases for strrchr() function 2007-09-29 16:59:07 +00:00
Raghubansh Kumar efc32bacaa New testcases for stripos() function 2007-09-29 16:56:46 +00:00
Raghubansh Kumar 2a22e422ad New testcases for sprintf() function 2007-09-29 16:54:57 +00:00
Raghubansh Kumar b9ccaf44fb New testcases for join() function 2007-09-29 16:52:54 +00:00
Raghubansh Kumar 3253c3b6dd New testcases for htmlspecialchars_decode() function 2007-09-29 16:51:42 +00:00
Raghubansh Kumar 482eabc6b6 New testcases for chunk_split() function 2007-09-29 16:49:41 +00:00
Dmitry Stogov fedf2eddfd Updated API version numbers 2007-09-29 11:25:16 +00:00
Nuno Lopes 887d439404 use FREE_ZVAL() instead of free() to free a zval 2007-09-29 11:24:05 +00:00
Nuno Lopes e029a0ee59 fix a few compiler warnings (mostly use of unitialized values) 2007-09-29 11:18:42 +00:00
Dmitry Stogov ae14f6ba78 Added "compact" handler for Zend MM storage. 2007-09-29 10:37:29 +00:00
Dmitry Stogov 72d0454bf6 Added support for __callstatic() magic method (missing part). (Sara) 2007-09-29 09:34:24 +00:00
Dmitry Stogov b20ed0d2e0 Added support for __callstatic() magic method. (Sara) 2007-09-29 08:52:40 +00:00
Dmitry Stogov c560a96848 Removed commented code 2007-09-29 08:29:56 +00:00
Dmitry Stogov 166266df68 Added support for Late Static Binding. (Dmitry, Etienne Kneuss) 2007-09-29 07:28:34 +00:00
Johannes Schlüter e9dd6fab91 - MFH: Fix type in example 2007-09-28 22:04:39 +00:00
Johannes Schlüter 059b506d38 - Merge minor namespace related stuff (README and tokenizer) 2007-09-28 21:02:19 +00:00
Dmitry Stogov f37e408ed8 Support for namespaces 2007-09-28 19:53:42 +00:00
Dmitry Stogov f32ffe9b43 Namespaces 2007-09-28 19:52:53 +00:00
Jani Taskinen 1674976346 MFH: Fixed win32 build. 2007-09-28 10:23:38 +00:00
Antony Dovgal d84755e758 ws 2007-09-28 05:33:11 +00:00
Jani Taskinen df5e183470 One more thing.. 2007-09-28 02:14:11 +00:00
Jani Taskinen e367dac30d BFN 2007-09-28 02:09:05 +00:00
Jani Taskinen 09b6f37f20 MFH:
- Added ".htaccess" style user-defined php.ini files support for
  CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
  in php.ini. All directives set in these sections will not be able to be
  overridden in user-defined ini-files or during runtime in the specified
  path.

- Improved php.ini handling:
  . Added better error reporting for syntax errors in php.ini files
  . Allowed "ini-variables" to be used almost everywhere ini php.ini files
  . Allowed using alphanumeric/variable indexes in "array" ini options
  . Fixed get_cfg_var() to be able to return "array" ini options

- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
  characters)
2007-09-28 02:05:10 +00:00
Jani Taskinen 0d3bdf23d2 MFH: ws + cs 2007-09-27 22:09:46 +00:00
Sebastian Bergmann b4036287f6 Fugbix typo. 2007-09-27 18:15:22 +00:00
Dmitry Stogov 6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Ilia Alshanetsky f6d9901873 Fixed coverity issue #470 Unitialized integer value used inside
zend_ini_boolean_displayer_cb
2007-09-27 17:26:47 +00:00
Jani Taskinen d64b3989c5 BFN 2007-09-27 17:06:36 +00:00
Jani Taskinen fc0e59073e MFH:- Fixed bug #42657 (ini_get() returns incorrect value when default is NULL) 2007-09-27 17:05:23 +00:00
Jani Taskinen 6700a20e64 MFH: BC (missed from the patch :) 2007-09-27 16:59:25 +00:00
Jani Taskinen 338a12a018 MFH: Nuked unnecessary TSRMLS_FETCH() call 2007-09-27 16:55:25 +00:00
Jani Taskinen 72e7721393 MFH: missing folding tag + use Z_STR* macros 2007-09-27 16:44:27 +00:00
Jani Taskinen 7668572e26 last ws 2007-09-27 15:59:42 +00:00
Jani Taskinen c3c0fd2819 ws 2007-09-27 15:56:49 +00:00
Jani Taskinen c1a4cc358c MFH: ws + cs (more to follow) 2007-09-27 15:53:28 +00:00
Jani Taskinen bea9591f47 MFB52: ws+cs 2007-09-27 13:15:40 +00:00
Dmitry Stogov 10150ea755 Improved ext/soap to support element names in context of XMLShema's <any> 2007-09-27 10:01:43 +00:00
Antony Dovgal 84195223ec MFH: fix coverity issue #412 2007-09-27 09:18:50 +00:00
Antony Dovgal 7a954c4c48 MFH: fix coverity issue #411 2007-09-27 09:15:09 +00:00
Dmitry Stogov 65741beb79 MFH: Improved ext/openssl
. Added support for OpenSSL digest functions
. Added support for OpenSSL cipher functions
. Added access to internal values of DSA, RSA and DH keys
2007-09-27 08:46:00 +00:00
Dmitry Stogov 06f43b30c1 MFH: Improved and cleaned CGI code. FastCGI is now always enabled and can not be disabled. See sapi/cgi/CHANGES for more details. 2007-09-27 08:23:58 +00:00
Sebastian Bergmann a748ada212 Bump version. 2007-09-27 05:24:50 +00:00
Johannes Schlüter 9483a2ff23 - Readd support for ynamic access of static members (Etienne) 2007-09-27 00:32:40 +00:00
SVN Migration 0e5d551a56 This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2007-09-26 15:44:16 +00:00
11027 changed files with 1144631 additions and 273799 deletions

No files matched your search

+24 -2
View File
@@ -2,16 +2,38 @@ define ____executor_globals
if basic_functions_module.zts
set $tsrm_ls = ts_resource_ex(0, 0)
set $eg = ((zend_executor_globals) (*((void ***) $tsrm_ls))[executor_globals_id-1])
set $cg = ((zend_compiler_globals) (*((void ***) $tsrm_ls))[compiler_globals_id-1])
else
set $eg = executor_globals
set $cg = compiler_globals
end
end
document ____executor_globals
portable way of accessing executor_globals, set $eg
this also sets compiler_globals to $cg
ZTS detection is automatically based on ext/standard module struct
end
define print_cvs
____executor_globals
set $p = $eg.current_execute_data.CVs
set $c = $eg.current_execute_data.op_array.last_var
set $v = $eg.current_execute_data.op_array.vars
set $i = 0
printf "Compiled variables count: %d\n", $c
while $i < $c
printf "%d = %s\n", $i, $v[$i].name
if $p[$i] != 0
printzv *$p[$i]
else
printf "*uninitialized*\n"
end
set $i = $i + 1
end
end
define dump_bt
set $t = $arg0
while $t
@@ -46,8 +68,8 @@ define ____printzv_contents
set $zvalue = $arg0
set $type = $zvalue->type
printf "(refcount=%d", $zvalue->refcount
if $zvalue->is_ref
printf "(refcount=%d", $zvalue->refcount__gc
if $zvalue->is_ref__gc
printf ",is_ref"
end
printf ") "
+90 -90
View File
@@ -1,6 +1,6 @@
PHP Coding Standards
====================
========================
PHP Coding Standards
========================
This file lists several standards that any programmer, adding or changing
code in PHP, should follow. Since this file was added at a very late
@@ -9,37 +9,38 @@ follow it, but it's going in that general direction. Since we are now
well into the version 4 releases, many sections have been recoded to use
these rules.
Code Implementation
-------------------
[0] Document your code in source files and the manual. [tm]
0. Document your code in source files and the manual. [tm]
[1] Functions that are given pointers to resources should not free them
1. Functions that are given pointers to resources should not free them
For instance, function int mail(char *to, char *from) should NOT free
For instance, ``function int mail(char *to, char *from)`` should NOT free
to and/or from.
Exceptions:
- The function's designated behavior is freeing that resource. E.g. efree()
- The function is given a boolean argument, that controls whether or not
the function may free its arguments (if true - the function must free its
arguments, if false - it must not)
- Low-level parser routines, that are tightly integrated with the token
cache and the bison code for minimum memory copying overhead.
[2] Functions that are tightly integrated with other functions within the
- The function's designated behavior is freeing that resource. E.g. efree()
- The function is given a boolean argument, that controls whether or not
the function may free its arguments (if true - the function must free its
arguments, if false - it must not)
- Low-level parser routines, that are tightly integrated with the token
cache and the bison code for minimum memory copying overhead.
2. Functions that are tightly integrated with other functions within the
same module, and rely on each other non-trivial behavior, should be
documented as such and declared 'static'. They should be avoided if
possible.
[3] Use definitions and macros whenever possible, so that constants have
3. Use definitions and macros whenever possible, so that constants have
meaningful names and can be easily manipulated. The only exceptions
to this rule are 0 and 1, when used as false and true (respectively).
Any other use of a numeric constant to specify different behavior
or actions should be done through a #define.
[4] When writing functions that deal with strings, be sure to remember
4. When writing functions that deal with strings, be sure to remember
that PHP holds the length property of each string, and that it
shouldn't be calculated with strlen(). Write your functions in a such
a way so that they'll take advantage of the length property, both
@@ -48,47 +49,47 @@ Exceptions:
doing so, should return that new length, so it doesn't have to be
recalculated with strlen() (e.g. php_addslashes())
[5] NEVER USE strncat(). If you're absolutely sure you know what you're doing,
5. NEVER USE strncat(). If you're absolutely sure you know what you're doing,
check its man page again, and only then, consider using it, and even then,
try avoiding it.
[6] Use PHP_* macros in the PHP source, and ZEND_* macros in the Zend
part of the source. Although the PHP_* macro's are mostly aliased to the
ZEND_* macros it gives a better understanding on what kind of macro you're
calling.
6. Use ``PHP_*`` macros in the PHP source, and ``ZEND_*`` macros in the Zend
part of the source. Although the ``PHP_*`` macro's are mostly aliased to the
``ZEND_*`` macros it gives a better understanding on what kind of macro
you're calling.
[7] When commenting out code using a #if statement, do NOT use 0 only. Instead
use "<cvs username here>_0". For example, #if FOO_0, where FOO is your
cvs user foo. This allows easier tracking of why code was commented out,
especially in bundled libraries.
7. When commenting out code using a #if statement, do NOT use 0 only. Instead
use "<svn username here>_0". For example, #if FOO_0, where FOO is your
svn user foo. This allows easier tracking of why code was commented out,
especially in bundled libraries.
[8] Do not define functions that are not available. For instance, if a
library is missing a function, do not define the PHP version of the
function, and do not raise a run-time error about the function not
existing. End users should use function_exists() to test for the
existence of a function
8. Do not define functions that are not available. For instance, if a
library is missing a function, do not define the PHP version of the
function, and do not raise a run-time error about the function not
existing. End users should use function_exists() to test for the
existence of a function
[9] Prefer emalloc(), efree(), estrdup(), etc. to their standard C library
counterparts. These functions implement an internal "safety-net"
mechanism that ensures the deallocation of any unfreed memory at the
end of a request. They also provide useful allocation and overflow
information while running in debug mode.
9. Prefer emalloc(), efree(), estrdup(), etc. to their standard C library
counterparts. These functions implement an internal "safety-net"
mechanism that ensures the deallocation of any unfreed memory at the
end of a request. They also provide useful allocation and overflow
information while running in debug mode.
In almost all cases, memory returned to the engine must be allocated
using emalloc().
In almost all cases, memory returned to the engine must be allocated
using emalloc().
The use of malloc() should be limited to cases where a third-party
library may need to control or free the memory, or when the memory in
question needs to survive between multiple requests.
The use of malloc() should be limited to cases where a third-party
library may need to control or free the memory, or when the memory in
question needs to survive between multiple requests.
Naming Conventions
------------------
[1] Function names for user-level functions should be enclosed with in
1. Function names for user-level functions should be enclosed with in
the PHP_FUNCTION() macro. They should be in lowercase, with words
underscore delimited, with care taken to minimize the letter count.
Abbreviations should not be used when they greatly decrease the
readability of the function name itself.
readability of the function name itself::
Good:
'mcrypt_enc_self_test'
@@ -98,18 +99,18 @@ Naming Conventions
'mcrypt_module_get_algo_supported_key_sizes'
(could be 'mcrypt_mod_get_algo_sup_key_sizes'?)
'get_html_translation_table'
(could be 'html_get_trans_table'?)
(could be 'html_get_trans_table'?)
Bad:
'hw_GetObjectByQueryCollObj'
'pg_setclientencoding'
'jf_n_s_i'
[2] If they are part of a "parent set" of functions, that parent should
2. If they are part of a "parent set" of functions, that parent should
be included in the user function name, and should be clearly related
to the parent program or function family. This should be in the form
of parent_*.
of ``parent_*``::
A family of 'foo' functions, for example:
Good:
'foo_select_bar'
@@ -121,22 +122,22 @@ Naming Conventions
'fooinsertbaz'
'delete_foo_baz'
[3] Function names used by user functions should be prefixed
with "_php_", and followed by a word or an underscore-delimited list of
3. Function names used by user functions should be prefixed
with ``_php_``, and followed by a word or an underscore-delimited list of
words, in lowercase letters, that describes the function. If applicable,
they should be declared 'static'.
[4] Variable names must be meaningful. One letter variable names must be
4. Variable names must be meaningful. One letter variable names must be
avoided, except for places where the variable has no real meaning or
a trivial meaning (e.g. for (i=0; i<100; i++) ...).
[5] Variable names should be in lowercase. Use underscores to separate
5. Variable names should be in lowercase. Use underscores to separate
between words.
[6] Method names follow the 'studlyCaps' (also referred to as 'bumpy case'
6. Method names follow the 'studlyCaps' (also referred to as 'bumpy case'
or 'camel caps') naming convention, with care taken to minimize the
letter count. The initial letter of the name is lowercase, and each
letter that starts a new 'word' is capitalized.
letter that starts a new 'word' is capitalized::
Good:
'connect()'
@@ -148,11 +149,11 @@ Naming Conventions
'buildsomewidget'
'getI()'
[7] Classes should be given descriptive names. Avoid using abbreviations where
possible. Each word in the class name should start with a capital letter,
without underscore delimiters (CampelCaps starting with a capital letter).
The class name should be prefixed with the name of the 'parent set' (e.g.
the name of the extension).
7. Classes should be given descriptive names. Avoid using abbreviations where
possible. Each word in the class name should start with a capital letter,
without underscore delimiters (CampelCaps starting with a capital letter).
The class name should be prefixed with the name of the 'parent set' (e.g.
the name of the extension)::
Good:
'Curl'
@@ -165,7 +166,7 @@ Naming Conventions
Syntax and indentation
----------------------
[1] Never use C++ style comments (i.e. // comment). Always use C-style
1. Never use C++ style comments (i.e. // comment). Always use C-style
comments instead. PHP is written in C, and is aimed at compiling
under any ANSI-C compliant compiler. Even though many compilers
accept C++-style comments in C code, you have to ensure that your
@@ -174,17 +175,20 @@ Syntax and indentation
because the Win32 port is MS-Visual C++ specific, and this compiler
is known to accept C++-style comments in C code.
[2] Use K&R-style. Of course, we can't and don't want to
2. Use K&R-style. Of course, we can't and don't want to
force anybody to use a style he or she is not used to, but,
at the very least, when you write code that goes into the core
of PHP or one of its standard modules, please maintain the K&R
style. This applies to just about everything, starting with
indentation and comment styles and up to function declaration
syntax.
syntax. Also see Indentstyle_.
(see also http://www.catb.org/~esr/jargon/html/I/indent-style.html)
[3] Be generous with whitespace and braces. Always prefer:
.. _Indentstyle: http://www.catb.org/~esr/jargon/html/I/indent-style.html
3. Be generous with whitespace and braces. Keep one empty line between the
variable declaration section and the statements in a block, as well as
between logical statement groups in a block. Maintain at least one empty
line between two functions, preferably two. Always prefer::
if (foo) {
bar;
@@ -194,23 +198,18 @@ Syntax and indentation
if(foo)bar;
Keep one empty line between the variable declaration section and
the statements in a block, as well as between logical statement
groups in a block. Maintain at least one empty line between
two functions, preferably two.
[4] When indenting, use the tab character. A tab is expected to represent
4. When indenting, use the tab character. A tab is expected to represent
four spaces. It is important to maintain consistency in indenture so
that definitions, comments, and control structures line up correctly.
[5] Preprocessor statements (#if and such) MUST start at column one. To
5. Preprocessor statements (#if and such) MUST start at column one. To
indent preprocessor directives you should put the # at the beginning
of a line, followed by any number of whitespace.
Testing
-------
[1] Extensions should be well tested using *.phpt tests. Read about that
1. Extensions should be well tested using *.phpt tests. Read about that
in README.TESTING.
Documentation and Folding Hooks
@@ -219,20 +218,20 @@ Documentation and Folding Hooks
In order to make sure that the online documentation stays in line with
the code, each user-level function should have its user-level function
prototype before it along with a brief one-line description of what the
function does. It would look like this:
function does. It would look like this::
/* {{{ proto int abs(int number)
Returns the absolute value of the number */
PHP_FUNCTION(abs)
{
...
}
/* }}} */
/* {{{ proto int abs(int number)
Returns the absolute value of the number */
PHP_FUNCTION(abs)
{
...
}
/* }}} */
The {{{ symbols are the default folding symbols for the folding mode in
Emacs and vim (set fdm=marker). Folding is very useful when dealing with
large files because you can scroll through the file quickly and just unfold
the function you wish to work on. The }}} at the end of each function marks
Emacs and vim (set fdm=marker). Folding is very useful when dealing with
large files because you can scroll through the file quickly and just unfold
the function you wish to work on. The }}} at the end of each function marks
the end of the fold, and should be on a separate line.
The "proto" keyword there is just a helper for the doc/genfuncsummary script
@@ -240,10 +239,10 @@ which generates a full function summary. Having this keyword in front of the
function prototypes allows us to put folds elsewhere in the code without
messing up the function summary.
Optional arguments are written like this:
Optional arguments are written like this::
/* {{{ proto object imap_header(int stream_id, int msg_no [, int from_length [, int subject_length [, string default_host]]])
Returns a header object with the defined parameters */
/* {{{ proto object imap_header(int stream_id, int msg_no [, int from_length [, int subject_length [, string default_host]]])
Returns a header object with the defined parameters */
And yes, please keep the prototype on a single line, even if that line
is massive.
@@ -256,10 +255,11 @@ that the first implementation include a file labeled 'EXPERIMENTAL'
in the function directory, and that the functions follow the
standard prefixing conventions during their initial implementation.
The file labeled 'EXPERIMENTAL' should include the following
information:
Any authoring information (known bugs, future directions of the module).
Ongoing status notes which may not be appropriate for CVS comments.
The file labelled 'EXPERIMENTAL' should include the following
information::
Any authoring information (known bugs, future directions of the module).
Ongoing status notes which may not be appropriate for SVN comments.
Aliases & Legacy Documentation
-----------------------------------
+67 -45
View File
@@ -77,6 +77,12 @@ EXTENSION: isapi
MAINTENANCE: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: litespeed
PRIMARY MAINTAINER: George Wang <gwang@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.3
-------------------------------------------------------------------------------
EXTENSION: milter
MAINTENANCE: Unknown
STATUS: Unknown
@@ -118,29 +124,16 @@ STATUS: Experimental
-------------------------------------------------------------------------------
EXTENSION: dba
PRIMARY MAINTAINER: Marcus Börger <helly@php.net>
PRIMARY MAINTAINER: Marcus Börger <helly@php.net>,Christopher Jones <sixd@php.net>, Pierre-Alain Joye <pajoye@php.net>
MAINTENANCE: Maintained
STATUS: Working
COMMENT: DBM abstraction for db2, db3, db4, dbm, ndbm, gdbm, ini
-------------------------------------------------------------------------------
EXTENSION: dbase
MAINTENANCE: Orphaned
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: fbsql
PRIMARY MAINTAINER: Frank M. Kromann <fmk@swwwing.com>
MAINTENANCE: Unknown
STATUS: Unknown
-------------------------------------------------------------------------------
EXTENSION: interbase
PRIMARY MAINTAINER: Ard Biesheuvel <ard@ard.nu>, Jouni Ahto <jouni.ahto@exdec.fi>
MAINTENANCE: Odd fixes
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: msql
MAINTENANCE: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: mssql
PRIMARY MAINTAINER: Frank M. Kromann <fmk@swwwing.com>
MAINTENANCE: Maintained
@@ -148,18 +141,24 @@ STATUS: Working
COMMENT: Tested on phpts and isapi versions
-------------------------------------------------------------------------------
EXTENSION: mysql
PRIMARY MAINTAINER: Zak Greant <zak@mysql.com>, Georg Richter <georg@php.net>
PRIMARY MAINTAINER: Zak Greant <zak@mysql.com>, Georg Richter <georg@php.net>, Johannes Schlüter <johannes@php.net>, Ulf Wendel <uw@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: mysqli
PRIMARY MAINTAINER: Georg Richter <georg@php.net>, Andrey Hristov <andrey@php.net>
PRIMARY MAINTAINER: Georg Richter <georg@php.net>, Andrey Hristov <andrey@php.net>, Johannes Schlüter <johannes@php.net>, Ulf Wendel <uw@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.0
-------------------------------------------------------------------------------
EXTENSION: mysqlnd
PRIMARY MAINTAINER: Georg Richter <georg@php.net>, Andrey Hristov <andrey@php.net>, Johannes Schlüter <johannes@php.net>, Ulf Wendel <uw@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.3
-------------------------------------------------------------------------------
EXTENSION: oci8
PRIMARY MAINTAINER: Antony Dovgal <tony2001@php.net>
PRIMARY MAINTAINER: Christopher Jones <sixd@php.net>, Antony Dovgal <tony2001@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
@@ -170,7 +169,7 @@ STATUS: Working
COMMENT: Working
-------------------------------------------------------------------------------
EXTENSION: pdo
PRIMARY MAINTAINER: Unknown
PRIMARY MAINTAINER: Ilia Alshanetsky <iliaa@php.net>, Wez Furlong <wez@php.net>
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.1
@@ -182,13 +181,13 @@ STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pdo_firebird
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Odd fixes
PRIMARY MAINTAINER: Lars Westermann <lwe@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pdo_mysql
PRIMARY MAINTAINER: Unknown
PRIMARY MAINTAINER: Ilia Alshanetsky <iliaa@php.net>, Johannes Schlüter <johannes@php.net>, Andrey Hristov <andrey@php.net>, Ulf Wendel <uw@php.net>
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.1
@@ -206,13 +205,13 @@ STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pdo_pgsql
PRIMARY MAINTAINER: Unknown
PRIMARY MAINTAINER: Ilia Alshanetsky <iliaa@php.net>
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pdo_sqlite
PRIMARY MAINTAINER: Unknown
PRIMARY MAINTAINER: Ilia Alshanetsky <iliaa@php.net>
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.1
@@ -224,18 +223,22 @@ STATUS: Working
COMMENT: Use PostgreSQL 7.0.x or later. PostgreSQL 6.5.3 or less have fatal bug.
-------------------------------------------------------------------------------
EXTENSION: sqlite
PRIMARY MAINTAINER: Marcus Boerger <helly@php.net>, Wez Furlong <wez@php.net>
PRIMARY MAINTAINER: Marcus Boerger <helly@php.net>, Wez Furlong <wez@php.net>, Ilia Alshanetsky <iliaa@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.0 (Since 4.3.2 in PECL)
COMMENT: Integrates SQLite embeddable SQL database engine.
COMMENT: Integrates SQLite 2 embeddable SQL database engine.
-------------------------------------------------------------------------------
EXTENSION: sybase
MAINTENANCE: Unknown
STATUS: Not Working
EXTENSION: sqlite3
PRIMARY MAINTAINER: Scott MacVicar <scottmac@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.3
COMMENT: Integrates SQLite 3 embeddable SQL database engine.
-------------------------------------------------------------------------------
EXTENSION: sybase_ct
MAINTENANCE: Unknown
PRIMARY MAINTAINER: Timm Friebe <thekid@thekid.de>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
@@ -266,7 +269,12 @@ MAINTENANCE: Orphaned
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xml
PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net>
PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net>, Rob Richards <rrichards@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: libxml
PRIMARY MAINTAINER: Rob Richards <rrichards@php.net>, Christian Stocker <chregu@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
@@ -281,7 +289,7 @@ MAINTENANCE: Orphaned
STATUS: Experimental
-------------------------------------------------------------------------------
EXTENSION: xmlwriter
PRIMARY MAINTAINER: Rob Richards <rrichards@php.net>, Pierre-Alain Joye <pajoye@php.net>
PRIMARY MAINTAINER: Rob Richards <rrichards@php.net>, Pierre-Alain Joye <pajoye@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
@@ -297,7 +305,7 @@ SINCE: 5.0
-------------------------------------------------------------------------------
EXTENSION: bcmath
MAINTENANCE: Unknown
MAINTENANCE: Andi Gutmans <andi@zend.com>
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: bz2
@@ -339,6 +347,12 @@ MAINTENANCE: Maintained
STATUS: Working
SINCE: 4.2
-------------------------------------------------------------------------------
EXTENSION: fileinfo
PRIMARY MAINTAINER: Derick Rethans <derick@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.3
-------------------------------------------------------------------------------
EXTENSION: filter
PRIMARY MAINTAINER: Derick Rethans <derick@php.net>, Pierre-Alain Joye <pajoye@php.net>, Ilia Alshanetsky <iliaa@php.net>
MAINTENANCE: Maintained
@@ -370,8 +384,14 @@ PRIMARY MAINTAINER: Moriyoshi Koizumi <moriyoshi@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: intl
PRIMARY MAINTAINER: Stanislav Malyshev <stas@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.3
-------------------------------------------------------------------------------
EXTENSION: imap
PRIMARY MAINTAINER: Chuck Hagenbuch <chuck@horde.org>, Ilia Alshanetsky <iliaa@php.net>
PRIMARY MAINTAINER: Chuck Hagenbuch <chuck@horde.org>, Ilia Alshanetsky <iliaa@php.net>, Pierre-Alain Joye <pajoye@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
@@ -382,7 +402,7 @@ STATUS: Working
SINCE: 5.2
-------------------------------------------------------------------------------
EXTENSION: ldap
PRIMARY MAINTAINER: Stig Venaas <venaas@php.net>, Douglas Goldstein <cardoe@php.net>
PRIMARY MAINTAINER: Stig Venaas <venaas@php.net>, Douglas Goldstein <cardoe@php.net>, Pierre-Alain Joye <pajoye@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
@@ -397,7 +417,7 @@ MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: mhash
PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>, Scott MacVicar <scottmac@php.net>
MAINTENANCE: Unknown
STATUS: Working
-------------------------------------------------------------------------------
@@ -405,18 +425,13 @@ EXTENSION: mime_magic
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Deprecated
STATUS: Experimental
COMMENT: Use PECL's fileinfo extension instead
COMMENT: Use the fileinfo extension instead
-------------------------------------------------------------------------------
EXTENSION: ming
PRIMARY MAINTAINER: Frank M. Kromann
MAINTENANCE: Unknown
STATUS: Experimental
-------------------------------------------------------------------------------
EXTENSION: ncurses
PRIMARY MAINTAINER Ilia Alshanetsky <iliaa@php.net>, Wez Furlong <wez@php.net>, Hartmut Holzgraefe <hholzgra@php.net>, Georg Richter <georg@php.net>
MAINTENANCE: Unknown
STATUS: Experimental
-------------------------------------------------------------------------------
EXTENSION: openssl
PRIMARY MAINTAINER: Wez Furlong <wez@php.net>, Pierre-Alain Joye <pajoye@php.net>
MAINTENANCE: Maintained
@@ -424,7 +439,8 @@ STATUS: Working
SINCE: 4.0.4
-------------------------------------------------------------------------------
EXTENSION: pcntl
MAINTENANCE: Unknown
PRIMARY MAINTAINER: Arnaud Le Blanc <lbarnaud@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: pcre
@@ -432,6 +448,12 @@ PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>, Nuno Lopes <nlopess@php.n
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: phar
PRIMARY MAINTAINER: Greg Beaver <cellog@php.net>, Marcus Börger <helly@php.net>, Steph Fox <sfox@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.3
-------------------------------------------------------------------------------
EXTENSION: posix
PRIMARY MAINTAINER: Kristian Köhntopp <kris@koehntopp.de>
MAINTENANCE: Maintained
@@ -445,7 +467,7 @@ SINCE: 4.0.2
-------------------------------------------------------------------------------
EXTENSION: readline
MAINTENANCE: Unknown
STATUS: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: recode
PRIMARY MAINTAINER: Kristian Köhntopp <kris@koehntopp.de>
@@ -469,7 +491,7 @@ STATUS: Working
SINCE: 4.0.3
-------------------------------------------------------------------------------
EXTENSION: snmp
PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>, Pierre-Alain Joye <pajoye@php.net>
MAINTENANCE: Odd Fixes
STATUS: Working
-------------------------------------------------------------------------------
@@ -480,7 +502,7 @@ STATUS: Working
SINCE: 4.0.2
-------------------------------------------------------------------------------
EXTENSION: spl
PRIMARY MAINTAINER: Marcus Boerger <helly@php.net>
PRIMARY MAINTAINER: Marcus Boerger <helly@php.net>, Etienne Kneuss <colder@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.0.0
+19 -17
View File
@@ -198,13 +198,18 @@ Apache 1.3.x on Unix systems
13. Setup your php.ini file:
cp php.ini-dist /usr/local/lib/php.ini
PHP will use the built-in default values if no php.ini file was
placed in the configuration directory. The default location is
/usr/local/lib, if you prefer your php.ini in another location, use
--with-config-file-path=/some/path in step 10.
You may edit your .ini file to set PHP options. If you prefer your
php.ini in another location, use --with-config-file-path=/some/path in
step 10.
The PHP distribution provides two sample php.ini files, you can use them
by
cp php.ini-development /usr/local/lib/php.ini
or
cp php.ini-production /usr/local/lib/php.ini
If you instead choose php.ini-recommended, be certain to read the list
If you choose one of these php.ini files be certain to read the list
of changes within, as they affect how PHP behaves.
14. Edit your httpd.conf to load the PHP module. The path on the right hand
@@ -386,7 +391,7 @@ Apache 2.0 on Unix systems
http://snaps.php.net/php5-latest.tar.gz or download binaries for
Windows http://snaps.php.net/win32/php5-win32-latest.zip.
* a prerelease version downloadable from http://qa.php.net/.
* you have always the option to obtain PHP through anonymous CVS.
* you have always the option to obtain PHP through SVN.
These versions of PHP are compatible to Apache 2.0.40 and later.
@@ -1303,8 +1308,8 @@ Introduction to PECL Installations
When building PHP modules, it's important to have known-good versions
of the required tools (autoconf, automake, libtool, etc.) See the
Anonymous CVS Instructions for details on the required tools, and
required versions.
SVN Instructions for details on the required tools, and required
versions.
__________________________________________________________________
Downloading PECL extensions
@@ -1320,14 +1325,11 @@ Downloading PECL extensions
PECL extensions that have releases listed on the PECL web site are
available for download and installation using the pecl command.
Specific revisions may also be specified.
* CVS
Most PECL extensions also reside in CVS. A web-based view may be
seen at http://cvs.php.net/pecl/. To download straight from CVS,
the following sequence of commands may be used. Note that phpfi is
the password for user cvsread:
* SVN
All PECL files reside in SVN. A web-based view may be seen at
http://svn.php.net/pecl/. To download straight from SVN, use:
$ cvs -d:pserver:cvsread@cvs.php.net:/repository login
$ cvs -d:pserver:cvsread@cvs.php.net:/repository co pecl/extname
$ svn co http://svn.php.net/repository/pecl/<extname>/trunk <extname>
* Windows downloads
Windows users may find compiled PECL binaries by downloading the
@@ -1375,7 +1377,7 @@ Compiling shared PECL extensions with phpize
Sometimes, using the pecl installer is not an option. This could be
because you're behind a firewall, or it could be because the extension
you want to install is not available as a PECL compatible package, such
as unreleased extensions from CVS. If you need to build such an
as unreleased extensions from SVN. If you need to build such an
extension, you can use the lower-level build tools to perform the build
manually.
@@ -1522,7 +1524,7 @@ The configuration file
directives are documented in the manual though. For a complete list of
directives available in your PHP version, please read your well
commented php.ini file. Alternatively, you may find the the latest
php.ini from CVS helpful too.
php.ini from SVN helpful too.
Example 6-1. php.ini example
; any text on a line after an unquoted semicolon (;) is ignored
+1 -1
View File
@@ -1,6 +1,6 @@
--------------------------------------------------------------------
The PHP License, version 3.01
Copyright (c) 1999 - 2006 The PHP Group. All rights reserved.
Copyright (c) 1999 - 2009 The PHP Group. All rights reserved.
--------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
+2 -2
View File
@@ -7,7 +7,7 @@ $(builddir)/zend_language_scanner.lo: $(srcdir)/zend_language_parser.h
$(builddir)/zend_ini_scanner.lo: $(srcdir)/zend_ini_parser.h
$(srcdir)/zend_language_scanner.c: $(srcdir)/zend_language_scanner.l
@$(LEX) -Pzend -S$(srcdir)/flex.skl -o$@ -i $(srcdir)/zend_language_scanner.l
@(cd $(top_srcdir); $(RE2C) $(RE2C_FLAGS) --case-inverted -cbdFt Zend/zend_language_scanner_defs.h -oZend/zend_language_scanner.c Zend/zend_language_scanner.l)
$(srcdir)/zend_language_parser.h: $(srcdir)/zend_language_parser.c
$(srcdir)/zend_language_parser.c: $(srcdir)/zend_language_parser.y
@@ -18,6 +18,6 @@ $(srcdir)/zend_ini_parser.c: $(srcdir)/zend_ini_parser.y
@$(YACC) -p ini_ -v -d $(srcdir)/zend_ini_parser.y -o $@
$(srcdir)/zend_ini_scanner.c: $(srcdir)/zend_ini_scanner.l
@$(LEX) -Pini_ -S$(srcdir)/flex.skl -o$@ -i $(srcdir)/zend_ini_scanner.l
@(cd $(top_srcdir); $(RE2C) $(RE2C_FLAGS) --case-inverted -cbdFt Zend/zend_ini_scanner_defs.h -oZend/zend_ini_scanner.c Zend/zend_ini_scanner.l)
$(builddir)/zend_indent.lo $(builddir)/zend_highlight.lo $(builddir)/zend_compile.lo: $(srcdir)/zend_language_parser.h
+3
View File
@@ -61,6 +61,9 @@ php_lcov.info: lcov-test
test -f "$$x.bb" && cp $$x.bb lcov_data/$$y.bb ; \
test -f "$$x.bbg" && cp $$x.bbg lcov_data/$$y.bbg ; \
done
for dir in ext/bcmath/libbcmath ext/date/lib ext/fileinfo/libmagic ext/gd/libgd ext/mbstring/libmbfl ext/mbstring/oniguruma ext/pcre/pcrelib ext/pdo_sqlite/libsqlite ext/sqlite/libsqlite ext/sqlite3/libsqlite ext/xmlrpc/libxmlrpc ext/zip/lib; do \
test -d lcov_data/$$dir && rm -rf lcov_data/$$dir ; \
done
@echo
@echo "Generating $@"
@$(LTP) --directory lcov_data/ --capture --base-directory=lcov_data --output-file $@
+20 -47
View File
@@ -11,7 +11,7 @@ all: $(all_targets)
@echo "Don't forget to run 'make test'."
@echo
build-modules: $(PHP_MODULES)
build-modules: $(PHP_MODULES) $(PHP_ZEND_EX)
libphp$(PHP_MAJOR_VERSION).la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
@@ -73,57 +73,31 @@ PHP_TEST_SHARED_EXTENSIONS = ` \
for i in $(PHP_MODULES)""; do \
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d extension=$$dlname"; \
done; \
fi; \
if test "x$(PHP_ZEND_EX)" != "x"; then \
for i in $(PHP_ZEND_EX)""; do \
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d $(ZEND_EXT_TYPE)=$(top_builddir)/modules/$$dlname"; \
done; \
fi`
PHP_DEPRECATED_DIRECTIVES_REGEX = '^(define_syslog_variables|register_(globals|long_arrays)?|safe_mode|magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*='
test: all
-@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \
INI_FILE=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r 'echo php_ini_loaded_file();' 2> /dev/null`; \
if test "$$INI_FILE"; then \
$(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
else \
echo > $(top_builddir)/tmp-php.ini; \
fi; \
INI_SCANNED_PATH=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r '$$a = explode(",\n", trim(php_ini_scanned_files())); echo $$a[0];' 2> /dev/null`; \
if test "$$INI_SCANNED_PATH"; then \
INI_SCANNED_PATH=`$(top_srcdir)/build/shtool path -d $$INI_SCANNED_PATH`; \
$(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_SCANNED_PATH"/*.ini >> $(top_builddir)/tmp-php.ini; \
fi; \
TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \
TEST_PHP_SRCDIR=$(top_srcdir) \
CC="$(CC)" \
$(PHP_EXECUTABLE) $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -U -d extension_dir=modules/ $(PHP_TEST_SHARED_EXTENSIONS) tests/; \
elif test ! -z "$(SAPI_CLI_PATH)" && test -x "$(SAPI_CLI_PATH)"; then \
INI_FILE=`$(top_builddir)/$(SAPI_CLI_PATH) -r 'echo php_ini_loaded_file();'`; \
if test "$$INI_FILE"; then \
$(EGREP) -v '^extension[\t\ ]*=' "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
else \
echo > $(top_builddir)/tmp-php.ini; \
fi; \
TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
TEST_PHP_SRCDIR=$(top_srcdir) \
CC="$(CC)" \
$(top_builddir)/$(SAPI_CLI_PATH) $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -c $(top_builddir)/tmp-php.ini -U -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
else \
echo "ERROR: Cannot run tests without CLI sapi."; \
fi
utest: all
-@if test ! -z "$(SAPI_CLI_PATH)" && test -x "$(SAPI_CLI_PATH)"; then \
INI_FILE=`$(top_builddir)/$(SAPI_CLI_PATH) -r 'echo php_ini_loaded_file();'`; \
if test "$$INI_FILE"; then \
$(EGREP) -v '^extension[\t\ ]*=' "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
else \
echo > $(top_builddir)/tmp-php.ini; \
fi; \
TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
TEST_PHP_SRCDIR=$(top_srcdir) \
CC="$(CC)" \
$(top_builddir)/$(SAPI_CLI_PATH) $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -c $(top_builddir)/tmp-php.ini -u -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
else \
echo "ERROR: Cannot run tests without CLI sapi."; \
fi
ntest: all
-@if test ! -z "$(SAPI_CLI_PATH)" && test -x "$(SAPI_CLI_PATH)"; then \
INI_FILE=`$(top_builddir)/$(SAPI_CLI_PATH) -r 'echo php_ini_loaded_file();'`; \
if test "$$INI_FILE"; then \
$(EGREP) -v '^extension[\t\ ]*=' "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
else \
echo > $(top_builddir)/tmp-php.ini; \
fi; \
TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
TEST_PHP_SRCDIR=$(top_srcdir) \
CC="$(CC)" \
$(top_builddir)/$(SAPI_CLI_PATH) $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -c $(top_builddir)/tmp-php.ini -N -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
$(PHP_EXECUTABLE) -n -c $(top_builddir)/tmp-php.ini $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -n -c $(top_builddir)/tmp-php.ini -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
else \
echo "ERROR: Cannot run tests without CLI sapi."; \
fi
@@ -137,9 +111,8 @@ clean:
rm -f libphp$(PHP_MAJOR_VERSION).la $(SAPI_CLI_PATH) $(OVERALL_TARGET) modules/* libs/*
distclean: clean
rm -f config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h stamp-h php5.spec sapi/apache/libphp$(PHP_MAJOR_VERSION).module buildmk.stamp
rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h stamp-h sapi/apache/libphp$(PHP_MAJOR_VERSION).module buildmk.stamp
$(EGREP) define'.*include/php' $(top_srcdir)/configure | $(SED) 's/.*>//'|xargs rm -f
find . -name Makefile | xargs rm -f
.PHONY: all clean install distclean test
.NOEXPORT:
+2333 -430
View File
File diff suppressed because it is too large. Load diff
-125
View File
@@ -1,125 +0,0 @@
This is the first file you should be reading after you get your CVS account.
We'll assume you're basically familiar with CVS, but feel free to post
your questions on the mailing list. Please have a look at
http://cvsbook.red-bean.com/ for more detailed information on CVS.
PHP is developed through the efforts of a large number of people.
Collaboration is a Good Thing(tm), and CVS lets us do this. Thus, following
some basic rules with regards to CVS usage will:
a. Make everybody happier, especially those responsible for maintaining
the CVS itself.
b. Keep the changes consistently well documented and easily trackable.
c. Prevent some of those 'Oops' moments.
d. Increase the general level of good will on planet Earth.
Having said that, here are the organizational rules:
1. Respect other people working on the project.
2. Discuss any significant changes on the list before committing.
3. Look at EXTENSIONS file to see who is the primary maintainer of
the code you want to contribute to.
4. If you "strongly disagree" about something another person did, don't
start fighting publicly - take it up in private email.
5. If you don't know how to do something, ask first!
6. Test your changes before committing them. We mean it. Really.
To do so use "make test".
7. For development use the --enable-maintainer-zts switch to ensure your
code handles TSRM correctly and doesn't break for thos who need that.
Currently we have the following branches in use:
HEAD Will become PHP 6.0. This CVS branch is for active development.
PHP_5_2 Is used to release the PHP 5.2.x series. Only minor feature
enhancements may go in here, but please keep that as infrequent as
possible.
PHP_5_1 This branch is closed.
PHP_4_4 Is used to release the PHP 4.4.x series. Only bugfixes are permitted
on this branch (Consult the releasemaster prior to commit).
PHP_4_3 This branch is closed.
The next few rules are more of a technical nature.
1. DO NOT TOUCH ChangeLog! It is automagically updated from the commit
messages every day. Woe be to those who attempt to mess with it.
2. All news updates intended for public viewing, such as new features,
bug fixes, improvements, etc., should go into the NEWS file.
NB! Lines, starting with @ will go automagically into NEWS file, but
this is NOT recommended, though. Please, add news entries directly to
NEWS file and don't forget to keep them adjusted and sorted.
3. Do not commit multiple file and dump all messages in one commit. If you
modified several unrelated files, commit each group separately and
provide a nice commit message for each one. See example below.
4. Do write your commit message in such a way that it makes sense even
without the corresponding diff. One should be able to look at it, and
immediately know what was modified. Definitely include the function name
in the message as shown below.
5. In your commit messages, keep each line shorter than 80 characters. And
try to align your lines vertically, if they wrap. It looks bad otherwise.
6. If you modified a function that is callable from PHP, prepend PHP to
the function name as shown below.
The format of the commit messages is pretty simple.
Use a - to start a new item in your commit message.
If a line begins with #, it is taken to be a comment and will not appear
in the ChangeLog. Everything else goes into the ChangeLog.
It is important to note that if your comment or news logline spans multiple
lines, you have to put # at the beginning of _every_ such line.
Example. Say you modified two files, datetime.c and string.c. In datetime.c you
added a new format option for the date() function, and in string.c you fixed a
memory leak in php_trim(). Don't commit both of these at once. Commit them
separately and try to make sure your commit messages look something like the
following.
For datetime.c:
- Added new 'K' format modifier to date() for printing out number of days until
New Year's Eve.
For string.c:
- Fixed a memory leak in php_trim() resulting from improper use of zval_dtor().
#- Man, that thing was leaking all over the place!
The # lines will be omitted from the ChangeLog automagically.
Use the [DOC] tag in your log message whenever you feel that your changes
imply a documentation modification. The php-doc team will automatically
get notified about your commit through the php-doc mailing list.
If you fix some bugs, you should note the bug ID numbers in your
commit message. Bug ID should be prefixed by "#" for easier access to
bug report when developers are browsing CVS via LXR or Bonsai.
Example:
Fixed bug #14016 (pgsql notice handler double free crash bug.)
If you don't see your messages in ChangeLog right away, don't worry!
These files are updated once a day, so your stuff will not show up until
somewhat later.
You can use LXR (http://lxr.php.net/) and Bonsai (http://bonsai.php.net/)
to look at PHP CVS repository in various ways.
To receive daily updates to ChangeLog and NEWS, send an empty message to
php-cvs-daily-subscribe@lists.php.net.
Happy hacking,
PHP Team
+21 -50
View File
@@ -96,29 +96,7 @@ OTHER OPTIONS
function entries and definitions at the end of the file, for copying and
pasting into an already existing module.
--assign-params
--string-lens
By default, function proto 'void foo(string bar)' creates the following:
...
zval **bar;
... (zend_get_parameters_ex() called in the middle...)
convert_to_string_ex(bar);
Specifying both of these options changes the generated code to:
...
zval **bar_arg;
int bar_len;
char *bar = NULL;
... (zend_get_parameters_ex() called in the middle...)
convert_to_string_ex(bar_arg);
bar = Z_STRVAL_PP(bar_arg);
bar_len = Z_STRLEN_PP(bar_arg);
You shouldn't have to ask what happens if you leave --string-lens out. If you
have to, it's questionable whether you should be reading this document.
--with-xml[=file]
--xml[=file]
Creates the basics for phpdoc .xml file.
@@ -156,39 +134,32 @@ EXAMPLE
question marks to be replaced by you, and you must of course add your own
value definitions too):
/* {{{ proto bool my_drawtext(resource image, string text, resource font, int x, int y[, int color])
/* {{{ proto bool my_drawtext(resource image, string text, resource font, int x, int y [, int color])
*/
PHP_FUNCTION(my_drawtext)
{
zval **image, **text, **font, **x, **y, **color;
int argc;
int image_id = -1;
int font_id = -1;
char *text = NULL;
int argc = ZEND_NUM_ARGS();
int image_id = -1;
int text_len;
int font_id = -1;
long x;
long y;
long color;
zval *image = NULL;
zval *font = NULL;
argc = ZEND_NUM_ARGS();
if (argc < 5 || argc > 6 || zend_get_parameters_ex(argc, &image, &text, &font, &x, &y, &color) == FAILURE) {
WRONG_PARAM_COUNT;
}
if (zend_parse_parameters(argc TSRMLS_CC, "rsrll|l", &image, &text, &text_len, &font, &x, &y, &color) == FAILURE)
return;
ZEND_FETCH_RESOURCE(???, ???, image, image_id, "???", ???_rsrc_id);
ZEND_FETCH_RESOURCE(???, ???, font, font_id, "???", ???_rsrc_id);
if (image) {
ZEND_FETCH_RESOURCE(???, ???, image, image_id, "???", ???_rsrc_id);
}
if (font) {
ZEND_FETCH_RESOURCE(???, ???, font, font_id, "???", ???_rsrc_id);
}
switch (argc) {
case 6:
convert_to_long_ex(color);
/* Fall-through. */
case 5:
convert_to_long_ex(y);
convert_to_long_ex(x);
/* font: fetching resources already handled. */
convert_to_string_ex(text);
/* image: fetching resources already handled. */
break;
default:
WRONG_PARAM_COUNT;
}
php_error(E_WARNING, "my_drawtext: not yet implemented");
php_error(E_WARNING, "my_drawtext: not yet implemented");
}
/* }}} */
+79
View File
@@ -0,0 +1,79 @@
====================
Mailinglist Rules
====================
This is the first file you should be reading before doing any posts on PHP
mailinglists. Following these rules is considered imperative to the success of
the PHP project. Therefore expect your contributions to be of much less positive
impact if you do not follow these rules. More importantly you can actually
assume that not following these rules will hurt the PHP project.
PHP is developed through the efforts of a large number of people.
Collaboration is a Good Thing(tm), and mailinglists lets us do this. Thus,
following some basic rules with regards to mailinglist usage will:
a. Make everybody happier, especially those responsible for developing PHP
itself.
b. Help in making sure we all use our time more efficiently.
c. Prevent you from making a fool of yourself in public.
d. Increase the general level of good will on planet Earth.
Having said that, here are the organizational rules:
1. Respect other people working on the project.
2. Do not post when you are angry. Any post can wait a few hours. Review
your post after a good breather or a good nights sleep.
3. Make sure you pick the right mailinglist for your posting. Please review
the descriptions on the mailinglist overview page
(http://www.php.net/mailing-lists.php). When in doubt ask a friend or
someone you trust on IRC.
4. Make sure you know what you are talking about. PHP is a very large project
that strives to be very open. The flip side is that the core developers
are faced with a lot of requests. Make sure that you have done your
research before posting to the entire developer community.
5. Patches have a much greater chance of acceptance than just asking the
PHP developers to implement a feature for you. For one it makes the
discussion more concrete and it shows that the poster put thought and time
into the request.
6. If you are posting to an existing thread, make sure that you know what
previous posters have said. This is even more important the longer the
thread is already.
7. Please configure your email client to use a real name and keep message
signatures to a maximum of 2 lines if at all necessary.
The next few rules are more some general hints:
1. If you notice that your posting ratio is much higher than that of other
people, double check the above rules. Try to wait a bit longer before
sending your replies to give other people more time to digest your answers
and more importantly give you the opportunity to make sure that you
aggregate your current position into a single mail instead of multiple
ones.
2. Consider taking a step back from a very active thread now and then. Maybe
talking to some friends and fellow developers will help in understanding
the other opinions better.
3. Do not top post. Place your answer underneath anyone you wish to quote
and remove any previous comment that is not relevant to your post.
4. Do not high-jack threads, by bringing up entirely new topics. Please
create an entirely new thread copying anything you wish to quote into the
new thread.
Finally, additional hints on how to behave inside the virtual community can be
found in RFC 1855 (http://www.faqs.org/rfcs/rfc1855.html).
Happy hacking,
PHP Team
+134 -46
View File
@@ -31,28 +31,68 @@ resources cannot be auto-converted.
Type specifiers
---------------
a - array
b - boolean, stored in zend_bool
d - double
f - function or array containing php method call info (returned as
zend_fcall_info* and zend_fcall_info_cache*)
h - array (returned as HashTable*)
l - long
o - object (of any type)
O - object (of specific type, specified by class entry)
r - resource (stored in zval)
s - string (with possible null bytes) and its length
z - the actual zval
The following list shows the type specifier, its meaning and the parameter
types that need to be passed by address. All passed paramaters are set
if the PHP parameter is non optional and untouched if optional and the
parameter is not present. The only exception is O where the zend_class_entry*
has to be provided on input and is used to verify the PHP parameter is an
instance of that class.
a - array (zval*)
A - array or object (zval *)
b - boolean (zend_bool)
C - class (zend_class_entry*)
d - double (double)
f - function or array containing php method call info (returned as
zend_fcall_info and zend_fcall_info_cache)
h - array (returned as HashTable*)
H - array or HASH_OF(object) (returned as HashTable*)
l - long (long)
L - long, limits out-of-range numbers to LONG_MAX/LONG_MIN (long)
o - object of any type (zval*)
O - object of specific type given by class entry (zval*, zend_class_entry)
r - resource (zval*)
s - string (with possible null bytes) and its length (char*, int)
z - the actual zval (zval*)
Z - the actual zval (zval**)
* - variable arguments list (0 or more)
+ - variable arguments list (1 or more)
The following characters also have a meaning in the specifier string:
| - indicates that the remaining parameters are optional, they
should be initialized to default values by the extension since they
will not be touched by the parsing function if they are not
passed to it.
/ - use SEPARATE_ZVAL_IF_NOT_REF() on the parameter it follows
! - the parameter it follows can be of specified type or NULL (only applies
to 's', 'a', 'o', 'O', 'r', 'h', 'C', 'z', and 'Z'). If NULL is passed,
the results pointer is set to NULL as well.
| - indicates that the remaining parameters are optional, they
should be initialized to default values by the extension since they
will not be touched by the parsing function if they are not
passed to it.
/ - use SEPARATE_ZVAL_IF_NOT_REF() on the parameter it follows
! - the parameter it follows can be of specified type or NULL (applies
to all specifiers except for 'b', 'l', and 'd'). If NULL is passed, the
results pointer is set to NULL as well.
Note on 64bit compatibility
---------------------------
Please do not forget that int and long are two different things on 64bit
OSes (int is 4 bytes and long is 8 bytes), so make sure you pass longs to "l"
and ints to strings length (i.e. for "s" you need to pass char * and int),
not the other way round!
Remember: "l" is the only case when you need to pass long (and that's why
it's "l", not "i" btw).
Both mistakes cause memory corruptions and segfaults on 64bit OSes:
1)
char *str;
long str_len; /* XXX THIS IS WRONG!! Use int instead. */
zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len)
2)
int num; /* XXX THIS IS WRONG!! Use long instead. */
zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &num)
If you're in doubt, use check_parameters.php script to the parameters
and their types (it can be found in ./scripts/dev/ directory of PHP sources):
# php ./scripts/dev/check_parameters.php /path/to/your/sources/
Examples
--------
@@ -62,18 +102,18 @@ char *s;
int s_len;
zval *param;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lsz",
&l, &s, &s_len, &param) == FAILURE) {
return;
&l, &s, &s_len, &param) == FAILURE) {
return;
}
/* Gets an object of class specified by my_ce, and an optional double. */
zval *obj;
double d = 0.5;
zend_class_entry my_ce;
zend_class_entry *my_ce;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|d",
&obj, my_ce, &d) == FAILURE) {
return;
&obj, my_ce, &d) == FAILURE) {
return;
}
@@ -82,29 +122,18 @@ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|d",
zval *obj;
zval *arr;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o!a",
&obj, &arr) == FAILURE) {
return;
&obj, &arr) == FAILURE) {
return;
}
/* Gets a separated array which can also be null. */
zval *arr;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a/!",
&arr) == FAILURE) {
return;
&arr) == FAILURE) {
return;
}
/* Get only the first three parameters (useful for varargs functions). */
zval *z;
zend_bool b;
zval *r;
if (zend_parse_parameters(3 TSRMLS_CC, "zbr!",
&z, &b, &r) == FAILURE) {
return;
}
/* Get either a set of 3 longs or a string. */
long l1, l2, l3;
char *s;
@@ -118,13 +147,72 @@ char *s;
int length;
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC,
"lll", &l1, &l2, &l3) == SUCCESS) {
/* manipulate longs */
"lll", &l1, &l2, &l3) == SUCCESS) {
/* manipulate longs */
} else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC,
"s", &s, &length) == SUCCESS) {
/* manipulate string */
"s", &s, &length) == SUCCESS) {
/* manipulate string */
} else {
/* output error */
/* output error */
return;
return;
}
/* Function that accepts only varargs (0 or more) */
int i, num_varargs;
zval ***varargs = NULL;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "*", &varargs, &num_varargs) == FAILURE) {
return;
}
for (i = 0; i < num_varargs; i++) {
/* do something with varargs[i] */
}
if (varargs) {
efree(varargs);
}
/* Function that accepts a string, followed by varargs (1 or more) */
char *str;
int str_len;
int i, num_varargs;
zval ***varargs = NULL;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s+", &str, &str_len, &varargs, &num_varargs) == FAILURE) {
return;
}
for (i = 0; i < num_varargs; i++) {
/* do something with varargs[i] */
}
if (varargs) {
efree(varargs);
}
/* Function that takes an array, followed by varargs, and ending with a long */
long num;
zval *array;
int i, num_varargs;
zval ***varargs = NULL;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a*l", &array, &varargs, &num_varargs, &num) == FAILURE) {
return;
}
for (i = 0; i < num_varargs; i++) {
/* do something with varargs[i] */
}
if (varargs) {
efree(varargs);
}
+429
View File
@@ -0,0 +1,429 @@
1. libmagic (ext/fileinfo) see ext/fileinfo/libmagic/LICENSE
2. Oniguruma (ext/mbstring) see ext/mbstring/oniguruma/COPYING
3. libmbfl (ext/mbstring) see ext/mbstring/libmbfl/LICENSE
4. pcrelib (ext/pcre) see ext/pcre/pcrelib/LICENCE
5. ext/standard crypt
6. ext/standard crypt's blowfish implementation
7. Sqlite/Sqlite3 ext/sqlite3 ext/sqlite
8. ext/json/json_parser
9. ext/standard/rand
10. ext/standard/scanf
11. ext/standard/strnatcmp.c
12. ext/standard/uuencode
13. libxmlrpc ext/xmlrpc
14. libzip ext/zip
15. main/snprintf.c
16. main/strlcat
17. main/strlcpy
18. libgd see ext/gd/libgd/COPYING
5. ext/standard crypt
FreeSec: libcrypt for NetBSD
Copyright (c) 1994 David Burren
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the author nor the names of other contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
6. ext/standard crypt's blowfish implementation
This code comes from John the Ripper password cracker, with reentrant
and crypt(3) interfaces added, but optimizations specific to password
cracking removed.
Written by Solar Designer <solar at openwall.com> in 1998-2002 and
placed in the public domain.
There's absolutely no warranty.
It is my intent that you should be able to use this on your system,
as a part of a software package, or anywhere else to improve security,
ensure compatibility, or for any other purpose. I would appreciate
it if you give credit where it is due and keep your modifications in
the public domain as well, but I don't require that in order to let
you place this code and any modifications you make under a license
of your choice.
This implementation is compatible with OpenBSD bcrypt.c (version 2a)
by Niels Provos <provos at citi.umich.edu>, and uses some of his
ideas. The password hashing algorithm was designed by David Mazieres
<dm at lcs.mit.edu>.
There's a paper on the algorithm that explains its design decisions:
http://www.usenix.org/events/usenix99/provos.html
Some of the tricks in BF_ROUND might be inspired by Eric Young's
Blowfish library (I can't be sure if I would think of something if I
hadn't seen his code).
7. Sqlite/Sqlite3 ext/sqlite3 ext/sqlite
The author disclaims copyright to this source code. In place of
a legal notice, here is a blessing:
May you do good and not evil.
May you find forgiveness for yourself and forgive others.
May you share freely, never taking more than you give.
8. ext/json/json_parser
Copyright (c) 2005 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The Software shall be used for Good, not Evil.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
9. ext/standard/rand
The following php_mt_...() functions are based on a C++ class MTRand by
Richard J. Wagner. For more information see the web page at
http://www-personal.engin.umich.edu/~wagnerr/MersenneTwister.html
Mersenne Twister random number generator -- a C++ class MTRand
Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus
Richard J. Wagner v1.0 15 May 2003 rjwagner@writeme.com
The Mersenne Twister is an algorithm for generating random numbers. It
was designed with consideration of the flaws in various other generators.
The period, 2^19937-1, and the order of equidistribution, 623 dimensions,
are far greater. The generator is also fast; it avoids multiplication and
division, and it benefits from caches and pipelines. For more information
see the inventors' web page at http://www.math.keio.ac.jp/~matumoto/emt.html
Reference
M. Matsumoto and T. Nishimura, "Mersenne Twister: A 623-Dimensionally
Equidistributed Uniform Pseudo-Random Number Generator", ACM Transactions on
Modeling and Computer Simulation, Vol. 8, No. 1, January 1998, pp 3-30.
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
Copyright (C) 2000 - 2003, Richard J. Wagner
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The names of its contributors may not be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10. ext/standard/scanf
scanf.c --
This file contains the base code which implements sscanf and by extension
fscanf. Original code is from TCL8.3.0 and bears the following copyright:
This software is copyrighted by the Regents of the University of
California, Sun Microsystems, Inc., Scriptics Corporation,
and other parties. The following terms apply to all files associated
with the software unless explicitly disclaimed in individual files.
The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose, provided
that existing copyright notices are retained in all copies and that this
notice is included verbatim in any distributions. No written agreement,
license, or royalty fee is required for any of the authorized uses.
Modifications to this software may be copyrighted by their authors
and need not follow the licensing terms described here, provided that
the new terms are clearly indicated on the first page of each file where
they apply.
IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
MODIFICATIONS.
GOVERNMENT USE: If you are acquiring this software on behalf of the
U.S. government, the Government shall have only "Restricted Rights"
in the software and related documentation as defined in the Federal
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
are acquiring the software on behalf of the Department of Defense, the
software shall be classified as "Commercial Computer Software" and the
Government shall have only "Restricted Rights" as defined in Clause
252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the
authors grant the U.S. Government and others acting in its behalf
permission to use and distribute the software in accordance with the
terms specified in this license.
11. ext/standard/strnatcmp.c
strnatcmp.c -- Perform 'natural order' comparisons of strings in C.
Copyright (C) 2000 by Martin Pool <mbp@humbug.org.au>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
12. ext/standard/uuencode
Portions of this code are based on Berkeley's uuencode/uudecode
implementation.
Copyright (c) 1983, 1993
The Regents of the University of California. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the University of
California, Berkeley and its contributors.
4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
13. libxmlrpc ext/xmlrpc
Copyright 2000 Epinions, Inc.
Subject to the following 3 conditions, Epinions, Inc. permits you, free
of charge, to (a) use, copy, distribute, modify, perform and display this
software and associated documentation files (the "Software"), and (b)
permit others to whom the Software is furnished to do so as well.
1) The above copyright notice and this permission notice shall be included
without modification in all copies or substantial portions of the
Software.
2) THE SOFTWARE IS PROVIDED "AS IS", WITHOUT ANY WARRANTY OR CONDITION OF
ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF ACCURACY, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE OR NONINFRINGEMENT.
3) IN NO EVENT SHALL EPINIONS, INC. BE LIABLE FOR ANY DIRECT, INDIRECT,
SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
OF OR IN CONNECTION WITH THE SOFTWARE (HOWEVER ARISING, INCLUDING
NEGLIGENCE), EVEN IF EPINIONS, INC. IS AWARE OF THE POSSIBILITY OF SUCH
DAMAGES.
14. libzip ext/zip
zip.h -- exported declarations.
Copyright (C) 1999-2009 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. The names of the authors may not be used to endorse or promote
products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15. main/snprintf.c
Copyright (c) 2002, 2006 Todd C. Miller <Todd.Miller@courtesan.com>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Sponsored in part by the Defense Advanced Research Projects
Agency (DARPA) and Air Force Research Laboratory, Air Force
Materiel Command, USAF, under agreement number F39502-99-1-0512.
main/spprintf
Copyright (c) 1995-1998 The Apache Group. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. All advertising materials mentioning features or use of this
software must display the following acknowledgment:
"This product includes software developed by the Apache Group
for use in the Apache HTTP server project (http://www.apache.org/)."
4. The names "Apache Server" and "Apache Group" must not be used to
endorse or promote products derived from this software without
prior written permission.
5. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes software developed by the Apache Group
for use in the Apache HTTP server project (http://www.apache.org/)."
THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
====================================================================
This software consists of voluntary contributions made by many
individuals on behalf of the Apache Group and was originally based
on public domain software written at the National Center for
Supercomputing Applications, University of Illinois, Urbana-Champaign.
For more information on the Apache Group and the Apache HTTP server
project, please see <http://www.apache.org/>.
This code is based on, and used with the permission of, the
SIO stdio-replacement strx_* functions by Panos Tsirigotis
<panos@alumni.cs.colorado.edu> for xinetd.
16. main/strlcat
17. main/strlcpy
Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+286
View File
@@ -0,0 +1,286 @@
=======================
PHP Release Process
=======================
General notes and tips
----------------------
1. Do not release on Fridays, Saturdays or Sundays
because the sysadmins can not upgrade stuff then.
2. Package the day before a release. So if the release is to be on Thursday,
package on Wednesday.
3. Ensure that Windows builds will work before packaging
4. Follow all steps to the letter. When unclear ask previous RM's (Derick/Ilia)
before proceeding. Ideally make sure that for the first releases one of the
previous RM's is around to answer questions. For the steps related to the
php/QA/bug websites try to have someone from the webmaster team (Bjori) on hand.
5. Verify the tags to be extra sure everything was tagged properly.
6. Moving extensions from/to PECL requires root level access to the CVS server.
Contact systems@php.net to get this taken care of.
Moving extensions from php-src to PECL
- Filesystem: cp -r php-src/ext/foo pecl/foo
- cvs rm php-src/ext/foo
If the extension is still usable or not dead, in cooperation with the extension
maintainers if any:
- create the pecl.php.net/foo package and its content, license, maintainer
- create the package.xml, commit
- release the package
Moving extensions from PECL to php-src
- Filesystem: cp -r pecl/foo php-src/ext/foo
OR depending on the wishes from the PECL extension maintainer.
- Filesystem: ln -s pecl/foo php-src/ext/foo
Rolling a non stable release (alpha/beta/RC)
--------------------------------------------
1. Check windows snapshot builder logs (http://snaps.php.net/win32/snapshot-STABLE.log f.e.)
2. Bump the version numbers in ``main/php_version.h``, ``configure.in`` and possibly ``NEWS``.
Do not use abbreviations for alpha and beta.
3. Commit those changes
4. run the "scripts/dev/credits" script in php-src and commit the changes in the
credits files in ext/standard.
5. tag the repository with the version f.e. "``cvs tag php_4_4_1RC1``"
(of course, you need to change that to the version you're rolling an RC for).
6. Bump up the version numbers in ``main/php_version.h``, ``configure.in``
and possibly ``NEWS`` again, to the **next** version. F.e. if the release
candidate was "4.4.1RC1" then the new one should be "4.4.1RC2-dev" - regardless
if we get a new RC or not. This is to make sure ``version_compare()`` can
correctly work.
7. Commit those changes
8. Log in onto the snaps box and go into the correct tree (f.e. the PHP_4_4
branch if you're rolling 4.4.x releases).
9. You do not have to update the tree, but of course you can with "``cvs up -dP``".
10. run: ``./makedist php 4.4.1RC1``, this will export the tree, create configure
and build two tarballs (one gz and one bz2).
11. Copy those two tarballs to www.php.net, in your homedir there should be a
directory "downloads/". Copy them into there, so that the system can generate
MD5 sums. If you do not have this directory, talk to Derick.
12. Now the RC can be found on http://downloads.php.net/yourname,
f.e. http://downloads.php.net/derick/
13. Once the release has been tagged, contact the PHP Windows development team
(internals-win@lists.php.net) so that Windows binaries can be created. Once
those are made, they should be placed into the same directory as the source snapshots.
Getting the non stable release (alpha/beta/RC) announced
--------------------------------------------------------
1. Send an email (see example here: http://news.php.net/php.internals/19486)
**To** ``internals@lists.php.net`` and ``php-general@lists.php.net`` lists
pointing out "the location of the release" and "the possible release date of
either the next RC, or the final release".
2. Send an email (see example here http://news.php.net/php.pear.qa/5201) **To**
``php-qa@lists.php.net`` and ``primary-qa-tests@lists.php.net``.
This email is to notify the selected projects about a new release so that they
can make sure their projects keep working. Make sure that you have been setup
as a moderator for ``primary-qa-tests@lists.php.net`` by having someone (Wez,
Derick) run the following commands for you:
``ssh lists.php.net``
``sudo -u ezmlm ezmlm-sub ~ezmlm/primary-qa-tester/mod moderator-email-address``
3. Update the MD5 sums in ``web/qa/trunk/include/rc-md5sums.txt`` (no empty lines).
4. Update in ``web/qa/trunk/include/release-qa.php`` constants with the new RC and
commit this.
a. ``$BUILD_TEST_RELEASES`` = array("4.4.7RC1", "5.2.2RC1")
b. ``$CURRENT_QA_RELEASE_4`` = "4.4.7RC1" (``$CURRENT_QA_RELEASE_5`` for PHP5)
c. ``$RELEASE_PROCESS`` = array(4 => true, 5 => true)
1. Update in ``php-bugs/trunk/include/functions.inc`` the ``show_version_option``
function to include the new RC and commit.
2. Update ``phpweb/include/version.inc`` (x=major version number)
a. ``$PHP_x_RC`` = "5.3.0RC1"
b. ``$PHP_x_RC_DATE`` = "06 September 2007"
3. Commit those changes:
a. ``cvs commit include/version.inc include/releases.inc``
4. For the first RC, write the doc team (phpdoc@lists.php.net) about updating the
INSTALL and win32/install.txt files which are generated from the PHP manual sources.
Rolling a stable release
------------------------
1. Check windows snapshot builder logs (http://snaps.php.net/win32/snapshot-STABLE.log f.e.)
2. Bump the version numbers in ``main/php_version.h``, ``configure.in`` and possibly ``NEWS``.
3. **Merge** all related sections in NEWS (f.e. merge the 4.4.1RC1 and 4.4.0 sections)
4. Commit those changes
5. run the "scripts/dev/credits" script in php-src and commit the changes in the
credits files in ext/standard.
6. tag the repository with the version f.e. "``cvs tag php_4_4_1``"
(of course, you need to change that to the version you're rolling an RC for).
When making 5.X release, you need to tag the Zend directory separately!!
7. Bump up the version numbers in ``main/php_version.h``, ``configure.in`` and
possibly ``NEWS`` again, to the **next** version. F.e. if the release candidate
was "4.4.1RC1" then the new one should be "4.4.1RC2-dev" - regardless if we get
a new RC or not. This is to make sure ``version_compare()`` can correctly work.
8. Commit those changes
9. Log in onto the snaps box and go into the correct tree (f.e. the PHP_4_4
branch if you're rolling 4.4.x releases).
10. You do not have to update the tree, but of course you can with "``cvs up -dP``".
11. run: ``./makedist php 4.4.1``, this will export the tree, create configure
and build two tarballs (one gz and one bz2).
12. Commit those two tarballs to CVS (phpweb/distributions)
13. Once the release has been tagged, contact the PHP Windows development team
(internals-win@lists.php.net) so that Windows binaries can be created. Once
those are made, they should be committed to CVS too.
14. Check if the pear files are updated (phar for 5.1+ or run pear/make-pear-bundle.php with 4.4)
15. When making a final release, also remind the PHP Windows development team
(internals-win@lists.php.net) to prepare the installer packages for Win32.
Getting the stable release announced
------------------------------------
1. Run the bumpRelease script for phpweb on your local checkout
a. ``php bin/bumpRelease 5`` (or ``php bin/bumpRelease 4`` for PHP4)
2. Edit ``phpweb/include/version.inc`` and change (X=major release number):
a. ``$PHP_X_VERSION`` to the correct version
b. ``$PHP_X_DATE`` to the release date
c. ``$PHP_X_MD5`` array and update all the md5 sums
d. set ``$PHP_X_RC`` to false!
e. Make sure there are no outdated "notes" or edited "date" keys in the
``$RELEASES[X][$PHP_X_VERSION]["source"]`` array
f. if the windows builds aren't ready yet prefix the "windows" key with a dot (".windows")
3. Update the ChangeLog file for the given major version
f.e. ``ChangeLog-4.php`` from the NEWS file
a. go over the list and put every element on one line
b. check for &, < and > and escape them if necessary
c. remove all the names at the ends of lines
d. for marking up, you can do the following (with VI):
I. ``s/^- /<li>/``
II. ``s/$/<\/li>/``
III. ``s/Fixed bug #\([0-9]\+\)/<?php bugfix(\1); ?>/``
IV. ``s/Fixed PECL bug #\([0-9]\+\)/<?php peclbugfix(\1); ?>/``
V. ``s/FR #\([0-9]\+\)/FR <?php bugl(\1); ?>/``
4. ``cp releases/4_4_0.php releases/4_4_1.php``
5. ``cvs add releases/4_4_1.php``
6. Update the ``releases/*.php`` file with relevant data. The release
announcement file should list in detail:
a. security fixes,
b. changes in behavior (whether due to a bug fix or not)
7. Add a short notice to phpweb stating that there is a new release, and
highlight the major important things (security fixes) and when it is important
to upgrade.
a. Call php bin/createNewsEntry in your local phpweb checkout
b. Add the content for the news entry
8. Commit all the changes.
9. Wait an hour or two, then send a mail to php-announce@lists.php.net,
php-general@lists.php.net and internals@lists.php.net with a text similar to
http://news.php.net/php.internals/17222.
10. Update ``php-bugs-web/include/functions.php`` to include the new version
number, and remove the RC from there.
11. Update ``qaweb/include/release-qa.php``
a. Update the $BUILD_TEST_RELEASES array with the release name
b. Update $RELEASE_PROCESS array (set to false)
I. For PHP4: Set $CURRENT_QA_RELEASE_4 to false
II. For PHP5: Set $CURRENT_QA_RELEASE_5 to false
Re-releasing the same version (or -pl)
--------------------------------------
1. Commit the new binaries to ``phpweb/distributions/``
2. Edit ``phpweb/include/version.inc`` and change (X=major release number):
a. If only releasing for one OS, make sure you edit only those variables
b. ``$PHP_X_VERSION`` to the correct version
c. ``$PHP_X_DATE`` to the release date
d. ``$PHP_X_MD5`` array and update all the md5 sums
e. Make sure there are no outdated "notes" or edited "date" keys in the
``$RELEASES[X][$PHP_X_VERSION]["source"]`` array
3. Add a short notice to phpweb stating that there is a new release, and
highlight the major important things (security fixes) and when it is important
to upgrade.
a. Call php bin/createNewsEntry in your local phpweb checkout
b. Add the content for the news entry
4. Commit all the changes (``include/version.inc``, ``archive/archive.xml``,
``archive/entries/YYYY-MM-DD-N.xml``)
5. Wait an hour or two, then send a mail to php-announce@lists.php.net,
php-general@lists.php.net and internals@lists.php.net with a text similar to
the news entry.
+106 -96
View File
@@ -1,126 +1,136 @@
Submitting Patch for PHP
========================
Submitting Patches to PHP
=========================
This document describes how to submit a patch for PHP. Since you are
reading this document, you are willing to submit a patch for PHP.
Please keep reading! Submitting a patch for PHP is easy. The hard
part is making it acceptable for inclusion into our repository. :-)
This document describes how to submit a patch for PHP. Creating a
patch for PHP is easy!
How to create patch?
--------------------
We are working with CVS. You need to get CVS source to create a patch
that we accept. Visit http://www.php.net/anoncvs.php to get CVS
source. You can check out older versions, but make sure you get
the default branch (i.e. Do not use -r option when you check out the
CVS source)
You don't need any login accounts or special access to download,
build, debug and begin submitting PHP code, tests or documentation for
inclusion in PHP. Once you've followed this README and had several
patches accepted, PHP commit privileges are often quickly granted.
Read CODING_STANDARDS file before you start working.
Now you are ready to create a patch. Modify source to fix a bug in PHP or
add a new feature to PHP. After you finished editing, please test your
patch. Read README.TESTING for testing.
After you finish testing your patch, take diff file using
"cvs diff > your.patch" command.
Read README.TESTING for submitting a test script for your patch. This is
not strictly required, but it is preferred to submit a test script along
with your patch. Making new test script is very easy. It also helps us
to understand what you have been fixed or added to PHP.
An excellent article to read first is:
http://phpadvent.org/2008/less-whining-more-coding-by-elizabeth-smith
Tips for creating patch
-----------------------
If you would like to fix multiple bugs. It is easier for us if you
could create 1 patch for 1 bug, but this is not strictly required.
Note though that you might get little response, if your patch is
too hard to review.
Prework
-------
If you are fixing broken functionality then create a bug or identify
an existing bug at http://bugs.php.net/. This can be used to track
the patch progress and prevent your changes getting lost in the PHP
mail archives.
If you would like change/add many lines, it is better to ask module
maintainer and/or internals@lists.php.net, or pear-dev@lists.php.net if
you are patching PEAR. Official module maintainers can be found in
EXTENSIONS file in PHP source.
If your code change is large then first discuss it with the extension
maintainer and/or a development mail list. Extension maintainers can
be found in the EXTENSIONS file in the PHP source. Use the
internals@lists.php.net mail list to discuss changes to the base PHP
code. Use pecl-dev@lists.php.net for changes to code that is only
available from PECL (http://pecl.php.net/). Use pear-dev@lists.php.net
for PEAR modules (http://pear.php.net/). Mail list subscription is
explained on http://www.php.net/mailing-lists.php.
If you are new to CVS (Concurrent Versions System), visit
http://cvshome.org/ for details.
If a PHP or PECL patch affects user-functionality or makes significant
internal changes then create a simple RFC on http://wiki.php.net/rfc
before starting discussion. This RFC can be used for initial
discussion and later for documentation. Wiki accounts can be requested
on http://wiki.php.net/start?do=register
There are several IRC channels where PHP developers are often
available to discuss questions. They include #php.pecl on the EFNet
network and #php-dev-win on FreeNode.
Recommended CVS client settings for creating patch file
------------------------------------------------------
Recommended ~/.cvsrc file setting is:
------
cvs -z3
update -d -P
checkout -P
diff -u
How to create your patch
------------------------
PHP uses Subversion (SVN) for revision control. Read
http://www.php.net/svn.php for help on using SVN to get and build PHP
source code. We recommend using a Sparse Directory checkout described
in http://wiki.php.net/vcs/svnfaq. If you are new to SVN, read
http://svnbook.red-bean.com.
------
diff -u means:
-u Use the unified output format.
Generally we ask that patches work on the current stable PHP
development branch and on "trunk".
With this CVS setting, you don't have to worry about adding/deleting
newlines and spaces.
Read CODING_STANDARDS before you start working.
After modifying the source see README.TESTING and
http://qa.php.net/write-test.php for how to test. Submitting test
scripts helps us to understand what functionality has changed. It is
important for the stability and maintainability of PHP that tests are
comprehensive.
After testing is finished, create a patch file using the command:
svn diff > your_patch.txt
For ease of review and later troubleshooting, submit individual
patches for each bug or feature.
Check list for submitting patch
-------------------------------
- Did you run "make test" to check if your patch didn't break
other features?
- Did you compile PHP with --enable-debug and check the PHP and
web server error logs when you test your patch?
- Did you build PHP for multi-threaded web servers. (Optional)
- Did you create test script for "make test"? (Recommended)
- Did you check your patch is unified format and it does not
contain white space changes? (If you are not using recommended
cvs setting)
- Did you update CVS source before you take final patch?
- Did you read the patch again?
Checklist for submitting your patch
-----------------------------------
- Update SVN source just before running your final 'diff' and
before testing.
- Run "make test" to check your patch doesn't break other features.
- Rebuild PHP with --enable-debug (which will show some kinds of
memory errors) and check the PHP and web server error logs after
running the PHP tests.
- Rebuild PHP with --enable-maintainer-zts to check your patch compiles
on multi-threaded web servers.
- Create test scripts for use with "make test".
- Add in-line comments and/or have external documentation ready.
- Review the patch once more just before submitting it.
Where to send your patch?
-------------------------
If you are patching C source, send the patch to internals@lists.php.net.
If you are patching a module, you should also send the patch to the
maintainer. Official module maintainers are listed in EXTENSION file
in source.
Where to send your patch
------------------------
If you are patching PHP C source then email the patch to
internals@lists.php.net
If you are patching PEAR, send the patch to pear-dev@lists.php.net.
If you patching a PECL extension then send the patch to
pecl-dev@lists.php.net
Please add the prefix "[PATCH]" to your email subject and make sure
to include the patch as a MIME attachment even if it is short.
If you are patching PEAR then send the patch to
pear-dev@lists.php.net
NOTE: only MIME attachments of type 'text/*' are accepted. The
easiest way to accomplish this, is to make the extension
'.txt'.
The mail can be CC'd to the extension maintainer (see EXTENSIONS).
Test scripts should be included in the same email.
Explain what has been fixed/added/changed by your patch.
Please make the subject prefix "[PATCH]".
Finally, add the bug Id(s) which can be closed by your patch, if any.
Include the patch as an attachment. Note: only MIME attachments of
type 'text/*' are accepted. The easiest way to accomplish this is to
make the file extension '.txt'.
Explain what has been fixed/added/changed by your patch. Test scripts
should be included in the email.
Include the bug id(s) which can be closed by your patch.
Finally, update any open bugs and add a link to the source of your
patch.
What happens after you submit your patch
----------------------------------------
If your patch is easy to review and has obviously no side-effects,
it might take up to a few hours until someone commits it.
----------------------------------------
If your patch is easy to review and obviously has no side-effects,
it might be committed relatively quickly.
Because this is a volunteer-driven effort, more complex patches will
require more patience on your side.
If you did not receive any feedback in a few days, please consider
resubmitting the description of your patch, along-side with
Because PHP is a volunteer-driven effort more complex patches will
require patience on your side. If you do not receive feedback in a few
days, consider resubmitting the patch. Before doing this think about
these questions:
- Is my patch too hard to review? Because of which factors?
- Should I split it up in multiple parts?
- Are there any unwanted whitespace changes?
- Did I review the mail list archives to see if these kind of
changes had been discussed before?
- Did I explain my patch clearly?
- Is my patch too hard to review? Because of which factors?
- Are there any unwanted white space changes?
What happens when your patch is applied?
----------------------------------------
Your name will be included together with your email address in the CVS
commit log. If your patch affects end-users, a brief description
What happens when your patch is applied
---------------------------------------
Your name will be included together with your email address in the SVN
commit log. If your patch affects end users, a brief description
and your name might be added to the NEWS file.
Thank you for submitting patch for PHP!
Thank you for patching PHP!
+146
View File
@@ -0,0 +1,146 @@
====================
SVN Commit Rules
====================
This is the first file you should be reading after you get your SVN account.
We'll assume you're basically familiar with SVN, but feel free to post
your questions on the mailing list. Please have a look at
http://svnbook.red-bean.com/ for more detailed information on SVN.
PHP is developed through the efforts of a large number of people.
Collaboration is a Good Thing(tm), and SVN lets us do this. Thus, following
some basic rules with regards to SVN usage will::
a. Make everybody happier, especially those responsible for maintaining
the SVN itself.
b. Keep the changes consistently well documented and easily trackable.
c. Prevent some of those 'Oops' moments.
d. Increase the general level of good will on planet Earth.
Having said that, here are the organizational rules::
1. Respect other people working on the project.
2. Discuss any significant changes on the list before committing and get
confirmation from the release manager for the given branch.
3. Look at EXTENSIONS file to see who is the primary maintainer of
the code you want to contribute to.
4. If you "strongly disagree" about something another person did, don't
start fighting publicly - take it up in private email.
5. If you don't know how to do something, ask first!
6. Test your changes before committing them. We mean it. Really.
To do so use "make test".
7. For development use the --enable-maintainer-zts switch to ensure your
code handles TSRM correctly and doesn't break for thos who need that.
Currently we have the following branches in use::
trunk Will become PHP 6.0. This CVS branch is for active development.
branches/PHP_5_3 Is used to release the PHP 5.3.x series. It still allows for
larger enhancements.
branches/PHP_5_2 Is used to release the PHP 5.2.x series. Only bugfixes are permitted
on this branch (Consult the releasemaster prior to commit).
branches/PHP_5_1 This branch is closed.
branches/PHP_4_4 This branch is closed.
The next few rules are more of a technical nature::
1. All changes should first go to trunk and then get merged from trunk
(aka MFH'ed) to all other relevant branches.
2. DO NOT TOUCH ChangeLog! It is automagically updated from the commit
messages every day. Woe be to those who attempt to mess with it.
3. All news updates intended for public viewing, such as new features,
bug fixes, improvements, etc., should go into the NEWS file of the
*first* to be released version with the given change. In other words
any NEWS file change only needs to done in one branch.
NB! Lines, starting with @ will go automagically into NEWS file, but
this is NOT recommended, though. Please, add news entries directly to
NEWS file and don't forget to keep them adjusted and sorted.
4. Do not commit multiple file and dump all messages in one commit. If you
modified several unrelated files, commit each group separately and
provide a nice commit message for each one. See example below.
5. Do write your commit message in such a way that it makes sense even
without the corresponding diff. One should be able to look at it, and
immediately know what was modified. Definitely include the function name
in the message as shown below.
6. In your commit messages, keep each line shorter than 80 characters. And
try to align your lines vertically, if they wrap. It looks bad otherwise.
7. If you modified a function that is callable from PHP, prepend PHP to
the function name as shown below.
The format of the commit messages is pretty simple.
Use a - to start a new item in your commit message.
If a line begins with #, it is taken to be a comment and will not appear
in the ChangeLog. Everything else goes into the ChangeLog.
It is important to note that if your comment or news logline spans multiple
lines, you have to put # at the beginning of **every** such line.
Example. Say you modified two files, datetime.c and string.c. In datetime.c you
added a new format option for the date() function, and in string.c you fixed a
memory leak in php_trim(). Don't commit both of these at once. Commit them
separately and try to make sure your commit messages look something like the
following.
For datetime.c::
- Added new 'K' format modifier to date() for printing out number of days
until New Year's Eve.
For string.c::
- Fixed a memory leak in php_trim() resulting from improper use of zval_dtor().
#- Man, that thing was leaking all over the place!
The # lines will be omitted from the ChangeLog automagically.
Use the [DOC] tag in your log message whenever you feel that your changes
imply a documentation modification. The php-doc team will automatically
get notified about your commit through the php-doc mailing list.
If you fix some bugs, you should note the bug ID numbers in your
commit message. Bug ID should be prefixed by "#" for easier access to
bug report when developers are browsing CVS via LXR or Bonsai.
Example::
Fixed bug #14016 (pgsql notice handler double free crash bug.)
If you don't see your messages in ChangeLog right away, don't worry!
These files are updated once a day, so your stuff will not show up until
somewhat later.
When you change the NEWS file for a bug fix, then please keep the bugs
sorted in decreasing order under the fixed version.
You can use LXR (http://lxr.php.net/) and Bonsai (http://bonsai.php.net/)
to look at PHP SVN repository in various ways.
To receive daily updates to ChangeLog and NEWS, send an empty message to
php-cvs-daily-subscribe@lists.php.net.
Happy hacking,
PHP Team
+5 -4
View File
@@ -32,11 +32,12 @@ sapi/cli/php [-c /path/to/php.ini] run-tests.php [ext/foo/tests/GLOB]
[Which "php" executable "make test" look for]
---------------------------------------------
You must use TEST_PHP_EXECUTABLE environment variable to explicitly
select the php executable to be used to run the tests. That can either
be the CLI or CGI executable.
If you are running the run-tests.php script from the command line (as above)
you must set the TEST_PHP_EXECUTABLE environment variable to explicitly
select the PHP executable that is to be tested, that is, used to run the test scripts.
"make test" executes "run-tests.php" script with "php" binary. Some
If you run the tests using make test, the PHP CLI and CGI executables are
automatically set for you. "make test" executes "run-tests.php" script with the CLI binary. Some
test scripts such as session must be executed by CGI SAPI. Therefore,
you must build PHP with CGI SAPI to perform all tests.
+14 -14
View File
@@ -1,11 +1,11 @@
[IMPORTANT NOTICE]
------------------
This is an addendum to README.TESTING with additional information
specific to run-tests2.php.
specific to server-tests.php.
run-tests2.php is backward compatible with tests developed for
the original run-tests.php script. run-tests2 is *not* used by
'make test'. run-tests2 was developed to provide support for
server-tests.php is backward compatible with tests developed for
the original run-tests.php script. server-tests is *not* used by
'make test'. server-tests was developed to provide support for
testing PHP under it's primary environment, HTTP, and can run the
PHP tests under any of the SAPI modules that are direct executables,
or are accessable via HTTP.
@@ -13,12 +13,12 @@ or are accessable via HTTP.
[New features]
----------------
* Command line interface:
You can run 'php run-tests2.php -h' to get all the possible options.
You can run 'php server-tests.php -h' to get all the possible options.
* Configuration file:
the -c argument will allow you to use a configuration file. This is
handy if you are testing multiple environments and need various options
depending on the environment.
see run-tests-config.php for details.
see server-tests-config.php for details.
* CGI Emulation:
Will emulate a CGI environment when testing with the cgi sapi executable.
* HTTP testing:
@@ -39,23 +39,23 @@ make testing work.
Some (but not all!) examples of usage:
1. run tests from the php source directory
php run-tests2.php -p /path/to/php-cli
php server-tests.php -p /path/to/php-cli
2. run tests using cgi emulation
php run-tests2.php -p /path/to/php-cgi
php server-tests.php -p /path/to/php-cgi
3. run tests over http, copying test files into document root
php run-tests2.php -w -u http://localhost/test -m /path/to/htdocs/test
php server-tests.php -w -u http://localhost/test -m /path/to/htdocs/test
4. run tests over http, php sources have been aliased in web server
php run-tests2.php -w -u http://localhost/test
php server-tests.php -w -u http://localhost/test
5. run tests using configuration file
php run-tests2.php -c /path/to/run-tests-config.php
php server-tests.php -c /path/to/server-tests-config.php
6. run tests using configuration file, but overriding some settings:
(config file must be first)
php run-tests2.php -c /path/to/run-tests-config.php -w -t 3 -d /path/to/testdir
php server-tests.php -c /path/to/server-tests-config.php -w -t 3 -d /path/to/testdir
NOTE: configuration as described in README.TESTING still works.
@@ -63,7 +63,7 @@ NOTE: configuration as described in README.TESTING still works.
----------------
In addition to the traditional test sections
(see http://qa.php.net/write-test.php), several new sections are available
under run-tests2.
under server-tests.
--POST--
This is not a new section, but not multipart posts are supported for testing
@@ -97,7 +97,7 @@ include:
$scriptname this is what will become SCRIPT_NAME unless you override it
$docroot the equivelant of DOCUMENT_ROOT under Apache
$cwd the directory that the test is being initiated from
$this->conf all run-tests2 configuration vars
$this->conf all server-tests configuration vars
$this->env all environment variables that will get passed to the test
-1022
View File
File diff suppressed because it is too large. Load diff
+1 -169
View File
@@ -1,174 +1,6 @@
The Win32 Build System.
$Id$
Wez Furlong <wez@thebrainroom.com>
If you need help with the build system, send mail to
internals@lists.php.net; please don't email me directly.
===========================================================
Contents:
1. How to build PHP under windows
a. Requirements
b. Opening a command prompt
c. Generating configure.js
d. Configuring
e. Building
f. Cleaning up
g. Running the test suite
h. snapshot building
2. How to write config.w32 files
x. to be written.
===========================================================
1. How to build PHP under windows
a. Requirements
You need:
- Windows Scripting Host (cscript.exe)
- Microsoft Build Tools from:
Microsoft Visual Studio (VC6) or later
You also need:
- bindlib_w32 [http://www.php.net/extra/bindlib_w32.zip]
- win32build [http://www.php.net/extra/win32build.zip]
b. Opening the Build Environment Command Prompt:
- Using Visual Studio (VC6)
1. Install it
2. If you have a VC++ Command Prompt icon on your start menu,
click on it to get a Command Prompt with the env vars
set up correctly.
If not, create a new shortcut and set the Target to:
%comspec% /k "C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32.bat"
You might also want to set the prompt to start in
a convenient location (such as the root of your
PHP source checkout).
- Using Visual Studio .Net
1. Install it.
2. Under the Visual Studio .Net Tools sub menu of your start
menu, you should have a Visual Studio .Net Command Prompt
icon. If not, create a new shortcut and set the Target to:
%comspec% /k "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat"
You might also want to set the prompt to start in
a convenient location (such as the root of your
PHP source checkout).
- Using the Platform SDK tools
1. Download the Platform SDK:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
- You need the Core SDK, which is approx 200MB to download
and requires approx 500MB of disk space.
- The other components of the SDK are not required by PHP
- You might be able to reduce the download size by downloading
the installer control component first and then selecting
only the Build Environment (around 30MB), but I haven't
tried this.
** Note: it seems that MS don't include the 32 bit
build tools in the platform SDK any longer, so
you will probably have very limited luck if you
don't also have VC++ or VS.Net already installed.
2. Once installed, you will have an icon on your start menu
that will launch the build environment; the latest SDK's
install a number of different versions of this; you probably
want to choose the Windows 2000 Retail build environment.
Clicking on this will open a command prompt with its Path,
Include and Lib env vars set to point to the build tools
and win32 headers.
c. Generating configure
Change directory to where you have your PHP 5 sources.
Run buildconf.bat.
d. Configuring
cscript /nologo configure.js --help
Will give you a list of configuration options; these will
have the form:
--enable-foo or --disable-foo or --with-foo or --without-foo.
--enable-foo will turn something on, and is equivalent to
specifying --enable-foo=yes
--disable-foo will turn something off, and is equivalent to
specifying --enable-foo=no
--enable-foo=shared will attempt to build that feature as
a shared, dynamically loadable module.
Sometimes a configure option needs additional information
about where to find headers and libraries; quite often
you can specify --enable-foo=option where option could be
the path to where to find those files. If you want to
specify a parameter and build it as shared, you can use
this syntax instead: --enable-foo=shared,option
The same rules all apply to --with-foo and --without-foo;
the only difference is the way the options are named;
the convention is that --enable-foo means that you are
switching on something that comes with PHP, whereas
--with-foo means that you want to build in something
external to PHP.
e. Building
Once you have successfully configured your build (make
sure you read the output from the command to make sure
it worked correctly), you can build the code; simply type
"nmake" at the command prompt, and it will build everthing
you asked for.
Once the build has completed, you will find your binaries
in the build dir determined by configure; this is typically
Release_TS for release builds or Debug_TS for debug builds.
If you build a non-thread-safe build, it will use Release
or Debug to store the files. Also in this build dir you
will find sub directories for each module that went into
your PHP build. The files you'll want to keep are the
.exe and .dll files directly in your build dir.
f. Cleaning Up
You can automatically delete everything that was built
by running "nmake clean". This will delete everything
that was put there when you ran nmake, including the
.exe and .dll files.
g. Running the test suite
You can verify that your build is working well by running
the regression test suite. You do this by typing
"nmake test". You can specify the tests you want to run
by defing the TESTS variable - if you wanted to run the
sqlite test suite only, you would type
"nmake /D TESTS=ext/sqlite/tests test"
h. Snapshot Building
If you want to set up an automated build that will tolerate
breakages in some of the modules, you can use the
--enable-snapshot-build configure option to generate a
makefile optimized for that purpose. A snapshot build will
switch the argument parser so that the default option for
configure switches that your don't specify will be set
to "shared". The effect of this is to turn on all options
unless you explicitly disable them. When you have configured
your snapshot build, you can use "nmake build-snap" to build
everything, ignoring build errors in individual extensions
or SAPI.
See http://wiki.php.net/internals/windows/stepbystepbuild
vim:tw=78:sw=1:ts=1:et
+174
View File
@@ -0,0 +1,174 @@
Design
======
Main assumption of the model is that the problem that we are to solve is the
problem of the very long class names in PHP libraries. We would not attempt
to take autoloader's job or create packaging model - only make names
manageable.
Namespaces are defined the following way:
Zend/DB/Connection.php:
<?php
namespace Zend\DB;
class Connection {
}
function connect() {
}
?>
Namespace definition does the following:
All class and function names inside are automatically prefixed with
namespace name. Inside namespace, local name always takes precedence over
global name. Several files may be using the same namespace.
The namespace declaration statement must be the very first statement in
the file. The only exception is "declare" statement that can be used before.
Every class and function in a namespace can be referred to by the full name
- e.g. Zend\DB\Connection or Zend\DB\connect - at any time.
<?php
require 'Zend/Db/Connection.php';
$x = new Zend\DB\Connection;
Zend\DB\connect();
?>
Namespace or class name can be imported:
<?php
require 'Zend/Db/Connection.php';
use Zend\DB;
use Zend\DB\Connection as DbConnection;
$x = new Zend\DB\Connection();
$y = new DB\connection();
$z = new DbConnection();
DB\connect();
?>
The use statement only defines name aliasing. It may create name alias for
namespace or class. The simple form of statement "use A\B\C\D;" is
equivalent to "use A\B\C\D as D;". The use statement can be used at any
time in the global scope (not inside function/class) and takes effect from
the point of definition down to the end of file. It is recommended however to
place the use statements at the beginning of the file. The use statements have
effect only on the file where they appear.
The special "empty" namespace (\ prefix) is useful as explicit global
namespace qualification. All class and function names started from \
interpreted as global.
<?php
namespace A\B\C;
$con = \mysql_connect(...);
?>
A special constant __NAMESPACE__ contains the name of the current namespace.
It can be used to construct fully-qualified names to pass them as callbacks.
<?php
namespace A\B\C;
function foo() {
}
set_error_handler(__NAMESPACE__ . "\foo");
?>
In global namespace __NAMESPACE__ constant has the value of empty string.
Names inside namespace are resolved according to the following rules:
1) all qualified names are translated during compilation according to
current import rules. So if we have "use A\B\C" and then "C\D\e()"
it is translated to "A\B\C\D\e()".
2) unqualified class names translated during compilation according to
current import rules. So if we have "use A\B\C" and then "new C()" it
is translated to "new A\B\C()".
3) inside namespace, calls to unqualified functions that are defined in
current namespace (and are known at the time the call is parsed) are
interpreted as calls to these namespace functions.
4) inside namespace, calls to unqualified functions that are not defined
in current namespace are resolved at run-time. The call to function foo()
inside namespace (A\B) first tries to find and call function from current
namespace A\B\foo() and if it doesn't exist PHP tries to call internal
function foo(). Note that using foo() inside namespace you can call only
internal PHP functions, however using \foo() you are able to call any
function from the global namespace.
5) unqualified class names are resolved at run-time. E.q. "new Exception()"
first tries to use (and autoload) class from current namespace and in case
of failure uses internal PHP class. Note that using "new A" in namespace
you can only create class from this namespace or internal PHP class, however
using "new \A" you are able to create any class from the global namespace.
6) Calls to qualified functions are resolved at run-time. Call to
A\B\foo() first tries to call function foo() from namespace A\B, then
it tries to find class A\B (__autoload() it if necessary) and call its
static method foo()
7) qualified class names are interpreted as class from corresponding
namespace. So "new A\B\C()" refers to class C from namespace A\B.
Examples
--------
<?php
namespace A;
foo(); // first tries to call "foo" defined in namespace "A"
// then calls internal function "foo"
\foo(); // calls function "foo" defined in global scope
?>
<?php
namespace A;
new B(); // first tries to create object of class "B" defined in namespace "A"
// then creates object of internal class "B"
new \B(); // creates object of class "B" defined in global scope
?>
<?php
namespace A;
new A(); // first tries to create object of class "A" from namespace "A" (A\A)
// then creates object of internal class "A"
?>
<?php
namespace A;
B\foo(); // first tries to call function "foo" from namespace "A\B"
// then calls method "foo" of internal class "B"
\B\foo(); // first tries to call function "foo" from namespace "B"
// then calls method "foo" of class "B" from global scope
?>
The worst case if class name conflicts with namespace name
<?php
namespace A;
A\foo(); // first tries to call function "foo" from namespace "A\A"
// then tries to call method "foo" of class "A" from namespace "A"
// then tries to call function "foo" from namespace "A"
// then calls method "foo" of internal class "A"
\A\foo(); // first tries to call function "foo" from namespace "A"
// then calls method "foo" of class "A" from global scope
?>
TODO
====
* Support for namespace constants?
* performance problems
- calls to internal functions in namespaces are slower, because PHP first
looks for such function in current namespace
- calls to static methods are slower, because PHP first tries to look
for corresponding function in namespace
* Extend the Reflection API?
* Add ReflectionNamespace class
+ getName()
+ getClasses()
+ getFunctions()
+ getFiles()
* Add getNamespace() methods to ReflectionClass and ReflectionFunction
* Rename namespaces to packages?
+23 -9
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| Thread Safe Resource Manager |
+----------------------------------------------------------------------+
| Copyright (c) 1999-2007, Andi Gutmans, Sascha Schumann, Zeev Suraski |
| Copyright (c) 1999-2010, Andi Gutmans, Sascha Schumann, Zeev Suraski |
| This source file is subject to the TSRM license, that is bundled |
| with this package in the file LICENSE |
+----------------------------------------------------------------------+
@@ -647,19 +647,26 @@ TSRM_API void tsrm_mutex_free(MUTEX_T mutexp)
}
/* Lock a mutex */
/*
Lock a mutex.
A return value of 0 indicates success
*/
TSRM_API int tsrm_mutex_lock(MUTEX_T mutexp)
{
TSRM_ERROR((TSRM_ERROR_LEVEL_INFO, "Mutex locked thread: %ld", tsrm_thread_id()));
#ifdef TSRM_WIN32
EnterCriticalSection(mutexp);
return 1;
return 0;
#elif defined(GNUPTH)
return pth_mutex_acquire(mutexp, 0, NULL);
if (pth_mutex_acquire(mutexp, 0, NULL)) {
return 0;
}
return -1;
#elif defined(PTHREADS)
return pthread_mutex_lock(mutexp);
#elif defined(NSAPI)
return crit_enter(mutexp);
crit_enter(mutexp);
return 0;
#elif defined(PI3WEB)
return PISync_lock(mutexp);
#elif defined(TSRM_ST)
@@ -672,19 +679,26 @@ TSRM_API int tsrm_mutex_lock(MUTEX_T mutexp)
}
/* Unlock a mutex */
/*
Unlock a mutex.
A return value of 0 indicates success
*/
TSRM_API int tsrm_mutex_unlock(MUTEX_T mutexp)
{
TSRM_ERROR((TSRM_ERROR_LEVEL_INFO, "Mutex unlocked thread: %ld", tsrm_thread_id()));
#ifdef TSRM_WIN32
LeaveCriticalSection(mutexp);
return 1;
return 0;
#elif defined(GNUPTH)
return pth_mutex_release(mutexp);
if (pth_mutex_release(mutexp)) {
return 0;
}
return -1;
#elif defined(PTHREADS)
return pthread_mutex_unlock(mutexp);
#elif defined(NSAPI)
return crit_exit(mutexp);
crit_exit(mutexp);
return 0;
#elif defined(PI3WEB)
return PISync_unlock(mutexp);
#elif defined(TSRM_ST)
+5 -3
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| Thread Safe Resource Manager |
+----------------------------------------------------------------------+
| Copyright (c) 1999-2007, Andi Gutmans, Sascha Schumann, Zeev Suraski |
| Copyright (c) 1999-2010, Andi Gutmans, Sascha Schumann, Zeev Suraski |
| This source file is subject to the TSRM license, that is bundled |
| with this package in the file LICENSE |
+----------------------------------------------------------------------+
@@ -22,10 +22,12 @@
#ifdef TSRM_WIN32
# ifdef TSRM_EXPORTS
# define TSRM_API __declspec(dllexport)
# define TSRM_API __declspec(dllexport)
# else
# define TSRM_API __declspec(dllimport)
# define TSRM_API __declspec(dllimport)
# endif
#elif defined(__GNUC__) && __GNUC__ >= 4
# define TSRM_API __attribute__ ((visibility("default")))
#else
# define TSRM_API
#endif
-2
View File
@@ -7,8 +7,6 @@
* on Windows 95/NT.
*/
#define _WIN32_WINNT 0x0400
#include <windows.h>
#include <io.h>
+2
View File
@@ -1,6 +1,8 @@
#ifndef TSRM_CONFIG_W32_H
#define TSRM_CONFIG_W32_H
#include <../main/config.w32.h>
#define HAVE_UTIME 1
#define HAVE_ALLOCA 1
#define HAVE_REALPATH 1
+12 -4
View File
@@ -52,11 +52,19 @@ char *alloca ();
#endif
#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2))
# define tsrm_do_alloca(p) alloca(p)
# define tsrm_free_alloca(p)
# define TSRM_ALLOCA_MAX_SIZE 4096
# define TSRM_ALLOCA_FLAG(name) \
int name;
# define tsrm_do_alloca_ex(size, limit, use_heap) \
((use_heap = ((size) > (limit))) ? malloc(size) : alloca(size))
# define tsrm_do_alloca(size, use_heap) \
tsrm_do_alloca_ex(size, TSRM_ALLOCA_MAX_SIZE, use_heap)
# define tsrm_free_alloca(p, use_heap) \
do { if (use_heap) free(p); } while (0)
#else
# define tsrm_do_alloca(p) malloc(p)
# define tsrm_free_alloca(p) free(p)
# define TSRM_ALLOCA_FLAG(name)
# define tsrm_do_alloca(p, use_heap) malloc(p)
# define tsrm_free_alloca(p, use_heap) free(p)
#endif
#endif /* TSRM_CONFIG_COMMON_H */
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2007 The PHP Group |
| Copyright (c) 1997-2010 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2007 The PHP Group |
| Copyright (c) 1997-2010 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
+762 -268
View File
File diff suppressed because it is too large. Load diff
+34 -10
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2007 The PHP Group |
| Copyright (c) 1997-2010 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -117,13 +117,15 @@ typedef unsigned short mode_t;
#endif
#ifdef TSRM_WIN32
# ifdef CWD_EXPORTS
# define CWD_API __declspec(dllexport)
# else
# define CWD_API __declspec(dllimport)
# endif
# ifdef CWD_EXPORTS
# define CWD_API __declspec(dllexport)
# else
# define CWD_API __declspec(dllimport)
# endif
#elif defined(__GNUC__) && __GNUC__ >= 4
# define CWD_API __attribute__ ((visibility("default")))
#else
#define CWD_API
# define CWD_API
#endif
#ifdef TSRM_WIN32
@@ -206,7 +208,14 @@ typedef struct _realpath_cache_bucket {
int path_len;
char *realpath;
int realpath_len;
int is_dir;
time_t expires;
#ifdef PHP_WIN32
unsigned char is_rvalid;
unsigned char is_readable;
unsigned char is_wvalid;
unsigned char is_writable;
#endif
struct _realpath_cache_bucket *next;
} realpath_cache_bucket;
@@ -228,6 +237,10 @@ extern virtual_cwd_globals cwd_globals;
CWD_API void realpath_cache_clean(TSRMLS_D);
CWD_API void realpath_cache_del(const char *path, int path_len TSRMLS_DC);
CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, int path_len, time_t t TSRMLS_DC);
CWD_API int realpath_cache_size(TSRMLS_D);
CWD_API int realpath_cache_max_buckets(TSRMLS_D);
CWD_API realpath_cache_bucket** realpath_cache_get_buckets(TSRMLS_D);
/* The actual macros to be used in programs using TSRM
* If the program defines VIRTUAL_DIR it will use the
@@ -249,7 +262,7 @@ CWD_API void realpath_cache_del(const char *path, int path_len TSRMLS_DC);
#define VCWD_RENAME(oldname, newname) virtual_rename(oldname, newname TSRMLS_CC)
#define VCWD_STAT(path, buff) virtual_stat(path, buff TSRMLS_CC)
#if !defined(TSRM_WIN32)
#define VCWD_LSTAT(path, buff) virtual_lstat(path, buff TSRMLS_CC)
# define VCWD_LSTAT(path, buff) virtual_lstat(path, buff TSRMLS_CC)
#endif
#define VCWD_UNLINK(path) virtual_unlink(path TSRMLS_CC)
#define VCWD_MKDIR(pathname, mode) virtual_mkdir(pathname, mode TSRMLS_CC)
@@ -275,7 +288,13 @@ CWD_API void realpath_cache_del(const char *path, int path_len TSRMLS_DC);
#define VCWD_OPEN(path, flags) open(path, flags)
#define VCWD_OPEN_MODE(path, flags, mode) open(path, flags, mode)
#define VCWD_CREAT(path, mode) creat(path, mode)
#define VCWD_RENAME(oldname, newname) rename(oldname, newname)
/* rename on windows will fail if newname already exists.
MoveFileEx has to be used */
#if defined(TSRM_WIN32)
# define VCWD_RENAME(oldname, newname) (MoveFileEx(oldname, newname, MOVEFILE_REPLACE_EXISTING|MOVEFILE_COPY_ALLOWED) == 0 ? -1 : 0)
#else
# define VCWD_RENAME(oldname, newname) rename(oldname, newname)
#endif
#define VCWD_CHDIR(path) chdir(path)
#define VCWD_CHDIR_FILE(path) virtual_chdir_file(path, chdir)
#define VCWD_GETWD(buf) getwd(buf)
@@ -295,8 +314,13 @@ CWD_API void realpath_cache_del(const char *path, int path_len TSRMLS_DC);
#define VCWD_REALPATH(path, real_path) tsrm_realpath(path, real_path TSRMLS_CC)
#if HAVE_UTIME
#define VCWD_UTIME(path, time) utime(path, time)
# ifdef TSRM_WIN32
# define VCWD_UTIME(path, time) win32_utime(path, time)
# else
# define VCWD_UTIME(path, time) utime(path, time)
# endif
#endif
#define VCWD_CHMOD(path, mode) chmod(path, mode)
#if !defined(TSRM_WIN32) && !defined(NETWARE)
#define VCWD_CHOWN(path, owner, group) chown(path, owner, group)
+354 -33
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2007 The PHP Group |
| Copyright (c) 1997-2010 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -23,14 +23,16 @@
#include <io.h>
#include <process.h>
#include <time.h>
#include <errno.h>
#define TSRM_INCLUDE_FULL_WINDOWS_HEADERS
#include "SAPI.h"
#include "TSRM.h"
#ifdef TSRM_WIN32
#include <Sddl.h>
#include "tsrm_win32.h"
#include "tsrm_virtual_cwd.h"
#ifdef ZTS
static ts_rsrc_id win32_globals_id;
@@ -45,6 +47,16 @@ static void tsrm_win32_ctor(tsrm_win32_globals *globals TSRMLS_DC)
globals->process_size = 0;
globals->shm_size = 0;
globals->comspec = _strdup((GetVersion()<0x80000000)?"cmd.exe":"command.com");
/* Set it to INVALID_HANDLE_VALUE
* It will be initialized correctly in tsrm_win32_access or set to
* NULL if no impersonation has been done.
* the impersonated token can't be set here as the impersonation
* will happen later, in fcgi_accept_request (or whatever is the
* SAPI being used).
*/
globals->impersonation_token = INVALID_HANDLE_VALUE;
globals->impersonation_token_sid = NULL;
}
static void tsrm_win32_dtor(tsrm_win32_globals *globals TSRMLS_DC)
@@ -66,6 +78,13 @@ static void tsrm_win32_dtor(tsrm_win32_globals *globals TSRMLS_DC)
}
free(globals->comspec);
if (globals->impersonation_token && globals->impersonation_token != INVALID_HANDLE_VALUE ) {
CloseHandle(globals->impersonation_token);
}
if (globals->impersonation_token_sid) {
free(globals->impersonation_token_sid);
}
}
TSRM_API void tsrm_win32_startup(void)
@@ -84,23 +103,279 @@ TSRM_API void tsrm_win32_shutdown(void)
#endif
}
char * tsrm_win32_get_path_sid_key(const char *pathname TSRMLS_DC)
{
PSID pSid = TWG(impersonation_token_sid);
DWORD sid_len = pSid ? GetLengthSid(pSid) : 0;
TCHAR *ptcSid = NULL;
char *bucket_key = NULL;
if (!pSid) {
bucket_key = (char *)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, strlen(pathname) + 1);
if (!bucket_key) {
return NULL;
}
memcpy(bucket_key, pathname, strlen(pathname));
return bucket_key;
}
if (!ConvertSidToStringSid(pSid, &ptcSid)) {
return NULL;
}
bucket_key = (char *)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, strlen(pathname) + strlen(ptcSid) + 1);
if (!bucket_key) {
LocalFree(ptcSid);
return NULL;
}
memcpy(bucket_key, ptcSid, strlen(ptcSid));
memcpy(bucket_key + strlen(ptcSid), pathname, strlen(pathname) + 1);
LocalFree(ptcSid);
return bucket_key;
}
PSID tsrm_win32_get_token_sid(HANDLE hToken)
{
BOOL bSuccess = FALSE;
DWORD dwLength = 0;
PTOKEN_USER pTokenUser = NULL;
PSID sid;
PSID *ppsid = &sid;
DWORD sid_len;
PSID pResultSid = NULL;
/* Get the actual size of the TokenUser structure */
if (!GetTokenInformation(
hToken, TokenUser, (LPVOID) pTokenUser, 0, &dwLength)) {
if (GetLastError() != ERROR_INSUFFICIENT_BUFFER) {
goto Finished;
}
pTokenUser = (PTOKEN_USER)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, dwLength);
if (pTokenUser == NULL) {
goto Finished;
}
}
/* and fetch it now */
if (!GetTokenInformation(
hToken, TokenUser, (LPVOID) pTokenUser, dwLength, &dwLength)) {
goto Finished;
}
sid_len = GetLengthSid(pTokenUser->User.Sid);
/* ConvertSidToStringSid(pTokenUser->User.Sid, &ptcSidOwner); */
pResultSid = malloc(sid_len);
if (!pResultSid) {
goto Finished;
}
if (!CopySid(sid_len, pResultSid, pTokenUser->User.Sid)) {
goto Finished;
}
HeapFree(GetProcessHeap(), 0, (LPVOID)pTokenUser);
return pResultSid;
Finished:
if (pResultSid) {
free(pResultSid);
}
/* Free the buffer for the token groups. */
if (pTokenUser != NULL) {
HeapFree(GetProcessHeap(), 0, (LPVOID)pTokenUser);
}
return NULL;
}
TSRM_API int tsrm_win32_access(const char *pathname, int mode)
{
time_t t;
HANDLE thread_token;
PSID token_sid;
SECURITY_INFORMATION sec_info = OWNER_SECURITY_INFORMATION | GROUP_SECURITY_INFORMATION | DACL_SECURITY_INFORMATION;
GENERIC_MAPPING gen_map = { FILE_GENERIC_READ, FILE_GENERIC_WRITE, FILE_GENERIC_EXECUTE, FILE_ALL_ACCESS };
DWORD priv_set_length = sizeof(PRIVILEGE_SET);
PRIVILEGE_SET privilege_set = {0};
DWORD sec_desc_length = 0, desired_access = 0, granted_access = 0;
BYTE * psec_desc = NULL;
BOOL fAccess = FALSE;
BOOL bucket_key_alloc = FALSE;
realpath_cache_bucket * bucket = NULL;
char * real_path = NULL;
TSRMLS_FETCH();
if (mode == 1 /*X_OK*/) {
#if 1
/* This code is not supported by Windows 98,
* but we don't support it anymore */
DWORD type;
return GetBinaryType(pathname, &type)?0:-1;
#else
SHFILEINFO sfi;
return access(pathname, 0) == 0 &&
SHGetFileInfo(pathname, 0, &sfi, sizeof(SHFILEINFO), SHGFI_EXETYPE) != 0 ? 0 : -1;
#endif
return GetBinaryType(pathname, &type) ? 0 : -1;
} else {
return access(pathname, mode);
if(!IS_ABSOLUTE_PATH(pathname, strlen(pathname)+1)) {
real_path = (char *)malloc(MAX_PATH);
if(tsrm_realpath(pathname, real_path TSRMLS_CC) == NULL) {
goto Finished;
}
pathname = real_path;
}
if(access(pathname, mode)) {
free(real_path);
return errno;
}
/* If only existence check is made, return now */
if (mode == 0) {
free(real_path);
return 0;
}
/* Only in NTS when impersonate==1 (aka FastCGI) */
/*
AccessCheck() requires an impersonation token. We first get a primary
token and then create a duplicate impersonation token. The
impersonation token is not actually assigned to the thread, but is
used in the call to AccessCheck. Thus, this function itself never
impersonates, but does use the identity of the thread. If the thread
was impersonating already, this function uses that impersonation context.
*/
if(!OpenThreadToken(GetCurrentThread(), TOKEN_ALL_ACCESS, TRUE, &thread_token)) {
DWORD err = GetLastError();
if (GetLastError() == ERROR_NO_TOKEN) {
if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ALL_ACCESS, &thread_token)) {
TWG(impersonation_token) = NULL;
goto Finished;
}
}
}
/* token_sid will be freed in tsrmwin32_dtor */
token_sid = tsrm_win32_get_token_sid(thread_token);
if (!token_sid) {
if (TWG(impersonation_token_sid)) {
free(TWG(impersonation_token_sid));
}
TWG(impersonation_token_sid) = NULL;
goto Finished;
}
/* Different identity, we need a new impersontated token as well */
if (!TWG(impersonation_token_sid) || !EqualSid(token_sid, TWG(impersonation_token_sid))) {
if (TWG(impersonation_token_sid)) {
free(TWG(impersonation_token_sid));
}
TWG(impersonation_token_sid) = token_sid;
/* Duplicate the token as impersonated token */
if (!DuplicateToken(thread_token, SecurityImpersonation, &TWG(impersonation_token))) {
goto Finished;
}
} else {
/* we already have it, free it then */
free(token_sid);
}
if (CWDG(realpath_cache_size_limit)) {
t = time(0);
bucket = realpath_cache_lookup(pathname, strlen(pathname), t TSRMLS_CC);
if(bucket == NULL && real_path == NULL) {
/* We used the pathname directly. Call tsrm_realpath */
/* so that entry is created in realpath cache */
real_path = (char *)malloc(MAX_PATH);
if(tsrm_realpath(pathname, real_path TSRMLS_CC) != NULL) {
pathname = real_path;
bucket = realpath_cache_lookup(pathname, strlen(pathname), t TSRMLS_CC);
}
}
}
/* Do a full access check because access() will only check read-only attribute */
if(mode == 0 || mode > 6) {
if(bucket != NULL && bucket->is_rvalid) {
fAccess = bucket->is_readable;
goto Finished;
}
desired_access = FILE_GENERIC_READ;
} else if(mode <= 2) {
if(bucket != NULL && bucket->is_wvalid) {
fAccess = bucket->is_writable;
goto Finished;
}
desired_access = FILE_GENERIC_WRITE;
} else if(mode <= 4) {
if(bucket != NULL && bucket->is_rvalid) {
fAccess = bucket->is_readable;
goto Finished;
}
desired_access = FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS;
} else { // if(mode <= 6)
if(bucket != NULL && bucket->is_rvalid && bucket->is_wvalid) {
fAccess = bucket->is_readable & bucket->is_writable;
goto Finished;
}
desired_access = FILE_GENERIC_READ | FILE_GENERIC_WRITE;
}
if(TWG(impersonation_token) == NULL) {
goto Finished;
}
/* Get size of security buffer. Call is expected to fail */
if(GetFileSecurity(pathname, sec_info, NULL, 0, &sec_desc_length)) {
goto Finished;
}
psec_desc = (BYTE *)malloc(sec_desc_length);
if(psec_desc == NULL ||
!GetFileSecurity(pathname, sec_info, (PSECURITY_DESCRIPTOR)psec_desc, sec_desc_length, &sec_desc_length)) {
goto Finished;
}
MapGenericMask(&desired_access, &gen_map);
if(!AccessCheck((PSECURITY_DESCRIPTOR)psec_desc, TWG(impersonation_token), desired_access, &gen_map, &privilege_set, &priv_set_length, &granted_access, &fAccess)) {
goto Finished_Impersonate;
}
/* Keep the result in realpath_cache */
if(bucket != NULL) {
if(desired_access == (FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS)) {
bucket->is_rvalid = 1;
bucket->is_readable = fAccess;
}
else if(desired_access == FILE_GENERIC_WRITE) {
bucket->is_wvalid = 1;
bucket->is_writable = fAccess;
} else if (desired_access == (FILE_GENERIC_READ | FILE_GENERIC_WRITE)) {
bucket->is_rvalid = 1;
bucket->is_readable = fAccess;
bucket->is_wvalid = 1;
bucket->is_writable = fAccess;
}
}
Finished_Impersonate:
if(psec_desc != NULL) {
free(psec_desc);
psec_desc = NULL;
}
Finished:
if(real_path != NULL) {
free(real_path);
real_path = NULL;
}
if(fAccess == FALSE) {
errno = EACCES;
return errno;
} else {
return 0;
}
}
}
@@ -109,22 +384,22 @@ static process_pair *process_get(FILE *stream TSRMLS_DC)
{
process_pair *ptr;
process_pair *newptr;
for (ptr = TWG(process); ptr < (TWG(process) + TWG(process_size)); ptr++) {
if (ptr->stream == stream) {
break;
}
}
if (ptr < (TWG(process) + TWG(process_size))) {
return ptr;
}
newptr = (process_pair*)realloc((void*)TWG(process), (TWG(process_size)+1)*sizeof(process_pair));
if (newptr == NULL) {
return NULL;
}
TWG(process) = newptr;
ptr = newptr + TWG(process_size);
TWG(process_size)++;
@@ -136,7 +411,7 @@ static shm_pair *shm_get(int key, void *addr)
shm_pair *ptr;
shm_pair *newptr;
TSRMLS_FETCH();
for (ptr = TWG(shm); ptr < (TWG(shm) + TWG(shm_size)); ptr++) {
if (!ptr->descriptor) {
continue;
@@ -151,12 +426,12 @@ static shm_pair *shm_get(int key, void *addr)
if (ptr < (TWG(shm) + TWG(shm_size))) {
return ptr;
}
newptr = (shm_pair*)realloc((void*)TWG(shm), (TWG(shm_size)+1)*sizeof(shm_pair));
if (newptr == NULL) {
return NULL;
}
TWG(shm) = newptr;
ptr = newptr + TWG(shm_size);
TWG(shm_size)++;
@@ -179,23 +454,48 @@ TSRM_API FILE *popen(const char *command, const char *type)
TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env)
{
FILE *stream = NULL;
int fno, str_len = strlen(type), read, mode;
int fno, type_len = strlen(type), read, mode;
STARTUPINFO startup;
PROCESS_INFORMATION process;
SECURITY_ATTRIBUTES security;
HANDLE in, out;
char *cmd;
DWORD dwCreateFlags = 0;
BOOL res;
process_pair *proc;
char *cmd;
int i;
char *ptype = (char *)type;
HANDLE thread_token = NULL;
HANDLE token_user = NULL;
BOOL asuser = TRUE;
TSRMLS_FETCH();
if (!type) {
return NULL;
}
/*The following two checks can be removed once we drop XP support */
type_len = strlen(type);
if (type_len <1 || type_len > 2) {
return NULL;
}
for (i=0; i < type_len; i++) {
if (!(*ptype == 'r' || *ptype == 'w' || *ptype == 'b' || *ptype == 't')) {
return NULL;
}
ptype++;
}
security.nLength = sizeof(SECURITY_ATTRIBUTES);
security.bInheritHandle = TRUE;
security.lpSecurityDescriptor = NULL;
if (!str_len || !CreatePipe(&in, &out, &security, 2048L)) {
if (!type_len || !CreatePipe(&in, &out, &security, 2048L)) {
return NULL;
}
memset(&startup, 0, sizeof(STARTUPINFO));
memset(&process, 0, sizeof(PROCESS_INFORMATION));
@@ -204,8 +504,7 @@ TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd,
startup.hStdError = GetStdHandle(STD_ERROR_HANDLE);
read = (type[0] == 'r') ? TRUE : FALSE;
mode = ((str_len == 2) && (type[1] == 'b')) ? O_BINARY : O_TEXT;
mode = ((type_len == 2) && (type[1] == 'b')) ? O_BINARY : O_TEXT;
if (read) {
in = dupHandle(in, FALSE);
@@ -217,13 +516,35 @@ TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd,
startup.hStdOutput = GetStdHandle(STD_OUTPUT_HANDLE);
}
cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c "));
sprintf(cmd, "%s /c %s", TWG(comspec), command);
if (!CreateProcess(NULL, cmd, &security, &security, security.bInheritHandle, NORMAL_PRIORITY_CLASS|CREATE_NO_WINDOW, env, cwd, &startup, &process)) {
return NULL;
dwCreateFlags = NORMAL_PRIORITY_CLASS;
if (strcmp(sapi_module.name, "cli") != 0) {
dwCreateFlags |= CREATE_NO_WINDOW;
}
/* Get a token with the impersonated user. */
if(OpenThreadToken(GetCurrentThread(), TOKEN_ALL_ACCESS, TRUE, &thread_token)) {
DuplicateTokenEx(thread_token, MAXIMUM_ALLOWED, &security, SecurityImpersonation, TokenPrimary, &token_user);
} else {
DWORD err = GetLastError();
if (err == ERROR_NO_TOKEN) {
asuser = FALSE;
}
}
cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2);
sprintf(cmd, "%s /c \"%s\"", TWG(comspec), command);
if (asuser) {
res = CreateProcessAsUser(token_user, NULL, cmd, &security, &security, security.bInheritHandle, dwCreateFlags, env, cwd, &startup, &process);
CloseHandle(token_user);
} else {
res = CreateProcess(NULL, cmd, &security, &security, security.bInheritHandle, dwCreateFlags, env, cwd, &startup, &process);
}
free(cmd);
if (!res) {
return NULL;
}
CloseHandle(process.hThread);
proc = process_get(NULL TSRMLS_CC);
@@ -252,7 +573,7 @@ TSRM_API int pclose(FILE *stream)
}
fflush(process->stream);
fclose(process->stream);
fclose(process->stream);
WaitForSingleObject(process->prochnd, INFINITE);
GetExitCodeProcess(process->prochnd, &termstat);
+5 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2007 The PHP Group |
| Copyright (c) 1997-2010 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -63,6 +63,8 @@ typedef struct {
int process_size;
int shm_size;
char *comspec;
HANDLE impersonation_token;
PSID impersonation_token_sid;
} tsrm_win32_globals;
#ifdef ZTS
@@ -88,6 +90,7 @@ typedef struct {
#define SHM_RND FILE_MAP_WRITE
#define SHM_REMAP FILE_MAP_COPY
char * tsrm_win32_get_path_sid_key(const char *pathname TSRMLS_DC);
TSRM_API void tsrm_win32_startup(void);
TSRM_API void tsrm_win32_shutdown(void);
@@ -96,6 +99,7 @@ TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd,
TSRM_API FILE *popen(const char *command, const char *type);
TSRM_API int pclose(FILE *stream);
TSRM_API int tsrm_win32_access(const char *pathname, int mode);
TSRM_API int win32_utime(const char *filename, struct utimbuf *buf);
TSRM_API int shmget(int key, int size, int flags);
TSRM_API void *shmat(int key, const void *shmaddr, int flags);
+645 -525
View File
File diff suppressed because it is too large. Load diff
-186
View File
@@ -1,186 +0,0 @@
// $Header$
// FlexLexer.h -- define interfaces for lexical analyzer classes generated
// by flex
// Copyright (c) 1993 The Regents of the University of California.
// All rights reserved.
//
// This code is derived from software contributed to Berkeley by
// Kent Williams and Tom Epperly.
//
// Redistribution and use in source and binary forms with or without
// modification are permitted provided that: (1) source distributions retain
// this entire copyright notice and comment, and (2) distributions including
// binaries display the following acknowledgement: ``This product includes
// software developed by the University of California, Berkeley and its
// contributors'' in the documentation or other materials provided with the
// distribution and in all advertising materials mentioning features or use
// of this software. Neither the name of the University nor the names of
// its contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
// THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
// WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// This file defines FlexLexer, an abstract class which specifies the
// external interface provided to flex C++ lexer objects, and yyFlexLexer,
// which defines a particular lexer class.
//
// If you want to create multiple lexer classes, you use the -P flag
// to rename each yyFlexLexer to some other xxFlexLexer. You then
// include <FlexLexer.h> in your other sources once per lexer class:
//
// #undef yyFlexLexer
// #define yyFlexLexer xxFlexLexer
// #include <FlexLexer.h>
//
// #undef yyFlexLexer
// #define yyFlexLexer zzFlexLexer
// #include <FlexLexer.h>
// ...
#ifndef FLEXLEXER_H
// Never included before - need to define base class.
#define FLEXLEXER_H
#include <iostream.h>
extern "C++" {
struct yy_buffer_state;
typedef int yy_state_type;
class FlexLexer {
public:
virtual ~FlexLexer() { }
const char* YYText() { return yytext; }
int YYLeng() { return yyleng; }
virtual void
yy_switch_to_buffer( struct yy_buffer_state* new_buffer ) = 0;
virtual struct yy_buffer_state*
yy_create_buffer( istream* s, int size ) = 0;
virtual void yy_delete_buffer( struct yy_buffer_state* b ) = 0;
virtual void yyrestart( istream* s ) = 0;
virtual int yylex() = 0;
// Call yylex with new input/output sources.
int yylex( istream* new_in, ostream* new_out = 0 )
{
switch_streams( new_in, new_out );
return yylex();
}
// Switch to new input/output streams. A nil stream pointer
// indicates "keep the current one".
virtual void switch_streams( istream* new_in = 0,
ostream* new_out = 0 ) = 0;
int lineno() const { return yylineno; }
int debug() const { return yy_flex_debug; }
void set_debug( int flag ) { yy_flex_debug = flag; }
protected:
char* yytext;
int yyleng;
int yylineno; // only maintained if you use %option yylineno
int yy_flex_debug; // only has effect with -d or "%option debug"
};
}
#endif
#if defined(yyFlexLexer) || ! defined(yyFlexLexerOnce)
// Either this is the first time through (yyFlexLexerOnce not defined),
// or this is a repeated include to define a different flavor of
// yyFlexLexer, as discussed in the flex man page.
#define yyFlexLexerOnce
class yyFlexLexer : public FlexLexer {
public:
// arg_yyin and arg_yyout default to the cin and cout, but we
// only make that assignment when initializing in yylex().
yyFlexLexer( istream* arg_yyin = 0, ostream* arg_yyout = 0 );
virtual ~yyFlexLexer();
void yy_switch_to_buffer( struct yy_buffer_state* new_buffer );
struct yy_buffer_state* yy_create_buffer( istream* s, int size );
void yy_delete_buffer( struct yy_buffer_state* b );
void yyrestart( istream* s );
virtual int yylex();
virtual void switch_streams( istream* new_in, ostream* new_out );
protected:
virtual int LexerInput( char* buf, int max_size );
virtual void LexerOutput( const char* buf, int size );
virtual void LexerError( const char* msg );
void yyunput( int c, char* buf_ptr );
int yyinput();
void yy_load_buffer_state();
void yy_init_buffer( struct yy_buffer_state* b, istream* s );
void yy_flush_buffer( struct yy_buffer_state* b );
int yy_start_stack_ptr;
int yy_start_stack_depth;
int* yy_start_stack;
void yy_push_state( int new_state );
void yy_pop_state();
int yy_top_state();
yy_state_type yy_get_previous_state();
yy_state_type yy_try_NUL_trans( yy_state_type current_state );
int yy_get_next_buffer();
istream* yyin; // input source for default LexerInput
ostream* yyout; // output sink for default LexerOutput
struct yy_buffer_state* yy_current_buffer;
// yy_hold_char holds the character lost when yytext is formed.
char yy_hold_char;
// Number of characters read into yy_ch_buf.
int yy_n_chars;
// Points to current character in buffer.
char* yy_c_buf_p;
int yy_init; // whether we need to initialize
int yy_start; // start state number
// Flag which is used to allow yywrap()'s to do buffer switches
// instead of setting up a fresh yyin. A bit of a hack ...
int yy_did_buffer_switch_on_eof;
// The following are not always needed, but may be depending
// on use of certain flex features (like REJECT or yymore()).
yy_state_type yy_last_accepting_state;
char* yy_last_accepting_cpos;
yy_state_type* yy_state_buf;
yy_state_type* yy_state_ptr;
char* yy_full_match;
int* yy_full_state;
int yy_full_lp;
int yy_lp;
int yy_looking_for_trail_begin;
int yy_more_flag;
int yy_more_len;
int yy_more_offset;
int yy_prev_more_offset;
};
#endif
+3 -3
View File
@@ -17,7 +17,7 @@ libZend_la_SOURCES=\
zend_objects_API.c zend_ts_hash.c zend_stream.c \
zend_default_classes.c \
zend_iterators.c zend_interfaces.c zend_exceptions.c \
zend_strtod.c zend_multibyte.c
zend_strtod.c zend_closures.c zend_float.c
libZend_la_LDFLAGS =
libZend_la_LIBADD = @ZEND_EXTRA_LIBS@
@@ -31,7 +31,7 @@ zend_ini_scanner.lo: zend_ini_parser.h
# Language parser/scanner rules
zend_language_scanner.c: $(srcdir)/zend_language_scanner.l
$(LEX) -Pzend -S$(srcdir)/flex.skl -o$@ -i $(srcdir)/zend_language_scanner.l
$(RE2C) $(RE2C_FLAGS) --case-inverted -cbdFt $(srcdir)/zend_language_scanner_defs.h -o$@ $(srcdir)/zend_language_scanner.l
zend_language_parser.h: zend_language_parser.c
zend_language_parser.c: $(srcdir)/zend_language_parser.y
@@ -43,7 +43,7 @@ zend_ini_parser.c: $(srcdir)/zend_ini_parser.y
$(YACC) -p ini_ -v -d $(srcdir)/zend_ini_parser.y -o zend_ini_parser.c
zend_ini_scanner.c: $(srcdir)/zend_ini_scanner.l
$(LEX) -Pini_ -S$(srcdir)/flex.skl -o$@ -i $(srcdir)/zend_ini_scanner.l
$(RE2C) $(RE2C_FLAGS) --case-inverted -cbdFt $(srcdir)/zend_ini_scanner_defs.h -o$@ $(srcdir)/zend_ini_scanner.l
zend_ini_parser.h: zend_ini_parser.c
+8
View File
@@ -123,6 +123,10 @@ SOURCE=.\zend_builtin_functions.c
# End Source File
# Begin Source File
SOURCE=.\zend_closures.c
# End Source File
# Begin Source File
SOURCE=.\zend_compile.c
# End Source File
# Begin Source File
@@ -151,6 +155,10 @@ SOURCE=.\zend_extensions.c
# End Source File
# Begin Source File
SOURCE=.\zend_float.c
# End Source File
# Begin Source File
SOURCE=.\zend_hash.c
# End Source File
# Begin Source File
+36 -4
View File
@@ -31,7 +31,6 @@ AC_DEFUN([LIBZEND_BASIC_CHECKS],[
AC_REQUIRE([AC_PROG_YACC])
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_CC_C_O])
AC_REQUIRE([AC_PROG_LEX])
AC_REQUIRE([AC_HEADER_STDC])
LIBZEND_BISON_CHECK
@@ -61,7 +60,6 @@ sys/time.h \
signal.h \
unix.h \
stdlib.h \
mach-o/dyld.h \
dlfcn.h)
AC_TYPE_SIZE_T
@@ -99,12 +97,46 @@ dnl Checks for library functions.
AC_FUNC_VPRINTF
AC_FUNC_MEMCMP
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(memcpy strdup getpid kill strtod strtol finite fpclass)
AC_CHECK_FUNCS(memcpy strdup getpid kill strtod strtol finite fpclass sigsetjmp)
AC_ZEND_BROKEN_SPRINTF
AC_CHECK_FUNCS(finite isfinite isinf isnan)
ZEND_FP_EXCEPT
ZEND_CHECK_FLOAT_PRECISION
dnl test whether double cast to long preserves least significant bits
AC_MSG_CHECKING(whether double cast to long preserves least significant bits)
AC_TRY_RUN([
#include <limits.h>
int main()
{
if (sizeof(long) == 4) {
double d = (double) LONG_MIN * LONG_MIN + 2e9;
if ((long) d == 2e9 && (long) -d == -2e9) {
exit(0);
}
} else if (sizeof(long) == 8) {
double correct = 18e18 - ((double) LONG_MIN * -2); /* Subtract ULONG_MAX + 1 */
if ((long) 18e18 == correct) { /* On 64-bit, only check between LONG_MAX and ULONG_MAX */
exit(0);
}
}
exit(1);
}
], [
AC_DEFINE([ZEND_DVAL_TO_LVAL_CAST_OK], 1, [Define if double cast to long preserves least significant bits])
AC_MSG_RESULT(yes)
], [
AC_MSG_RESULT(no)
], [
AC_MSG_RESULT(no)
])
])
@@ -165,7 +197,7 @@ AC_MSG_RESULT($ZEND_DEBUG)
AC_MSG_CHECKING(whether to enable Zend multibyte)
AC_MSG_RESULT($ZEND_MULTIBYTE)
case $PHP_ZEND_VM in
SWITCH)
AC_DEFINE(ZEND_VM_KIND,ZEND_VM_KIND_SWITCH,[virtual machine dispatch method])
+4
View File
@@ -148,6 +148,10 @@ SOURCE=.\zend_builtin_functions.c
# End Source File
# Begin Source File
SOURCE=.\zend_closures.c
# End Source File
# Begin Source File
SOURCE=.\zend_compile.c
# End Source File
# Begin Source File
+9 -3
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2007 Zend Technologies Ltd. (http://www.zend.com) |
| Copyright (c) 1998-2010 Zend Technologies Ltd. (http://www.zend.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 2.00 of the Zend license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -19,8 +19,14 @@
/* $Id$ */
#define ZEND_API
#define ZEND_DLEXPORT
#if defined(__GNUC__) && __GNUC__ >= 4
# define ZEND_API __attribute__ ((visibility("default")))
# define ZEND_DLEXPORT __attribute__ ((visibility("default")))
#else
# define ZEND_API
# define ZEND_DLEXPORT
#endif
#define ZEND_DLIMPORT
@TOP@
+115 -1
View File
@@ -4,7 +4,7 @@ dnl This file contains local autoconf functions.
AC_DEFUN([LIBZEND_BISON_CHECK],[
# we only support certain bison versions
bison_version_list="1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3"
bison_version_list="1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1"
# for standalone build of Zend Engine
test -z "$SED" && SED=sed
@@ -105,3 +105,117 @@ int main(void)
AC_DEFUN([AM_SET_LIBTOOL_VARIABLE],[
LIBTOOL='$(SHELL) $(top_builddir)/libtool $1'
])
dnl x87 floating point internal precision control checks
dnl See: http://wiki.php.net/rfc/rounding
AC_DEFUN([ZEND_CHECK_FLOAT_PRECISION],[
AC_MSG_CHECKING([for usable _FPU_SETCW])
AC_TRY_LINK([
#include <fpu_control.h>
],[
fpu_control_t fpu_oldcw, fpu_cw;
volatile double result;
double a = 2877.0;
volatile double b = 1000000.0;
_FPU_GETCW(fpu_oldcw);
fpu_cw = (fpu_oldcw & ~_FPU_EXTENDED & ~_FPU_SINGLE) | _FPU_DOUBLE;
_FPU_SETCW(fpu_cw);
result = a / b;
_FPU_SETCW(fpu_oldcw);
], [ac_cfp_have__fpu_setcw=yes], [ac_cfp_have__fpu_setcw=no])
if test "$ac_cfp_have__fpu_setcw" = "yes" ; then
AC_DEFINE(HAVE__FPU_SETCW, 1, [whether _FPU_SETCW is present and usable])
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING([for usable fpsetprec])
AC_TRY_LINK([
#include <machine/ieeefp.h>
],[
fp_prec_t fpu_oldprec;
volatile double result;
double a = 2877.0;
volatile double b = 1000000.0;
fpu_oldprec = fpgetprec();
fpsetprec(FP_PD);
result = a / b;
fpsetprec(fpu_oldprec);
], [ac_cfp_have_fpsetprec=yes], [ac_cfp_have_fpsetprec=no])
if test "$ac_cfp_have_fpsetprec" = "yes" ; then
AC_DEFINE(HAVE_FPSETPREC, 1, [whether fpsetprec is present and usable])
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING([for usable _controlfp])
AC_TRY_LINK([
#include <float.h>
],[
unsigned int fpu_oldcw;
volatile double result;
double a = 2877.0;
volatile double b = 1000000.0;
fpu_oldcw = _controlfp(0, 0);
_controlfp(_PC_53, _MCW_PC);
result = a / b;
_controlfp(fpu_oldcw, _MCW_PC);
], [ac_cfp_have__controlfp=yes], [ac_cfp_have__controlfp=no])
if test "$ac_cfp_have__controlfp" = "yes" ; then
AC_DEFINE(HAVE__CONTROLFP, 1, [whether _controlfp is present usable])
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING([for usable _controlfp_s])
AC_TRY_LINK([
#include <float.h>
],[
unsigned int fpu_oldcw, fpu_cw;
volatile double result;
double a = 2877.0;
volatile double b = 1000000.0;
_controlfp_s(&fpu_cw, 0, 0);
fpu_oldcw = fpu_cw;
_controlfp_s(&fpu_cw, _PC_53, _MCW_PC);
result = a / b;
_controlfp_s(&fpu_cw, fpu_oldcw, _MCW_PC);
], [ac_cfp_have__controlfp_s=yes], [ac_cfp_have__controlfp_s=no])
if test "$ac_cfp_have__controlfp_s" = "yes" ; then
AC_DEFINE(HAVE__CONTROLFP_S, 1, [whether _controlfp_s is present and usable])
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING([whether FPU control word can be manipulated by inline assembler])
AC_TRY_LINK([
/* nothing */
],[
unsigned int oldcw, cw;
volatile double result;
double a = 2877.0;
volatile double b = 1000000.0;
__asm__ __volatile__ ("fnstcw %0" : "=m" (*&oldcw));
cw = (oldcw & ~0x0 & ~0x300) | 0x200;
__asm__ __volatile__ ("fldcw %0" : : "m" (*&cw));
result = a / b;
__asm__ __volatile__ ("fldcw %0" : : "m" (*&oldcw));
], [ac_cfp_have_fpu_inline_asm_x86=yes], [ac_cfp_have_fpu_inline_asm_x86=no])
if test "$ac_cfp_have_fpu_inline_asm_x86" = "yes" ; then
AC_DEFINE(HAVE_FPU_INLINE_ASM_X86, 1, [whether FPU control word can be manipulated by inline assembler])
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
])
+4 -1
View File
@@ -1,6 +1,9 @@
<?php
date_default_timezone_set("UTC");
if (function_exists("date_default_timezone_set")) {
date_default_timezone_set("UTC");
}
date_default_timezone_set('UTC');
function simple() {
$a = 0;
for ($i = 0; $i < 1000000; $i++)
-1
View File
@@ -7,7 +7,6 @@ AM_CONFIG_HEADER(zend_config.h)
AM_SANITY_CHECK
AM_MAINTAINER_MODE
AC_PROG_CC
AM_PROG_LEX
AM_PROG_CC_STDC
ZEND_VERSION=$VERSION
AC_ZEND_C_BIGENDIAN
-1648
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2006 Zend Technologies Ltd. (http://www.zend.com) |
| Copyright (c) 1998-2010 Zend Technologies Ltd. (http://www.zend.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 2.00 of the Zend license, |
| that is bundled with this package in the file LICENSE, and is |
+1 -1
View File
@@ -13,7 +13,7 @@ var_dump(strncmp("qwerty", "qwerty123", 7));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for strncmp() in %s on line %d
Warning: strncmp() expects exactly 3 parameters, 2 given in %s on line %d
NULL
int(0)
+1 -1
View File
@@ -15,7 +15,7 @@ var_dump(strcasecmp("01", "01"));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for strcasecmp() in %s on line %d
Warning: strcasecmp() expects exactly 2 parameters, 1 given in %s on line %d
NULL
int(0)
int(-3)
+1 -1
View File
@@ -16,7 +16,7 @@ var_dump(strncasecmp("01", "01", 1000));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for strncasecmp() in %s on line %d
Warning: strncasecmp() expects exactly 3 parameters, 1 given in %s on line %d
NULL
Warning: Length must be greater than or equal to 0 in %s on line %d
+1 -1
View File
@@ -22,7 +22,7 @@ var_dump(each($a));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for each() in %s on line %d
Warning: each() expects exactly 1 parameter, 0 given in %s on line %d
NULL
Warning: Variable passed to each() is not an array or object in %s on line %d
+6 -6
View File
@@ -23,18 +23,18 @@ var_dump(constant("test const"));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for define() in %s on line %d
Warning: define() expects at least 2 parameters, 0 given in %s on line %d
NULL
Warning: Wrong parameter count for define() in %s on line %d
Warning: define() expects at least 2 parameters, 1 given in %s on line %d
NULL
bool(true)
Notice: Constant true already defined in %s on line %d
bool(false)
Warning: define() expects parameter 3 to be boolean, array given in %s on line %d
NULL
Notice: Array to string conversion in %s on line %d
bool(true)
Warning: define() expects parameter 1 to be string, array given in %s on line %d
NULL
bool(true)
bool(true)
bool(true)
+2
View File
@@ -40,6 +40,8 @@ string(3) "foo"
Warning: get_class() called without object from outside a class in %s on line %d
bool(false)
Warning: get_class() expects parameter 1 to be object, string given in %s on line %d
bool(false)
string(3) "foo"
string(4) "foo2"
+7 -7
View File
@@ -53,22 +53,22 @@ $bar->test();
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for property_exists() in %s on line %d
Warning: property_exists() expects exactly 2 parameters, 0 given in %s on line %d
NULL
Warning: Wrong parameter count for property_exists() in %s on line %d
Warning: property_exists() expects exactly 2 parameters, 1 given in %s on line %d
NULL
bool(true)
bool(false)
bool(false)
bool(true)
bool(true)
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
bool(true)
bool(false)
bool(false)
bool(true)
bool(true)
bool(false)
bool(false)
@@ -84,6 +84,6 @@ bool(true)
bool(true)
bool(true)
bool(true)
bool(false)
bool(true)
bool(true)
Done
+2 -2
View File
@@ -32,7 +32,7 @@ array(2) {
string(%d) "%s"
}
Warning: Wrong parameter count for get_included_files() in %s on line %d
Warning: get_included_files() expects exactly 0 parameters, 2 given in %s on line %d
NULL
array(2) {
[0]=>
@@ -41,7 +41,7 @@ array(2) {
string(%d) "%s"
}
Warning: Wrong parameter count for get_included_files() in %s on line %d
Warning: get_included_files() expects exactly 0 parameters, 1 given in %s on line %d
NULL
array(2) {
[0]=>
+7 -5
View File
@@ -9,20 +9,19 @@ var_dump(trigger_error(array()));
var_dump(trigger_error("error", -1));
var_dump(trigger_error("error", 0));
var_dump(trigger_error("error", E_USER_WARNING));
var_dump(trigger_error("error", E_USER_DEPRECATED));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for trigger_error() in %s on line %d
Warning: trigger_error() expects at least 1 parameter, 0 given in %s on line %d
NULL
Notice: error in %s on line %d
bool(true)
Notice: Array to string conversion in %s on line %d
Notice: Array in %s on line %d
bool(true)
Warning: trigger_error() expects parameter 1 to be string, array given in %s on line %d
NULL
Warning: Invalid error type specified in %s on line %d
bool(false)
@@ -32,4 +31,7 @@ bool(false)
Warning: error in %s on line %d
bool(true)
Deprecated: error in %s on line %d
bool(true)
Done
+7 -7
View File
@@ -45,11 +45,11 @@ var_dump(count(get_extension_funcs("zend")));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for get_resource_type() in %s on line %d
Warning: get_resource_type() expects exactly 1 parameter, 0 given in %s on line %d
NULL
Warning: Supplied argument is not a valid resource handle in %s on line %d
bool(false)
Warning: get_resource_type() expects parameter 1 to be resource, string given in %s on line %d
NULL
string(6) "stream"
string(7) "Unknown"
string(5) "array"
@@ -60,23 +60,23 @@ int(%d)
Warning: get_loaded_extensions() expects at most 1 parameter, 2 given in %s on line %d
NULL
Warning: Wrong parameter count for get_defined_constants() in %s on line %d
Warning: get_defined_constants() expects at most 1 parameter, 2 given in %s on line %d
NULL
string(5) "array"
string(5) "array"
int(%d)
Warning: Wrong parameter count for get_defined_functions() in %s on line %d
Warning: get_defined_functions() expects exactly 0 parameters, 1 given in %s on line %d
NULL
string(5) "array"
int(%d)
Warning: Wrong parameter count for get_declared_interfaces() in %s on line %d
Warning: get_declared_interfaces() expects exactly 0 parameters, 1 given in %s on line %d
NULL
string(5) "array"
int(%d)
Warning: Wrong parameter count for get_extension_funcs() in %s on line %d
Warning: get_extension_funcs() expects exactly 1 parameter, 0 given in %s on line %d
NULL
bool(false)
string(5) "array"
+3 -5
View File
@@ -18,18 +18,16 @@ var_dump(constant("TEST_CONST2"));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for constant() in %s on line %d
Warning: constant() expects exactly 1 parameter, 0 given in %s on line %d
NULL
Warning: Wrong parameter count for constant() in %s on line %d
Warning: constant() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Warning: constant(): Couldn't find constant in %s on line %d
NULL
Notice: Array to string conversion in %s on line %d
Warning: constant(): Couldn't find constant Array in %s on line %d
Warning: constant() expects parameter 1 to be string, array given in %s on line %d
NULL
int(1)
string(4) "test"
+12 -11
View File
@@ -359,7 +359,8 @@ var_dump($global_var);
//Note: No error conditions relating to passing arugments can be tested
// because these are not functions but statements, it will result in syntax error.
echo "Done\n";
?>
===DONE===
--EXPECTF--
*** Testing unset(), empty() & isset() with scalar variables ***
-- Iteration 1 --
@@ -1185,11 +1186,11 @@ bool(true)
*** Testing unset(), emtpy() & isset() with resource variables ***
-- Iteration 1 --
resource(5) of type (stream)
resource(%d) of type (stream)
bool(true)
bool(false)
bool(true)
resource(5) of type (stream)
resource(%d) of type (stream)
bool(false)
bool(true)
bool(false)
@@ -1198,11 +1199,11 @@ bool(false)
Notice: Undefined variable: resource in %s on line %d
NULL
-- Iteration 2 --
resource(6) of type (stream)
resource(%d) of type (stream)
bool(true)
bool(false)
bool(true)
resource(6) of type (stream)
resource(%d) of type (stream)
bool(false)
bool(true)
bool(false)
@@ -1217,7 +1218,7 @@ bool(false)
bool(true)
*** Testing unset(), empty() & isset() with objects ***
object(Point)#1 (3) {
object(Point)#%d (3) {
["x"]=>
int(30)
["y"]=>
@@ -1239,7 +1240,7 @@ bool(false)
Notice: Undefined variable: lable in %s on line %d
bool(true)
object(Point)#1 (3) {
object(Point)#%d (3) {
["x"]=>
int(30)
["y"]=>
@@ -1247,7 +1248,7 @@ object(Point)#1 (3) {
["lable"]=>
string(6) "Point1"
}
object(Point)#1 (2) {
object(Point)#%d (2) {
["y"]=>
int(40)
["lable"]=>
@@ -1255,7 +1256,7 @@ object(Point)#1 (2) {
}
bool(false)
bool(true)
object(Point)#1 (0) {
object(Point)#%d (0) {
}
bool(true)
bool(false)
@@ -1276,7 +1277,7 @@ array(3) {
[2]=>
string(9) "testPoint"
}
object(Point)#1 (3) {
object(Point)#%d (3) {
["x"]=>
int(5)
["y"]=>
@@ -1329,4 +1330,4 @@ bool(false)
bool(false)
bool(true)
int(10)
Done
===DONE===
+5 -2
View File
@@ -20,11 +20,14 @@ foo(1,2);
echo "Done\n";
?>
--EXPECTF--
bool(false)
Warning: func_get_arg() expects exactly 1 parameter, 3 given in %s on line %d
NULL
Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
bool(false)
bool(false)
Warning: func_get_arg() expects exactly 1 parameter, 0 given in %s on line %d
NULL
Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d
bool(false)
+37
View File
@@ -0,0 +1,37 @@
--TEST--
?: operator
--FILE--
<?php
var_dump(true ?: false);
var_dump(false ?: true);
var_dump(23 ?: 42);
var_dump(0 ?: "bar");
$a = 23;
$b = 0;
$c = "";
$d = 23.5;
var_dump($a ?: $b);
var_dump($c ?: $d);
var_dump(1 ?: print(2));
$e = array();
$e['e'] = 'e';
$e['e'] = $e['e'] ?: 'e';
print_r($e);
?>
--EXPECT--
bool(true)
bool(true)
int(23)
string(3) "bar"
int(23)
float(23.5)
int(1)
Array
(
[e] => e
)
+24
View File
@@ -0,0 +1,24 @@
--TEST--
Implementating abstracting methods and optional parameters
--FILE--
<?php
abstract class Base
{
abstract function someMethod($param);
}
class Ext extends Base
{
function someMethod($param = "default")
{
echo $param, "\n";
}
}
$a = new Ext();
$a->someMethod("foo");
$a->someMethod();
--EXPECT--
foo
default
+45
View File
@@ -0,0 +1,45 @@
--TEST--
Testing variable variables as function name
--FILE--
<?php
$a = 'ucfirst';
$b = 'a';
print $$b('test');
print "\n";
class bar {
public function a() {
return "bar!";
}
}
class foo {
public function test() {
print "foo!\n";
return new bar;
}
}
function test() {
return new foo;
}
$a = 'test';
$b = 'a';
var_dump($$b()->$$b()->$b());
$a = 'strtoupper';
$b = 'a';
$c = 'b';
$d = 'c';
var_dump($$$$d('foo'));
?>
--EXPECT--
Test
foo!
string(4) "bar!"
string(3) "FOO"
+51
View File
@@ -0,0 +1,51 @@
--TEST--
Testing operations with undefined variable
--FILE--
<?php
var_dump($a[1]);
var_dump($a[$c]);
var_dump($a + 1);
var_dump($a + $b);
var_dump($a++);
var_dump(++$b);
var_dump($a->$b);
var_dump($a->$b);
var_dump($a->$b->$c[1]);
?>
--EXPECTF--
Notice: Undefined variable: a in %s on line %d
NULL
Notice: Undefined variable: %s in %s on line %d
Notice: Undefined variable: %s in %s on line %d
NULL
Notice: Undefined variable: a in %s on line %d
int(1)
Notice: Undefined variable: %s in %s on line %d
Notice: Undefined variable: %s in %s on line %d
int(0)
Notice: Undefined variable: a in %s on line %d
NULL
Notice: Undefined variable: b in %s on line %d
int(1)
Notice: Trying to get property of non-object in %s on line %d
NULL
Notice: Trying to get property of non-object in %s on line %d
NULL
Notice: Undefined variable: c in %s on line %d
Notice: Trying to get property of non-object in %s on line %d
Notice: Trying to get property of non-object in %s on line %d
NULL
+32
View File
@@ -0,0 +1,32 @@
--TEST--
Testing dynamic calls
--FILE--
<?php
class foo {
static public function a() {
print "ok\n";
}
}
$a = 'a';
$b = 'a';
$class = 'foo';
foo::a();
foo::$a();
foo::$$b();
$class::a();
$class::$a();
$class::$$b();
?>
--EXPECT--
ok
ok
ok
ok
ok
ok
+25
View File
@@ -0,0 +1,25 @@
--TEST--
Trying assign value to property when an object is not returned in a function
--FILE--
<?php
class foo {
public function a() {
}
}
$test = new foo;
$test->a()->a;
print "ok\n";
$test->a()->a = 1;
print "ok\n";
?>
--EXPECTF--
Notice: Trying to get property of non-object in %s on line %d
ok
Strict Standards: Creating default object from empty value in %s on line %d
ok
+22
View File
@@ -0,0 +1,22 @@
--TEST--
Testing dynamic calls using variable variables with curly syntax
--FILE--
<?php
$a = 'b';
$b = 'c';
$c = 'strtoupper';
var_dump(${${$a}}('foo') == 'FOO');
$a = 'b';
$b = 'c';
$c = 'strtoupper';
$strtoupper = 'strtolower';
var_dump(${${++$a}}('FOO') == 'foo');
?>
--EXPECT--
bool(true)
bool(true)
+23
View File
@@ -0,0 +1,23 @@
--TEST--
Testing function call through of array item
--FILE--
<?php
$arr = array('strtoupper', 'strtolower');
$k = 0;
var_dump($arr[0]('foo') == 'FOO');
var_dump($arr[$k]('foo') == 'FOO');
var_dump($arr[++$k]('FOO') == 'foo');
var_dump($arr[++$k]('FOO') == 'foo');
?>
--EXPECTF--
bool(true)
bool(true)
bool(true)
Notice: Undefined offset: 2 in %s on line %d
Fatal error: Function name must be a string in %s on line %d
+51
View File
@@ -0,0 +1,51 @@
--TEST--
Testing assign to property of an object in an array
--FILE--
<?php
$arr = array(new stdClass);
$arr[0]->a = clone $arr[0];
var_dump($arr);
$arr[0]->b = new $arr[0];
var_dump($arr);
$arr[0]->c = $arr[0]->a;
var_dump($arr);
?>
--EXPECT--
array(1) {
[0]=>
object(stdClass)#1 (1) {
["a"]=>
object(stdClass)#2 (0) {
}
}
}
array(1) {
[0]=>
object(stdClass)#1 (2) {
["a"]=>
object(stdClass)#2 (0) {
}
["b"]=>
object(stdClass)#3 (0) {
}
}
}
array(1) {
[0]=>
object(stdClass)#1 (3) {
["a"]=>
object(stdClass)#2 (0) {
}
["b"]=>
object(stdClass)#3 (0) {
}
["c"]=>
object(stdClass)#2 (0) {
}
}
}
+70
View File
@@ -0,0 +1,70 @@
--TEST--
Overriding $this in catch and checking the object properties later.
--FILE--
<?php
class foo {
public $test = 0;
private $test_2 = 1;
protected $test_3 = 2;
public function bar() {
try {
throw new Exception('foo');
} catch (Exception $this) {
var_dump($this);
}
$this->baz();
}
public function baz() {
foreach ($this as $k => $v) {
printf("'%s' => '%s'\n", $k, $v);
}
print "ok\n";
}
}
$test = new foo;
$test->bar();
?>
--EXPECTF--
object(Exception)#%d (7) {
["message":protected]=>
string(3) "foo"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
int(0)
["file":protected]=>
string(%d) "%s030.php"
["line":protected]=>
int(%d)
["trace":"Exception":private]=>
array(1) {
[0]=>
array(6) {
["file"]=>
string(%d) "%s030.php"
["line"]=>
int(%d)
["function"]=>
string(3) "bar"
["class"]=>
string(3) "foo"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
}
["previous":"Exception":private]=>
NULL
}
'test' => '0'
'test_2' => '1'
'test_3' => '2'
ok
+11
View File
@@ -0,0 +1,11 @@
--TEST--
Testing array with '[]' passed as argument by value
--FILE--
<?php
function test($var) { }
test($arr[]);
?>
--EXPECTF--
Fatal error: Cannot use [] for reading in %s on line %d
+13
View File
@@ -0,0 +1,13 @@
--TEST--
Testing array with '[]' passed as argument by reference
--FILE--
<?php
function test(&$var) { }
test($arr[]);
print "ok!\n";
?>
--EXPECT--
ok!
+31
View File
@@ -0,0 +1,31 @@
--TEST--
Using undefined multidimensional array
--FILE--
<?php
$arr[1][2][3][4][5];
echo $arr[1][2][3][4][5];
$arr[1][2][3][4][5]->foo;
$arr[1][2][3][4][5]->foo = 1;
$arr[][] = 2;
$arr[][]->bar = 2;
?>
--EXPECTF--
Notice: Undefined variable: arr in %s on line %d
Notice: Undefined variable: arr in %s on line %d
Notice: Undefined variable: arr in %s on line %d
Notice: Trying to get property of non-object in %s on line %d
Strict Standards: Creating default object from empty value in %s on line %d
Strict Standards: Creating default object from empty value in %s on line %d
+26
View File
@@ -0,0 +1,26 @@
--TEST--
Testing multiples 'default:' in switch
--FILE--
<?php
switch (1) {
case 2:
print 'foo';
break;
case 3:
print 'bar';
break;
default:
print 1;
break;
default:
print 2;
break;
default:
print 3;
break;
}
?>
--EXPECT--
3
+18
View File
@@ -0,0 +1,18 @@
--TEST--
Using 'static' and 'global' in global scope
--FILE--
<?php
static $var, $var, $var = -1;
var_dump($var);
global $var, $var, $var;
var_dump($var);
var_dump($GLOBALS['var']);
?>
--EXPECT--
int(-1)
int(-1)
int(-1)
+13
View File
@@ -0,0 +1,13 @@
--TEST--
Trying to use lambda in array offset
--FILE--
<?php
$test[function(){}] = 1;
$a{function() { }} = 1;
?>
--EXPECTF--
Warning: Illegal offset type in %s on line %d
Warning: Illegal offset type in %s on line %d
+19
View File
@@ -0,0 +1,19 @@
--TEST--
Trying to access inexistent static property of Closure
--FILE--
<?php
namespace closure;
class closure { static $x = 1;}
$x = __NAMESPACE__;
var_dump(closure::$x);
var_dump($x::$x);
?>
--EXPECTF--
int(1)
Fatal error: Access to undeclared static property: Closure::$x in %s on line %d
+12
View File
@@ -0,0 +1,12 @@
--TEST--
Trying to use lambda as array key
--FILE--
<?php
var_dump(array(function() { } => 1));
?>
--EXPECTF--
Warning: Illegal offset type in %s on line %d
array(0) {
}
+14
View File
@@ -0,0 +1,14 @@
--TEST--
using multiple access modifiers (methods)
--FILE--
<?php
class test {
static public public static final public final function foo() {
}
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Multiple access type modifiers are not allowed in %s on line %d
+13
View File
@@ -0,0 +1,13 @@
--TEST--
using multiple access modifiers (attributes)
--FILE--
<?php
class test {
static public public static final public final $var;
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Multiple access type modifiers are not allowed in %s on line %d
+13
View File
@@ -0,0 +1,13 @@
--TEST--
using multiple access modifiers (classes)
--FILE--
<?php
final final class test {
function foo() {}
}
echo "Done\n";
?>
--EXPECTF--
Parse error: %s error,%sexpecting %s in %s on line %d
+14
View File
@@ -0,0 +1,14 @@
--TEST--
using multiple access modifiers (abstract methods)
--FILE--
<?php
class test {
abstract abstract function foo() {
}
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Multiple abstract modifiers are not allowed in %s on line %d
+14
View File
@@ -0,0 +1,14 @@
--TEST--
using multiple access modifiers (final methods)
--FILE--
<?php
class test {
final final function foo() {
}
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Multiple final modifiers are not allowed in %s on line %d
+14
View File
@@ -0,0 +1,14 @@
--TEST--
using multiple access modifiers (static methods)
--FILE--
<?php
class test {
static static function foo() {
}
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Multiple static modifiers are not allowed in %s on line %d
+13
View File
@@ -0,0 +1,13 @@
--TEST--
abstract final methods errmsg
--FILE--
<?php
class test {
final abstract function foo();
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Cannot use the final modifier on an abstract class member in %s on line %d
+21
View File
@@ -0,0 +1,21 @@
--TEST--
Inconsistencies when accessing protected members
--XFAIL--
Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2
--FILE--
<?php
class A {
static protected function f() {return 'A::f()';}
}
class B1 extends A {
static protected function f() {return 'B1::f()';}
}
class B2 extends A {
static public function test() {echo B1::f();}
}
B2::test();
?>
--EXPECTF--
Fatal error: Call to protected method B1::f() from context 'B2' in %s on line %d
+26
View File
@@ -0,0 +1,26 @@
--TEST--
Inconsistencies when accessing protected members - 2
--XFAIL--
Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2
--FILE--
<?php
class A {
static protected function f() {return 'A::f()';}
}
class B1 extends A {
static protected function f() {return 'B1::f()';}
}
class B2 extends A {
static public function test() {
var_dump(is_callable('B1::f'));
B1::f();
}
}
B2::test();
?>
--EXPECTF--
bool(false)
Fatal error: Call to protected method B1::f() from context 'B2' in %s on line %d
+31
View File
@@ -0,0 +1,31 @@
--TEST--
Testing visibility of methods
--FILE--
<?php
class d {
private function test2() {
print "Bar\n";
}
}
abstract class a extends d {
public function test() {
$this->test2();
}
}
abstract class b extends a {
}
class c extends b {
public function __construct() {
$this->test();
}
}
new c;
?>
--EXPECTF--
Fatal error: Call to private method d::test2() from context 'a' in %s on line %d
+39
View File
@@ -0,0 +1,39 @@
--TEST--
__call() for private/protected methods
--FILE--
<?php
class A {
private $var1 = 'var1 value';
protected $var2 = 'var2 value';
private function func1()
{
return "in func1";
}
protected function func2()
{
return "in func2";
}
public function __get($var)
{
return $this->$var;
}
public function __call($func, array $args = array())
{
return call_user_func_array(array($this, $func), $args);
}
}
$a = new A();
echo $a->var1,"\n";
echo $a->var2,"\n";
echo $a->func1(),"\n";
echo $a->func2(),"\n";
?>
--EXPECTF--
var1 value
var2 value
in func1
in func2
+21
View File
@@ -0,0 +1,21 @@
--TEST--
Trigger __call() in lieu of non visible methods when called via a callback.
--FILE--
<?php
class C {
protected function prot() { }
private function priv() { }
public function __call($name, $args) {
echo "In __call() for method $name()\n";
}
}
$c = new C;
call_user_func(array($c, 'none'));
call_user_func(array($c, 'prot'));
call_user_func(array($c, 'priv'));
?>
--EXPECTF--
In __call() for method none()
In __call() for method prot()
In __call() for method priv()
+35
View File
@@ -0,0 +1,35 @@
--TEST--
Testing calls to anonymous function
--FILE--
<?php
for ($i = 0; $i < 10; $i++) {
$a = create_function('', 'return '. $i .';');
var_dump($a());
$b = "\0lambda_". ($i + 1);
var_dump($b());
}
?>
--EXPECT--
int(0)
int(0)
int(1)
int(1)
int(2)
int(2)
int(3)
int(3)
int(4)
int(4)
int(5)
int(5)
int(6)
int(6)
int(7)
int(7)
int(8)
int(8)
int(9)
int(9)
+16
View File
@@ -0,0 +1,16 @@
--TEST--
Testing anonymous function return as array key and accessing $GLOBALS
--FILE--
<?php
$test = create_function('$v', 'return $v;');
$arr = array(create_function('', 'return $GLOBALS["arr"];'), 2);
var_dump($arr[$test(1)]);
var_dump($arr[$test(0)]() == $arr);
?>
--EXPECT--
int(2)
bool(true)
+15
View File
@@ -0,0 +1,15 @@
--TEST--
Using throw $var with anonymous function return
--FILE--
<?php
try {
$a = create_function('', 'return new Exception("test");');
throw $a();
} catch (Exception $e) {
var_dump($e->getMessage() == 'test');
}
?>
--EXPECT--
bool(true)
+18
View File
@@ -0,0 +1,18 @@
--TEST--
complex cases of variable assignment - 001
--FILE--
<?php
$var = array(1,2,3);
$var1 = &$var;
$var = $var[1];
var_dump($var);
var_dump($var1);
echo "Done\n";
?>
--EXPECTF--
int(2)
int(2)
Done
+18
View File
@@ -0,0 +1,18 @@
--TEST--
complex cases of variable assignment - 002
--FILE--
<?php
$var = "intergalactic";
$var1 = &$var;
$var = $var[5];
var_dump($var);
var_dump($var1);
echo "Done\n";
?>
--EXPECTF--
string(1) "g"
string(1) "g"
Done
+18
View File
@@ -0,0 +1,18 @@
--TEST--
complex cases of variable assignment - 003
--FILE--
<?php
$var = 0.213123123;
$var1 = &$var;
$var = $var[1];
var_dump($var);
var_dump($var1);
echo "Done\n";
?>
--EXPECTF--
NULL
NULL
Done
+22
View File
@@ -0,0 +1,22 @@
--TEST--
complex cases of variable assignment - 004
--FILE--
<?php
$var = "intergalactic";
$var1 = "space";
$var2 = &$var1;
$var = $var2;
var_dump($var);
var_dump($var1);
var_dump($var2);
echo "Done\n";
?>
--EXPECTF--
string(5) "space"
string(5) "space"
string(5) "space"
Done
-5
View File
@@ -1,12 +1,7 @@
--TEST--
Bug #20242 (Method call in front of class definition)
--SKIPIF--
<?php if (version_compare(zend_version(), '2.0.0-dev', '>=')) die('skip ZendEngine 2 does not support this'); ?>
--FILE--
<?php
// THIS IS A WON'T FIX FOR ZE2
test::show_static();
$t = new test;
+1 -1
View File
@@ -41,6 +41,6 @@ Array
)
Array
(
[a] => 111
[a] => 222
[c] => 444
)
+1 -1
View File
@@ -33,7 +33,7 @@ $obj->printVars();
===BASE===
string(4) "Base"
Notice: Undefined property: BaseClass::$private_child in %sbug29674.php on line %d
Notice: Undefined property: BaseClass::$private_child in %sbug29674.php on line %d
NULL
===CHILD===
string(4) "Base"
+1 -1
View File
@@ -52,7 +52,7 @@ $baz->printFoo();
--EXPECTF--
foo: foo foo2
bar: bar
Notice: Undefined property: bar::$foo2 in %s on line %d
Notice: Undefined property: bar::$foo2 in %s on line %d
---baz--
foo: foo foo2
+3 -1
View File
@@ -41,12 +41,14 @@ $db = new hariCow;
var_dump($db);
?>
===DONE===
--EXPECTF--
Notice: Undefined variable: db in %sbug30162.php on line 35
NULL
object(hariCow)#1 (2) {
object(hariCow)#%d (2) {
["x"]=>
string(1) "x"
["y"]=>
string(1) "y"
}
===DONE===
Loaded 100 of 11027 files, more files were not shown because too many files have changed in this diff. Show more