Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_language_parser.y /tests 021.phpt

From: Date: Wed, 21 Nov 2007 00:08:01 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_language_parser.y /tests 021.phpt
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-6189@lists.php.net to get a copy of this message
How comes we got UEXPECT and unicode on 5.3?
Index: ZendEngine2/tests/021.phpt +++ ZendEngine2/tests/021.phpt --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)); ?> --EXPECT-- bool(true) bool(true) int(23) string(3) "bar" int(23) float(23.5) int(1) --UEXPECT-- bool(true) bool(true) int(23) unicode(3) "bar" int(23) float(23.5) int(1)
-- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.zend-engine.cvs (#6189) next »