- Output for 8.0.10, 8.1.23 - 8.1.32, 8.2.10 - 8.2.28, 8.3.0 - 8.3.4, 8.3.6 - 8.3.19, 8.4.1 - 8.4.5
- ===[get_class()]=== UserDefinedClass Object Class: UserDefinedClass DynamicObject Object Class: myStdClass myStdClass Object Class: myStdClass ===[gettype()]=== UserDefinedClass Object Type: object DynamicObject Object Type: object myStdClass Object Type: object ===[is_a(stdClass::class)]=== UserDefinedClass Object Type: DynamicObject Object Type: myStdClass Object Type: ===[instanceof stdClass]=== UserDefinedClass Object Type: DynamicObject Object Type: myStdClass Object Type: ===[is_a(DynamicObject::class)]=== UserDefinedClass Object Type: DynamicObject Object Type: 1 myStdClass Object Type: 1 ===[instanceof DynamicObject]=== UserDefinedClass Object Type: DynamicObject Object Type: 1 myStdClass Object Type: 1 ===[is_subclass_of(stdClass::class)]=== UserDefinedClass Object Type: DynamicObject Object Type: myStdClass Object Type:
- Output for 8.3.5
- Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 ===[get_class()]=== UserDefinedClass Object Class: UserDefinedClass DynamicObject Object Class: myStdClass myStdClass Object Class: myStdClass ===[gettype()]=== UserDefinedClass Object Type: object DynamicObject Object Type: object myStdClass Object Type: object ===[is_a(stdClass::class)]=== UserDefinedClass Object Type: DynamicObject Object Type: myStdClass Object Type: ===[instanceof stdClass]=== UserDefinedClass Object Type: DynamicObject Object Type: myStdClass Object Type: ===[is_a(DynamicObject::class)]=== UserDefinedClass Object Type: DynamicObject Object Type: 1 myStdClass Object Type: 1 ===[instanceof DynamicObject]=== UserDefinedClass Object Type: DynamicObject Object Type: 1 myStdClass Object Type: 1 ===[is_subclass_of(stdClass::class)]=== UserDefinedClass Object Type: DynamicObject Object Type: myStdClass Object Type: