3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.98 ms | 1394 KiB | 19 Q