Class 'SeasClick' not found
wolandtel opened this issue · comments
For such code:
13 var_dump(extension_loaded('SeasClick'));
14
15 var_dump(get_extension_funcs('SeasClick'));
16
17 var_dump(class_exists('SeasClick'));
18
19 file_put_contents('debug', join("\n", get_declared_classes()));
20
21 var_dump(SeasClick_version());
22
23 $re = new ReflectionExtension('SeasClick');
24 var_dump($re->getClasses());
25
26 $sc = new SeasClick;
I get this result:
bool(true)
/home/mkotelnikov/tmp/t.php:15:
array(1) {
[0] =>
string(17) "SeasClick_version"
}
/home/mkotelnikov/tmp/t.php:17:
bool(false)
/home/mkotelnikov/tmp/t.php:21:
string(5) "0.1.0"
/home/mkotelnikov/tmp/t.php:24:
array(1) {
'SeasClick' =>
class ReflectionClass#2 (1) {
public $name =>
string(9) "SeasClick"
}
}
PHP Fatal error: Uncaught Error: Class 'SeasClick' not found in /home/mkotelnikov/tmp/t.php:26
Stack trace:
#0 {main}
thrown in /home/mkotelnikov/tmp/t.php on line 26
PHP version:
PHP 7.4.4 (cli) (built: Mar 20 2020 14:30:40) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.4, Copyright (c), by Zend Technologies
with Xdebug v2.9.2, Copyright (c) 2002-2020, by Derick Rethans
SeasClick git commit: 2c89fab