3v4l.org

run code in 300+ PHP versions simultaneously
<?php $blah = array("foo" => "bar", "jus" => "bnu"); $x = serialize($blah); echo $x; $y = unserialize($x); foreach ($y as $key => $value) { echo $key . ' => ' . $value . '/n'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 18
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 18
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/LivQY
function name:  (null)
number of ops:  20
compiled vars:  !0 = $blah, !1 = $x, !2 = $y, !3 = $value, !4 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'serialize'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !1, $6
    5     5        ECHO                                                     !1
    6     6        INIT_FCALL                                               'unserialize'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $8      
          9        ASSIGN                                                   !2, $8
    7    10      > FE_RESET_R                                       $10     !2, ->18
         11    > > FE_FETCH_R                                       ~11     $10, !3, ->18
         12    >   ASSIGN                                                   !4, ~11
    8    13        CONCAT                                           ~13     !4, '+%3D%3E+'
         14        CONCAT                                           ~14     ~13, !3
         15        CONCAT                                           ~15     ~14, '%2Fn'
         16        ECHO                                                     ~15
    7    17      > JMP                                                      ->11
         18    >   FE_FREE                                                  $10
    9    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.01 ms | 1395 KiB | 17 Q