sniper          Sat Nov 29 02:16:59 2003 EDT

  Removed files:               
    /php-src/tests/lang bug25652.php 

  Modified files:              
    /php-src/tests/lang bug25652.phpt 
  Log:
  oops..
  
Index: php-src/tests/lang/bug25652.phpt
diff -u /dev/null php-src/tests/lang/bug25652.phpt:1.2
--- /dev/null   Sat Nov 29 02:16:59 2003
+++ php-src/tests/lang/bug25652.phpt    Sat Nov 29 02:16:58 2003
@@ -0,0 +1,22 @@
+--TEST--
+Bug #25652 (Calling Global functions dynamically fails from Class scope)
+--FILE--
+<?php
+
+       function testfunc ($var) {
+               echo "testfunc $var\n";
+       }
+       
+       class foo {
+               var $arr = array('testfunc');
+               function bar () {
+                       $this->arr[0]('testvalue');
+               }
+       }
+       
+       $a = new foo ();
+       $a->bar ();
+       
+?>
+--EXPECT--
+testfunc testvalue

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to