3v4l.org

run code in 300+ PHP versions simultaneously
<?php highlight_string('<?php echo \'test\'; foreach ($foo as $bar) { if ($bar === true) { echo \'true\'; } } ');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JkgVg
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'highlight_string'
          1        SEND_VAL                                                 '%3C%3Fphp%0A%09echo+%27test%27%3B%0Aforeach+%28%24foo+as+%24bar%29+%7B%0Aif+%28%24bar+%3D%3D%3D+true%29+%7B%0Aecho+%27true%27%3B%0A%7D%0A%7D%0A'
          2        DO_ICALL                                                 
   10     3      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.09 ms | 1393 KiB | 15 Q