3v4l.org

run code in 300+ PHP versions simultaneously
<?php // List of places to eat $places = array("Italian restaurant", "Mexican restaurant", "Chinese restaurant", "Japanese restaurant", "Indian restaurant"); // Pick a random place $place = $places[array_rand($places)]; // Print the chosen place echo "Let's go to the $place!";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jf6nA
function name:  (null)
number of ops:  11
compiled vars:  !0 = $places, !1 = $place
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'array_rand'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        FETCH_DIM_R                                      ~4      !0, $3
          5        ASSIGN                                                   !1, ~4
   10     6        ROPE_INIT                                     3  ~7      'Let%27s+go+to+the+'
          7        ROPE_ADD                                      1  ~7      ~7, !1
          8        ROPE_END                                      2  ~6      ~7, '%21'
          9        ECHO                                                     ~6
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.9 ms | 1394 KiB | 15 Q