3v4l.org

run code in 300+ PHP versions simultaneously
<?php $serialized_fake_keys = 'a:3:{i:0;i:1;i:0;i:2;i:0;i:3;}'; $hell = unserialize($serialized_fake_keys); var_dump(count($hell), $hell);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Yga1M
function name:  (null)
number of ops:  11
compiled vars:  !0 = $serialized_fake_keys, !1 = $hell
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a%3A3%3A%7Bi%3A0%3Bi%3A1%3Bi%3A0%3Bi%3A2%3Bi%3A0%3Bi%3A3%3B%7D'
    3     1        INIT_FCALL                                               'unserialize'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    4     5        INIT_FCALL                                               'var_dump'
          6        COUNT                                            ~5      !1
          7        SEND_VAL                                                 ~5
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.26 ms | 1398 KiB | 17 Q