3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bad_function = "echo"; $good_function = "printf"; $good_function('omg'); $bad_function('omg');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Dsdns
function name:  (null)
number of ops:  9
compiled vars:  !0 = $bad_function, !1 = $good_function
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'echo'
    4     1        ASSIGN                                                   !1, 'printf'
    6     2        INIT_DYNAMIC_CALL                                        !1
          3        SEND_VAL_EX                                              'omg'
          4        DO_FCALL                                      0          
    7     5        INIT_DYNAMIC_CALL                                        !0
          6        SEND_VAL_EX                                              'omg'
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.37 ms | 1392 KiB | 13 Q