3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $x = unserialize('O:1:"A":1:{s:4:"prop";s:9:"some test";}'); } catch (\Throwable $e) { echo "Skip"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 5
Branch analysis from position: 5
2 jumps found. (Code = 107) Position 1 = 6, Position 2 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cIG2O
function name:  (null)
number of ops:  8
compiled vars:  !0 = $x, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'unserialize'
          1        SEND_VAL                                                 'O%3A1%3A%22A%22%3A1%3A%7Bs%3A4%3A%22prop%22%3Bs%3A9%3A%22some+test%22%3B%7D'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
          4      > JMP                                                      ->7
    5     5  E > > CATCH                                       last         'Throwable'
    6     6    >   ECHO                                                     'Skip'
    7     7    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.1 ms | 1011 KiB | 14 Q