3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'a:2:{i:0;i:5;i:1;i:4;i:2;i:7;}'; var_dump(unserialize($str)); echo '<br />'; var_dump(@unserialize($str));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Fa6Bs
function name:  (null)
number of ops:  17
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a%3A2%3A%7Bi%3A0%3Bi%3A5%3Bi%3A1%3Bi%3A4%3Bi%3A2%3Bi%3A7%3B%7D'
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'unserialize'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
    5     7        ECHO                                                     '%3Cbr+%2F%3E'
    6     8        INIT_FCALL                                               'var_dump'
          9        BEGIN_SILENCE                                    ~4      
         10        INIT_FCALL                                               'unserialize'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $5      
         13        END_SILENCE                                              ~4
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.67 ms | 1394 KiB | 17 Q