3v4l.org

run code in 300+ PHP versions simultaneously
<?php $color("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(2) . " carpet, the " . color(1) . "lawn, the " . color(0) . " 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/3S12l
function name:  (null)
number of ops:  24
compiled vars:  !0 = $color
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_DYNAMIC_CALL                                        !0
          1        SEND_VAL_EX                                              'white'
          2        SEND_VAL_EX                                              'green'
          3        SEND_VAL_EX                                              'red'
          4        SEND_VAL_EX                                              'blue'
          5        SEND_VAL_EX                                              'black'
          6        DO_FCALL                                      0          
    4     7        INIT_FCALL_BY_NAME                                       'color'
          8        SEND_VAL_EX                                              2
          9        DO_FCALL                                      0  $2      
         10        CONCAT                                           ~3      'The+memory+of+that+scene+for+me+is+like+a+frame+of+film+forever+frozen+at+that+moment%3A+the+', $2
         11        CONCAT                                           ~4      ~3, '+carpet%2C+the+'
         12        INIT_FCALL_BY_NAME                                       'color'
         13        SEND_VAL_EX                                              1
         14        DO_FCALL                                      0  $5      
         15        CONCAT                                           ~6      ~4, $5
         16        CONCAT                                           ~7      ~6, 'lawn%2C+the+'
         17        INIT_FCALL_BY_NAME                                       'color'
         18        SEND_VAL_EX                                              0
         19        DO_FCALL                                      0  $8      
         20        CONCAT                                           ~9      ~7, $8
         21        CONCAT                                           ~10     ~9, '+house%2C+the+leaden+sky.+%0AThe+new+president+and+his+first+lady.+-+Richard+M.+Nixon'
         22        ECHO                                                     ~10
    5    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.91 ms | 1393 KiB | 13 Q