3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Upload; class FileFactory { static public function autoload($name) { print '[['. $name .']]'; } } spl_autoload_register(__NAMESPACE__ .'\Foo::autoload'); // As of PHP 5.3.0 new InexistentClass;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PAPS1
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_NS_FCALL_BY_NAME                                    'Upload%5Cspl_autoload_register'
          1        SEND_VAL_EX                                              'Upload%5CFoo%3A%3Aautoload'
          2        DO_FCALL                                      0          
   13     3        NEW                                              $1      'Upload%5CInexistentClass'
          4        DO_FCALL                                      0          
          5        FREE                                                     $1
          6      > RETURN                                                   1

Class Upload\FileFactory:
Function autoload:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PAPS1
function name:  autoload
number of ops:  5
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    7     1        CONCAT                                           ~1      '%5B%5B', !0
          2        CONCAT                                           ~2      ~1, '%5D%5D'
          3        ECHO                                                     ~2
    8     4      > RETURN                                                   null

End of function autoload

End of class Upload\FileFactory.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.49 ms | 1386 KiB | 15 Q