Commit Graph

7075 Commits

Author SHA1 Message Date
Pierre Joye
9ec72d0415 - don't hide early declaration 2009-09-05 19:00:05 +00:00
Dmitry Stogov
a6412a5e71 Fixed bug #46074 (Bus error during running PHP CLI under IRIX 6.5.30) 2009-09-03 14:33:11 +00:00
Zoe Slattery
7effcd5f6c Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Stanislav Malyshev
deb7825601 fix crash when unexpectedly passed by-ref parameter is modified 2009-08-18 20:51:49 +00:00
Dmitry Stogov
9efc8616d1 Fixed ability to call user functions from user opcodes without recursion 2009-08-18 10:12:32 +00:00
Dmitry Stogov
8f523cb33b Fixed bug #49269 (Ternary operator fails on Iterator object when used inside foreach declaration). (Etienne, Dmitry) 2009-08-17 07:41:22 +00:00
Etienne Kneuss
ef045590dc Fix endless recursion of var_dump() over self-referencing closures 2009-08-10 15:18:13 +00:00
Andi Gutmans
e4765438b8 - Optimize slightly for common case - n!=4 2009-08-09 04:46:02 +00:00
Jani Taskinen
35349fd6ae - Generated files 2009-08-07 15:45:56 +00:00
Jani Taskinen
b37f2e6187 - Fixed bug #48719 parse_ini_*(): scanner mode is not checked for sanity) 2009-08-07 15:44:37 +00:00
Jani Taskinen
12297bdb05 - Generated files.. 2009-08-07 14:22:49 +00:00
Jani Taskinen
dd7b767d7f - Fixed bug #48660 (parse_ini_*(): dollar sign as last character of value fails) 2009-08-07 14:21:38 +00:00
Jani Taskinen
33399d96bf - Restore PHP-5.2 behaviour when passing null inside object scope to get_class() 2009-08-06 11:02:25 +00:00
Scott MacVicar
afcc47ef85 Fix bug #48575 - Use dlopen() just like all the other *nixes instead of OSX specific code. 2009-08-06 01:33:54 +00:00
Jani Taskinen
95ae7a0366 - Generated files 2009-08-04 02:58:29 +00:00
Jani Taskinen
f487836c1a - Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW) 2009-08-04 02:56:26 +00:00
Jani Taskinen
32b6cd0a22 - Generated files 2009-08-04 02:35:38 +00:00
Jani Taskinen
cdf04b13a9 - 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
Kalle Sommer Nielsen
3dd9fcbdfb Fix compiler warnings - regenerate 2/2 2009-08-01 14:47:10 +00:00
Kalle Sommer Nielsen
04c14e0d05 Fix compiler warnings 1/2 2009-08-01 14:46:47 +00:00
Stanislav Malyshev
cc8406151c fix for bug #49000 2009-07-30 05:01:53 +00:00
Felipe Pena
94ae97b524 - Fixed expected data type for class name (%s -> %v) 2009-07-29 14:27:43 +00:00
Jani Taskinen
b40e882e1f - Fixed bug #48971 (Missing ZEND_NS_NAMED_FE macro) 2009-07-28 21:12:42 +00:00
Dmitry Stogov
f560d4ea84 Fixed bug #49037 (@list( $b ) = $a; causes a crash) 2009-07-28 13:01:40 +00:00
Dmitry Stogov
5753d36230 Fixed bug #48912 (Namespace causes unexpected strict behaviour with extract()) 2009-07-28 12:36:08 +00:00
Rasmus Lerdorf
415795f827 Please review this one. It seems pretty fundamental.
When $str is a binary string and you do: $str[4]=0;
there should be no unicode conversion.
2009-07-26 15:53:36 +00:00
Zoe Slattery
ec97c3c3e3 Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
David Soria Parra
b4ea9bf939 - Define HAVE_DTRACE if dtrace is available and ifdef all calls to dtrace probes 2009-07-20 10:12:34 +00:00
David Soria Parra
9491c31906 - Fix overflow and use our internal vssprintf implementation 2009-07-20 10:12:12 +00:00
Kalle Sommer Nielsen
29b1f03d5d Fix Windows build with dtrace and add missing $Id$'s to files 2009-07-20 08:05:04 +00:00
Felipe Pena
3cf7638cf2 - New tests 2009-07-19 16:31:43 +00:00
David Soria Parra
1f06f5f458 - Add license headers 2009-07-19 15:57:06 +00:00
Felipe Pena
e2e62d3afb - Fixed ZTS build 2009-07-19 14:19:32 +00:00
David Soria Parra
28f7ed9365 - Add DTrace support. 2009-07-19 14:00:25 +00:00
Felipe Pena
6ff8222d0e - New test 2009-07-19 03:36:46 +00:00
Felipe Pena
f1be9ef385 - Tests related to bug #48770 2009-07-19 03:25:49 +00:00
Zoe Slattery
199a181a2c Removing unnecessary SKIPIF sections 2009-07-18 13:44:15 +00:00
Jani Taskinen
438b181d82 CS 2009-07-17 11:49:50 +00:00
Zoe Slattery
a8fbe048a6 fix tests 2009-07-17 08:20:04 +00:00
Stanislav Malyshev
fa1f24867a fix memory leak 2009-07-17 00:57:46 +00:00
Jani Taskinen
24d327ba2b CS 2009-07-16 12:18:13 +00:00
Stanislav Malyshev
29fb4ab87d fix ini_restore problem 2009-07-16 00:03:44 +00:00
Felipe Pena
dd6e75c230 - Fixed bug #48899 (is_callable returns true even if method does not exist in parent class) 2009-07-15 01:08:15 +00:00
David Soria Parra
0216e20432 Fix date warning by setting the default timezone to UTC 2009-07-13 23:55:34 +00:00
b3468e257b ChangeLog update 2009-07-08 01:34:26 +00:00
David Soria Parra
646cce06e6 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 11:52:43 +00:00
2ceb43130e ChangeLog update 2009-07-07 01:33:12 +00:00
andy wharmby
9f62b4467a Fix test 2009-07-06 19:34:58 +00:00
bb6bb49671 ChangeLog update 2009-07-01 01:34:02 +00:00
338feb1bf7 ChangeLog update 2009-06-29 01:33:31 +00:00
Felipe Pena
e2e5c765f8 - Fixed bug #48693 (Double declaration of __lambda_func when lambda wrongly formatted) 2009-06-28 01:14:28 +00:00
ca35a584b8 ChangeLog update 2009-06-27 01:35:55 +00:00
2e134996b0 ChangeLog update 2009-06-23 01:33:15 +00:00
dbebf39ff3 ChangeLog update 2009-06-20 01:33:11 +00:00
aa1713fabc ChangeLog update 2009-06-19 01:33:18 +00:00
c3bf1cd273 ChangeLog update 2009-06-18 01:33:13 +00:00
Rasmus Lerdorf
add9048b30 Need the gcc version check here too 2009-06-17 08:57:44 +00:00
0ae1a1f965 ChangeLog update 2009-06-17 01:33:11 +00:00
Rasmus Lerdorf
4fc0630fa5 Tweak to make this compile with gcc2 2009-06-16 16:11:05 +00:00
Felipe Pena
8654130af4 - Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp> 2009-06-16 14:29:18 +00:00
1f6a21a72f ChangeLog update 2009-06-16 01:33:20 +00:00
Pierre Joye
b908c70fa1 - silent compilation warnings (no MFH yet) 2009-06-15 14:06:30 +00:00
d3b1a45162 ChangeLog update 2009-06-15 01:33:03 +00:00
andy wharmby
fada257def Basic tests for function_exists() and get_defined_functions(). Tested on Windows, Linux and Linux 64 bit. 2009-06-14 13:49:18 +00:00
Pierre Joye
7633999aa5 - MF53: fix build (void alarm) 2009-06-14 10:24:42 +00:00
f1fad174b5 ChangeLog update 2009-06-13 01:33:03 +00:00
Felipe Pena
35920eec26 - Constified method_name arg. in zend_get_user_call_function() and zend_get_user_callstatic_function() 2009-06-12 21:43:22 +00:00
Felipe Pena
8c782591dc - Fixed bug #48533 (__callStatic is not invoked for private/protected methods) 2009-06-12 01:00:30 +00:00
25e12937e5 ChangeLog update 2009-06-10 01:32:52 +00:00
35700e9e58 ChangeLog update 2009-06-09 01:32:50 +00:00
Antony Dovgal
23689799a5 revert yet another wrongly MFBed fix 2009-06-08 11:42:56 +00:00
8c82836264 ChangeLog update 2009-06-08 01:33:06 +00:00
Ilia Alshanetsky
18cf69002a MFB: Fixed bug #44827 (define() is missing error checks for class constants) 2009-06-08 01:27:11 +00:00
Matt Wilmas
756d134c45 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:02 +00:00
Matt Wilmas
b412586e4f Changed error messages to use "cannot" instead of "can not" (meaning "also can") 2009-06-07 15:45:46 +00:00
15babe7715 ChangeLog update 2009-06-06 01:33:00 +00:00
Brian Shire
d2ef7b42ee Make pass_two visible to extensions with ZEND_API (required for optimizer). 2009-06-05 23:20:58 +00:00
Rasmus Lerdorf
698d284b1f No always_inline attribute in gcc2 2009-06-05 22:19:59 +00:00
Matt Wilmas
e9b382cc2e Added zend_eval_stringl and made create_function(), etc. binary-safe 2009-06-05 18:50:10 +00:00
Arnaud Le Blanc
76c919552b better fix for #48409 , #48428 , #48228
# (again, sorry)
2009-06-05 11:21:16 +00:00
882b1b30d2 ChangeLog update 2009-06-05 01:32:58 +00:00
Matt Wilmas
9061bf39bd 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:24:09 +00:00
Matt Wilmas
8aa9727037 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:18:47 +00:00
ed3f87a424 ChangeLog update 2009-06-03 01:32:53 +00:00
Jani Taskinen
db4dcd9f4d fix test 2009-06-02 08:02:21 +00:00
6895520ba3 ChangeLog update 2009-06-02 01:33:48 +00:00
Nuno Lopes
f3b259d08c MFB: fix compiler warnings by moving all std includes after include of zend_config.h 2009-06-01 17:52:29 +00:00
Arnaud Le Blanc
a2412a68cd 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:13 +00:00
Arnaud Le Blanc
07f2ac9f0a better fix for #48409 , #48428 , #48228 2009-06-01 15:07:27 +00:00
0feaf51d5e ChangeLog update 2009-05-31 01:33:14 +00:00
Arnaud Le Blanc
b80d1404e6 Take small blocks cache into account in memory_get_usage() 2009-05-30 16:42:01 +00:00
Arnaud Le Blanc
4b10620024 Fix aliasing issue (fixes #48409 , #48428 , #48228) 2009-05-30 16:30:39 +00:00
62ceffce70 ChangeLog update 2009-05-30 01:33:14 +00:00
Pierre Joye
2e41430516 - MFB: #42143, the constant NAN is reported as 0 on Windows 2009-05-29 08:18:42 +00:00
ffa6025d9a ChangeLog update 2009-05-28 01:32:58 +00:00
David Soria Parra
d482bb692a Remove duplicated code of zend_hash_func and alias it to zend_get_hash_value 2009-05-27 11:58:44 +00:00
f02e4bed7c ChangeLog update 2009-05-26 01:32:56 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Felipe Pena
0497e208cb - Fixed macro (thanks Kalle) 2009-05-25 13:11:09 +00:00
Sara Golemon
5ae1723c7e Expand zend_(u_)symtable_update_current_key to allow specifying HashPosition 2009-05-25 01:16:19 +00:00