Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/Zend/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/Zend/tests/method_argument_binding.phpt |
--TEST-- Edge cases in compile-time method argument binding --FILE-- <?php class A { private function method($x) {} } class B extends A { public function test() { $x = 1; $this->method($x); var_dump($x); } } class C extends B { public function method(&$x) { ++$x; } } (new C)->test(); class D { private final function method(&$x) { ++$x; } } class E extends D { public function __call($name, $args) { } public function test() { $this->method($x); } } (new E)->test(); ?> --EXPECTF-- int(2) Notice: Undefined variable: x in %s on line %d
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare