3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(); $array[0] = array("blue", "red", "green", "brown"); // new syntax $array[0] = ["blue", "red", "green", "brown"]; echo "Correct answers: " . implode(" or ", $array[0]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/c3o2s
function name:  (null)
number of ops:  13
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN_DIM                                               !0, 0
          2        OP_DATA                                                  <array>
    7     3        ASSIGN_DIM                                               !0, 0
          4        OP_DATA                                                  <array>
    9     5        INIT_FCALL                                               'implode'
          6        SEND_VAL                                                 '+or+'
          7        FETCH_DIM_R                                      ~4      !0, 0
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                         $5      
         10        CONCAT                                           ~6      'Correct+answers%3A+', $5
         11        ECHO                                                     ~6
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.5 ms | 1394 KiB | 15 Q