3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c[0]=1/3; $c[1]="abc"; $c[2] = array("abc","def"); $c[1/3] = "ddd"; echo serialize($c); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XcD5q
function name:  (null)
number of ops:  13
compiled vars:  !0 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 0
          1        OP_DATA                                                  0.333333
    3     2        ASSIGN_DIM                                               !0, 1
          3        OP_DATA                                                  'abc'
    4     4        ASSIGN_DIM                                               !0, 2
          5        OP_DATA                                                  <array>
    5     6        ASSIGN_DIM                                               !0, 0.333333
          7        OP_DATA                                                  'ddd'
    6     8        INIT_FCALL                                               'serialize'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        ECHO                                                     $5
    7    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.02 ms | 1394 KiB | 15 Q