overloaded_func_002.phpt 239 B

12345678910111213
  1. --TEST--
  2. Overloaded function 002
  3. --SKIPIF--
  4. <?php
  5. if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
  6. ?>
  7. --FILE--
  8. <?php
  9. $a = new _ZendTestClass();
  10. var_dump($a->{trim(" test")}());
  11. ?>
  12. --EXPECT--
  13. string(4) "test"