cvs: php-src /tests/lang bug24403.phpt

From: Date: Wed, 02 Jul 2003 17:51:15 +0000
Subject: cvs: php-src /tests/lang bug24403.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-22324@lists.php.net to get a copy of this message
zeev Wed Jul 2 13:51:15 2003 EDT Added files: /php-src/tests/lang bug24403.phpt Log: Add test case Index: php-src/tests/lang/bug24403.phpt +++ php-src/tests/lang/bug24403.phpt --TEST-- Bug #24403 (scope doesn't properly propagate into internal functions) --FILE-- <? class a { var $a = array(); function a() { $output = preg_replace( '!\{\s*([a-z0-9_]+)\s*\}!sie', "(in_array('\\1',\$this->a) ? '\'.\$p[\'\\1\'].\'' : '\'.\$r[\'\\1\'].\'')", "{a} b {c}"); } } new a(); ?> --EXPECT--

« previous php.cvs (#22324) next »