3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.76 ms | 1394 KiB | 17 Q