3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = 'echo "OK";'; error_reporting(0); $a='f();function f(){'.$b.'}'; assert($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qTqbJ
function name:  (null)
number of ops:  13
compiled vars:  !0 = $b, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'echo+%22OK%22%3B'
    4     1        INIT_FCALL                                               'error_reporting'
          2        SEND_VAL                                                 0
          3        DO_ICALL                                                 
    5     4        CONCAT                                           ~4      'f%28%29%3Bfunction+f%28%29%7B', !0
          5        CONCAT                                           ~5      ~4, '%7D'
          6        ASSIGN                                                   !1, ~5
    6     7        ASSERT_CHECK                                             
          8        INIT_FCALL                                               'assert'
          9        SEND_VAR                                                 !1
         10        SEND_VAL                                                 'assert%28%24a%29'
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.03 ms | 1394 KiB | 17 Q