3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cars=array(array("bmw",20,10,20),array("benz",30,10,0),array("gator",20,40,9),array("ferrari",15,60,18)); for ($row = 0; $row < 4; $row++) { for ($col = 0; $col < 4; $col++) { echo $cars[$row][$col]; } } echo "\n"; $d=strtotime("10:30pm April 15 2014"); echo "Created date is " . date("Y-m-d h:i:sa", $d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
Branch analysis from position: 3
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
Branch analysis from position: 5
filename:       /in/RhcMR
function name:  (null)
number of ops:  26
compiled vars:  !0 = $cars, !1 = $row, !2 = $col, !3 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->12
    6     3    >   ASSIGN                                                   !2, 0
          4      > JMP                                                      ->9
    7     5    >   FETCH_DIM_R                                      ~7      !0, !1
          6        FETCH_DIM_R                                      ~8      ~7, !2
          7        ECHO                                                     ~8
    6     8        PRE_INC                                                  !2
          9    >   IS_SMALLER                                               !2, 4
         10      > JMPNZ                                                    ~10, ->5
    5    11    >   PRE_INC                                                  !1
         12    >   IS_SMALLER                                               !1, 4
         13      > JMPNZ                                                    ~12, ->3
   11    14    >   ECHO                                                     '%0A'
   12    15        INIT_FCALL                                               'strtotime'
         16        SEND_VAL                                                 '10%3A30pm+April+15+2014'
         17        DO_ICALL                                         $13     
         18        ASSIGN                                                   !3, $13
   13    19        INIT_FCALL                                               'date'
         20        SEND_VAL                                                 'Y-m-d+h%3Ai%3Asa'
         21        SEND_VAR                                                 !3
         22        DO_ICALL                                         $15     
         23        CONCAT                                           ~16     'Created+date+is+', $15
         24        ECHO                                                     ~16
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.27 ms | 1396 KiB | 17 Q