3v4l.org

run code in 300+ PHP versions simultaneously
<?php function PHPMailerAutoload($classname) { //Can't use __DIR__ as it's only in PHP 5.3+ $filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php'; if (is_readable($filename)) { require $filename; } } spl_autoload_register('PHPMailerAutoload');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dga6G
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'spl_autoload_register'
          1        SEND_VAL                                                 'PHPMailerAutoload'
          2        DO_ICALL                                                 
          3      > RETURN                                                   1

Function phpmailerautoload:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 17
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/dga6G
function name:  PHPMailerAutoload
number of ops:  18
compiled vars:  !0 = $classname, !1 = $filename
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'dirname'
          2        SEND_VAL                                                 '%2Fin%2Fdga6G'
          3        DO_ICALL                                         $2      
          4        CONCAT                                           ~3      $2, '%2F'
          5        CONCAT                                           ~4      ~3, 'class.'
          6        INIT_FCALL                                               'strtolower'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $5      
          9        CONCAT                                           ~6      ~4, $5
         10        CONCAT                                           ~7      ~6, '.php'
         11        ASSIGN                                                   !1, ~7
    6    12        INIT_FCALL                                               'is_readable'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $9      
         15      > JMPZ                                                     $9, ->17
    7    16    >   INCLUDE_OR_EVAL                                          !1, REQUIRE
    9    17    > > RETURN                                                   null

End of function phpmailerautoload

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.55 ms | 1395 KiB | 21 Q