3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo <<<'EOT' My name is "$name". I am printing some $foo->foo. Now, I am printing some {$foo->bar[1]}. This should not print a capital 'A': \x41 EOT; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5AkAU
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     'My+name+is+%22%24name%22.+I+am+printing+some+%24foo-%3Efoo.%0ANow%2C+I+am+printing+some+%7B%24foo-%3Ebar%5B1%5D%7D.%0AThis+should+not+print+a+capital+%27A%27%3A+%5Cx41'
    7     1      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.63 ms | 1392 KiB | 13 Q