3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "Hi, how's it going?\n"; $input = "I'm not saying anything about anything"; $param = "$input"; $function = 'strpos'; echo $function; $test = $function($input, 'anything'); var_dump($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UvEfa
function name:  (null)
number of ops:  15
compiled vars:  !0 = $input, !1 = $param, !2 = $function, !3 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     'Hi%2C+how%27s+it+going%3F%0A'
    5     1        ASSIGN                                                   !0, 'I%27m+not+saying+anything+about+anything'
    6     2        CAST                                          6  ~5      !0
          3        ASSIGN                                                   !1, ~5
    7     4        ASSIGN                                                   !2, 'strpos'
    9     5        ECHO                                                     !2
   10     6        INIT_DYNAMIC_CALL                                        !2
          7        SEND_VAR_EX                                              !0
          8        SEND_VAL_EX                                              'anything'
          9        DO_FCALL                                      0  $8      
         10        ASSIGN                                                   !3, $8
   11    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.72 ms | 1398 KiB | 15 Q