xref: /PHP-8.4/Zend/tests/method_exists.phpt (revision f838f8e3)
1--TEST--
2method_exists() segfaults
3--FILE--
4<?php
5class testclass { function testfunc() { } }
6var_dump(method_exists('testclass','testfunc'));
7var_dump(method_exists('testclass','nonfunc'));
8?>
9--EXPECT--
10bool(true)
11bool(false)
12