svn: /php/php-src/trunk/Zend/tests/ declare_001.phpt

From: Date: Wed, 24 Nov 2010 10:54:35 +0000
Subject: svn: /php/php-src/trunk/Zend/tests/ declare_001.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-63960@lists.php.net to get a copy of this message
dmitry Wed, 24 Nov 2010 10:54:35 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=305714 Log: Fixed test Changed paths: U php/php-src/trunk/Zend/tests/declare_001.phpt Modified: php/php-src/trunk/Zend/tests/declare_001.phpt =================================================================== --- php/php-src/trunk/Zend/tests/declare_001.phpt 2010-11-24 09:35:56 UTC (rev 305713) +++ php/php-src/trunk/Zend/tests/declare_001.phpt 2010-11-24 10:54:35 UTC (rev 305714) @@ -12,11 +12,11 @@ declare(encoding = 1); declare(encoding = 1123131232131312321); declare(encoding = NULL); +declare(encoding = 'utf-8'); declare(encoding = M_PI); -declare(encoding = 'utf-8'); print 'DONE'; ?> ---EXPECT-- -DONE +--EXPECTF-- +Fatal error: Cannot use constants as encoding in %sdeclare_001.php on line 7

« previous php.cvs (#63960) next »