3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [10 => 11.22, 20 => 22.33, 30 => 33.44]; //$array = []; echo preg_replace( ['/^array \(\s+/', '/,?\R?\)$/', '/$\R /m'], ['[', ']', ' '], var_export($array, true) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tF5H1
function name:  (null)
number of ops:  12
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'preg_replace'
    6     2        SEND_VAL                                                 <array>
    7     3        SEND_VAL                                                 <array>
    8     4        INIT_FCALL                                               'var_export'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
    5     9        DO_ICALL                                         $3      
    8    10        ECHO                                                     $3
    9    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.15 ms | 997 KiB | 15 Q