3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testArray = array("monday", "December", "February 2014", "now"); $unixArray = array(); echo "ci sono", count($testArray); echo " valori \n" ; for($i = 0, $size = count($testArray); $i < $size; ++$i) { $testDate = $testArray[$i]; $unixArray[$i] = strtotime($testDate); } for($i = 0, $size = count($unixArray); $i < $size; ++$i) { $unixDate = $unixArray[$i]; echo $testDate, "\n"; // echo $unixDate, "\n"; echo date('l H\:iO',$unixDate), "\n"; // echo date('r',$unixDate), "\n"; echo "\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 10
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 36
Branch analysis from position: 36
2 jumps found. (Code = 44) Position 1 = 38, Position 2 = 24
Branch analysis from position: 38
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 38, Position 2 = 24
Branch analysis from position: 38
Branch analysis from position: 24
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 10
Branch analysis from position: 20
Branch analysis from position: 10
filename:       /in/NUjOC
function name:  (null)
number of ops:  39
compiled vars:  !0 = $testArray, !1 = $unixArray, !2 = $i, !3 = $size, !4 = $testDate, !5 = $unixDate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ECHO                                                     'ci+sono'
          3        COUNT                                            ~8      !0
          4        ECHO                                                     ~8
          5        ECHO                                                     '+valori+%0A'
    5     6        ASSIGN                                                   !2, 0
          7        COUNT                                            ~10     !0
          8        ASSIGN                                                   !3, ~10
          9      > JMP                                                      ->18
    6    10    >   FETCH_DIM_R                                      ~12     !0, !2
         11        ASSIGN                                                   !4, ~12
    7    12        INIT_FCALL                                               'strtotime'
         13        SEND_VAR                                                 !4
         14        DO_ICALL                                         $15     
         15        ASSIGN_DIM                                               !1, !2
         16        OP_DATA                                                  $15
    5    17        PRE_INC                                                  !2
         18    >   IS_SMALLER                                               !2, !3
         19      > JMPNZ                                                    ~17, ->10
    9    20    >   ASSIGN                                                   !2, 0
         21        COUNT                                            ~19     !1
         22        ASSIGN                                                   !3, ~19
         23      > JMP                                                      ->36
   10    24    >   FETCH_DIM_R                                      ~21     !1, !2
         25        ASSIGN                                                   !5, ~21
   11    26        ECHO                                                     !4
         27        ECHO                                                     '%0A'
   13    28        INIT_FCALL                                               'date'
         29        SEND_VAL                                                 'l+H%5C%3AiO'
         30        SEND_VAR                                                 !5
         31        DO_ICALL                                         $23     
         32        ECHO                                                     $23
         33        ECHO                                                     '%0A'
   15    34        ECHO                                                     '%0A'
    9    35        PRE_INC                                                  !2
         36    >   IS_SMALLER                                               !2, !3
         37      > JMPNZ                                                    ~25, ->24
   16    38    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.38 ms | 1400 KiB | 17 Q