3v4l.org

run code in 300+ PHP versions simultaneously
<?php $color = array('white', 'green', 'red', 'blue', 'black'); echo "The memory of that scene for me is like a frame of film forever frozen at that moment: the ". $color(3)." carpet, the".$color(2)."lawn, the".$color(1)." house, the leaden sky. The new president and his first lady. - Richard M. Nixon";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4WjM4
function name:  (null)
number of ops:  18
compiled vars:  !0 = $color
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_DYNAMIC_CALL                                        !0
          2        SEND_VAL_EX                                              3
          3        DO_FCALL                                      0  $2      
          4        CONCAT                                           ~3      'The+memory+of+that+scene+for+me+is+like+a+frame+of+film+forever+frozen+at+that+moment%3A+the+', $2
          5        CONCAT                                           ~4      ~3, '+carpet%2C+the'
          6        INIT_DYNAMIC_CALL                                        !0
          7        SEND_VAL_EX                                              2
          8        DO_FCALL                                      0  $5      
          9        CONCAT                                           ~6      ~4, $5
         10        CONCAT                                           ~7      ~6, 'lawn%2C+the'
         11        INIT_DYNAMIC_CALL                                        !0
         12        SEND_VAL_EX                                              1
         13        DO_FCALL                                      0  $8      
         14        CONCAT                                           ~9      ~7, $8
         15        CONCAT                                           ~10     ~9, '+house%2C+the+leaden+sky.+The+new+president+and+his+first+lady.+-+Richard+M.+Nixon'
         16        ECHO                                                     ~10
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.66 ms | 1393 KiB | 13 Q