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/inXuE
function name:  (null)
number of ops:  19
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        BEGIN_SILENCE                                    ~2      
          3        INIT_FCALL                                               'unserialize'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        END_SILENCE                                              ~2
          7        SEND_VAR                                                 $3
          8        DO_ICALL                                                 
    5     9        ECHO                                                     '%3Cbr+%2F%3E'
    6    10        INIT_FCALL                                               'var_dump'
         11        BEGIN_SILENCE                                    ~5      
         12        INIT_FCALL                                               'unserialize'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $6      
         15        END_SILENCE                                              ~5
         16        SEND_VAR                                                 $6
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.9 ms | 1394 KiB | 17 Q