- var_dump: documentation ( source)
- function_exists: documentation ( source)
- define: documentation ( source)
- method_exists: documentation ( source)
<?php
$b = (function_exists('define'));
if ($b) {
define('A', 100);
$f = 'define';
$f('B', $f);
class A {
}
}
var_dump(method_exists('A', '__constructor'));