svn: /php/php-src/ branches/PHP_5_2/tests/classes/constants_error_004.phpt branches/PHP_5_2/tests/lang/bug44827.phpt
branches/PHP_5_3/tests/classes/constants_error_004.phpt branches/PHP_5_3/tests/lang/bug44827.phpt trunk/tests/classes/constants_error_004.phpt
trunk/tests/lang/bug44827.phpt

From: Date: Sat, 13 Feb 2010 01:08:04 +0000
Subject: svn: /php/php-src/ branches/PHP_5_2/tests/classes/constants_error_004.phpt branches/PHP_5_2/tests/lang/bug44827.phpt
branches/PHP_5_3/tests/classes/constants_error_004.phpt branches/PHP_5_3/tests/lang/bug44827.phpt trunk/tests/classes/constants_error_004.phpt
trunk/tests/lang/bug44827.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-61863@lists.php.net to get a copy of this message
jani Sat, 13 Feb 2010 01:08:04 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=295003 Log: - Fixed tests Changed paths: U php/php-src/branches/PHP_5_2/tests/classes/constants_error_004.phpt U php/php-src/branches/PHP_5_2/tests/lang/bug44827.phpt U php/php-src/branches/PHP_5_3/tests/classes/constants_error_004.phpt U php/php-src/branches/PHP_5_3/tests/lang/bug44827.phpt U php/php-src/trunk/tests/classes/constants_error_004.phpt U php/php-src/trunk/tests/lang/bug44827.phpt Modified: php/php-src/branches/PHP_5_2/tests/classes/constants_error_004.phpt =================================================================== --- php/php-src/branches/PHP_5_2/tests/classes/constants_error_004.phpt 2010-02-12 23:38:25 UTC (rev 295002) +++ php/php-src/branches/PHP_5_2/tests/classes/constants_error_004.phpt 2010-02-13 01:08:04 UTC (rev 295003) @@ -10,4 +10,4 @@ $a = new C(); ?> --EXPECTF-- -Fatal error: Class 'D' not found in %s on line %d +Fatal error: Undefined class constant 'D::hello' in %s on line %d Modified: php/php-src/branches/PHP_5_2/tests/lang/bug44827.phpt =================================================================== --- php/php-src/branches/PHP_5_2/tests/lang/bug44827.phpt 2010-02-12 23:38:25 UTC (rev 295002) +++ php/php-src/branches/PHP_5_2/tests/lang/bug44827.phpt 2010-02-13 01:08:04 UTC (rev 295003) @@ -9,6 +9,8 @@ define('::', true); var_dump(constant('::')); ?> ---EXPECTREGEX-- -.*Fatal.* +--EXPECTF-- +Warning: Class constants cannot be defined or redefined in %s on line %d +Warning: constant(): Couldn't find constant :: in %s on line %d +NULL Modified: php/php-src/branches/PHP_5_3/tests/classes/constants_error_004.phpt =================================================================== --- php/php-src/branches/PHP_5_3/tests/classes/constants_error_004.phpt 2010-02-12 23:38:25 UTC (rev 295002) +++ php/php-src/branches/PHP_5_3/tests/classes/constants_error_004.phpt 2010-02-13 01:08:04 UTC (rev 295003) @@ -10,4 +10,4 @@ $a = new C(); ?> --EXPECTF-- -Fatal error: Class 'D' not found in %s on line %d +Fatal error: Undefined class constant 'D::hello' in %s on line %d Modified: php/php-src/branches/PHP_5_3/tests/lang/bug44827.phpt =================================================================== --- php/php-src/branches/PHP_5_3/tests/lang/bug44827.phpt 2010-02-12 23:38:25 UTC (rev 295002) +++ php/php-src/branches/PHP_5_3/tests/lang/bug44827.phpt 2010-02-13 01:08:04 UTC (rev 295003) @@ -9,6 +9,9 @@ define('::', true); var_dump(constant('::')); ?> ---EXPECTREGEX-- -.*Fatal.* +--EXPECTF-- +Warning: Class constants cannot be defined or redefined in %s on line %d +Warning: constant(): Couldn't find constant :: in %s on line %d +NULL + Modified: php/php-src/trunk/tests/classes/constants_error_004.phpt =================================================================== --- php/php-src/trunk/tests/classes/constants_error_004.phpt 2010-02-12 23:38:25 UTC (rev 295002) +++ php/php-src/trunk/tests/classes/constants_error_004.phpt 2010-02-13 01:08:04 UTC (rev 295003) @@ -10,4 +10,4 @@ $a = new C(); ?> --EXPECTF-- -Fatal error: Class 'D' not found in %s on line %d +Fatal error: Undefined class constant 'D::hello' in %s on line %d Modified: php/php-src/trunk/tests/lang/bug44827.phpt =================================================================== --- php/php-src/trunk/tests/lang/bug44827.phpt 2010-02-12 23:38:25 UTC (rev 295002) +++ php/php-src/trunk/tests/lang/bug44827.phpt 2010-02-13 01:08:04 UTC (rev 295003) @@ -9,6 +9,8 @@ define('::', true); var_dump(constant('::')); ?> ---EXPECTREGEX-- -.*Fatal.* +--EXPECTF-- +Warning: Class constants cannot be defined or redefined in %s on line %d +Warning: constant(): Couldn't find constant :: in %s on line %d +NULL

« previous php.cvs (#61863) next »