1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 19:52:20 +02:00
Files
archived-php-src/test.php
krakjoe e0cbd92fa4 break on class methods
don't dtor eval'd retval
more reliable break on methods
2013-11-12 00:27:48 +00:00

19 lines
189 B
PHP

<?php
class my {
public function method() {
return $this;
}
}
function test2() {
echo "Hello World 2\n";
}
$my = new my();
var_dump($my->method());
return true;
?>