3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array( "abc"=>123, "dog"=>array(1,2,3,) ); print_r($x); echo "--"; var_dump($x); echo "--"; $r = var_export($var, true); echo $r;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Srnk5
function name:  (null)
number of ops:  16
compiled vars:  !0 = $x, !1 = $r, !2 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    8     4        ECHO                                                     '--'
    9     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
   10     8        ECHO                                                     '--'
   11     9        INIT_FCALL                                               'var_export'
         10        SEND_VAR                                                 !2
         11        SEND_VAL                                                 <true>
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !1, $6
   12    14        ECHO                                                     !1
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.81 ms | 1385 KiB | 19 Q