3v4l.org

run code in 500+ 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:  9
compiled vars:  !0 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    8     1        INIT_FCALL                                                   'var_export'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     <true>
          4        DO_ICALL                                             $2      
    5     5        FRAMELESS_ICALL_3                preg_replace        ~3      <array>, <array>
    8     6        OP_DATA                                                      $2
          7        ECHO                                                         ~3
    9     8      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.4 ms | 1754 KiB | 14 Q