3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { new CachingIterator(new ArrayIterator([]), 3);} catch (Exception $e) { echo $e->getMessage();}
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: 9
Branch analysis from position: 9
2 jumps found. (Code = 107) Position 1 = 10, Position 2 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LXlAo
function name:  (null)
number of ops:  14
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $1      'CachingIterator'
          1        NEW                                              $2      'ArrayIterator'
          2        SEND_VAL_EX                                              <array>
          3        DO_FCALL                                      0          
          4        SEND_VAR_NO_REF_EX                                       $2
          5        SEND_VAL_EX                                              3
          6        DO_FCALL                                      0          
          7        FREE                                                     $1
          8      > JMP                                                      ->13
          9  E > > CATCH                                       last         'Exception'
         10    >   INIT_METHOD_CALL                                         !0, 'getMessage'
         11        DO_FCALL                                      0  $5      
         12        ECHO                                                     $5
         13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.13 ms | 1393 KiB | 13 Q