mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
23 lines
462 B
PHP
23 lines
462 B
PHP
--TEST--
|
|
Bug #54305 (Crash in gc_remove_zval_from_buffer)
|
|
--FILE--
|
|
<?php
|
|
class TestClass {
|
|
public function methodWithArgs($a, $b) {
|
|
}
|
|
}
|
|
abstract class AbstractClass {
|
|
}
|
|
$methodWithArgs = new ReflectionMethod('TestClass', 'methodWithArgs');
|
|
echo $methodWithArgs++;
|
|
?>
|
|
--EXPECTF--
|
|
Method [ <user> public method methodWithArgs ] {
|
|
@@ %sbug54305.php %d - %d
|
|
|
|
- Parameters [2] {
|
|
Parameter #0 [ <required> $a ]
|
|
Parameter #1 [ <required> $b ]
|
|
}
|
|
}
|