svn: /php/php-src/ branches/PHP_5_3/Zend/zend_builtin_functions.c trunk/Zend/zend_builtin_functions.c
| From: | Jani Taskinen | Date: | Thu, 06 Aug 2009 11:02:25 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/Zend/zend_builtin_functions.c trunk/Zend/zend_builtin_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-60042@lists.php.net to get a copy of this message | ||
jani Thu, 06 Aug 2009 11:02:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=286878
Log:
- Restore PHP-5.2 behaviour when passing null inside object scope to get_class()
Changed paths:
U php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c
U php/php-src/trunk/Zend/zend_builtin_functions.c
Modified: php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c
===================================================================
--- php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c 2009-08-06 10:56:00 UTC (rev 286877)
+++ php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c 2009-08-06 11:02:25 UTC (rev 286878)
@@ -747,7 +747,7 @@
zend_uint name_len = 0;
int dup;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|o", &obj) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|o!", &obj) == FAILURE) {
RETURN_FALSE;
}
Modified: php/php-src/trunk/Zend/zend_builtin_functions.c
===================================================================
--- php/php-src/trunk/Zend/zend_builtin_functions.c 2009-08-06 10:56:00 UTC (rev 286877)
+++ php/php-src/trunk/Zend/zend_builtin_functions.c 2009-08-06 11:02:25 UTC (rev 286878)
@@ -716,7 +716,7 @@
zend_uint name_len = 0;
int dup;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|o", &obj) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|o!", &obj) == FAILURE) {
RETURN_FALSE;
}