3v4l.org

run code in 500+ PHP versions simultaneously
<?php $input = [ '0' => 'foo', '0101' => 'foo', '0xA0' => 'foo', '0A' => 'foo', '10' => 'foo', '866' => 'foo', 'foo' => 'foo', ]; var_export($input); echo PHP_EOL; var_dump(unserialize(serialize($input)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1RsHW
function name:  (null)
number of ops:  15
compiled vars:  !0 = $input
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   12     1        INIT_FCALL                                                   'var_export'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                                     
   13     4        ECHO                                                         '%0A'
   14     5        INIT_FCALL                                                   'var_dump'
          6        INIT_FCALL                                                   'unserialize'
          7        INIT_FCALL                                                   'serialize'
          8        SEND_VAR                                                     !0
          9        DO_ICALL                                             $3      
         10        SEND_VAR                                                     $3
         11        DO_ICALL                                             $4      
         12        SEND_VAR                                                     $4
         13        DO_ICALL                                                     
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
154.06 ms | 1491 KiB | 12 Q