mirror of
https://github.com/php/php-src.git
synced 2025-01-07 19:44:02 +08:00
23 lines
462 B
Plaintext
23 lines
462 B
Plaintext
|
--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 ]
|
||
|
}
|
||
|
}
|