3v4l.org

run code in 300+ PHP versions simultaneously
<?php $color = array('white', 'green', 'red', 'blue', 'black'); ?> <html> <head></head> <body> <script>"The memory of that scene for me is like a frame of film forever frozen at that moment: the "+$color[0]+" carpet, the "+$color[0]+" lawn, the "+$color[0]+", the leaden sky. The new president and his first lady. - Richard M. Nixon" </script> </body>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QtOIr
function name:  (null)
number of ops:  3
compiled vars:  !0 = $color
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        ECHO                                                     '%0A%0A%3Chtml%3E%0A%0A%3Chead%3E%3C%2Fhead%3E%0A%0A%3Cbody%3E%0A%0A%3Cscript%3E%22The+memory+of+that+scene+for+me+is+like+a+frame+of+film+forever+frozen+at+that+moment%3A+the+%22%2B%24color%5B0%5D%2B%22+carpet%2C+the+%22%2B%24color%5B0%5D%2B%22+lawn%2C+the+%22%2B%24color%5B0%5D%2B%22%2C+the+leaden+sky.+The+new+president+and+his+first+lady.+-+Richard+M.+Nixon%22+%0A%3C%2Fscript%3E%0A%3C%2Fbody%3E'
   14     2      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.99 ms | 1392 KiB | 13 Q