3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'O:3:"Foo":1:{s:6:"' . "\0" . 'Foo' . "\0" . 'a";i:17;}'; var_export(deserialize($str));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hWkIH
function name:  (null)
number of ops:  8
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'O%3A3%3A%22Foo%22%3A1%3A%7Bs%3A6%3A%22%00Foo%00a%22%3Bi%3A17%3B%7D'
    5     1        INIT_FCALL                                               'var_export'
          2        INIT_FCALL_BY_NAME                                       'deserialize'
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0  $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.53 ms | 1394 KiB | 15 Q