3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_register(function ($nombre) { echo "Intentando cargar $nombre.\n"; throw new Exception("Imposible cargar $nombre."); }); try { $obj = new ClaseNoCargable(); } catch (Exception $e) { echo $e->getMessage(), "\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 8
Branch analysis from position: 8
2 jumps found. (Code = 107) Position 1 = 9, Position 2 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KNAQo
function name:  (null)
number of ops:  14
compiled vars:  !0 = $obj, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'spl_autoload_register'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FKNAQo%3A3%240'
    6     2        SEND_VAL                                                 ~2
          3        DO_ICALL                                                 
    9     4        NEW                                              $4      'ClaseNoCargable'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !0, $4
          7      > JMP                                                      ->13
   10     8  E > > CATCH                                       last         'Exception'
   11     9    >   INIT_METHOD_CALL                                         !1, 'getMessage'
         10        DO_FCALL                                      0  $7      
         11        ECHO                                                     $7
         12        ECHO                                                     '%0A'
   12    13    > > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FKNAQo%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/KNAQo
function name:  {closure}
number of ops:  13
compiled vars:  !0 = $nombre
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        ROPE_INIT                                     3  ~2      'Intentando+cargar+'
          2        ROPE_ADD                                      1  ~2      ~2, !0
          3        ROPE_END                                      2  ~1      ~2, '.%0A'
          4        ECHO                                                     ~1
    5     5        NEW                                              $4      'Exception'
          6        ROPE_INIT                                     3  ~6      'Imposible+cargar+'
          7        ROPE_ADD                                      1  ~6      ~6, !0
          8        ROPE_END                                      2  ~5      ~6, '.'
          9        SEND_VAL_EX                                              ~5
         10        DO_FCALL                                      0          
         11      > THROW                                         0          $4
    6    12*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FKNAQo%3A3%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.12 ms | 1396 KiB | 15 Q