3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testArray = array("monday", "December", "February 2014", "now"); $unixArray = array(); echo "ci sono \d valori", count($testArray); 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 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 9
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 23
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 23
Branch analysis from position: 37
Branch analysis from position: 23
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 9
Branch analysis from position: 19
Branch analysis from position: 9
filename:       /in/Q1K9F
function name:  (null)
number of ops:  38
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+%5Cd+valori'
          3        COUNT                                            ~8      !0
          4        ECHO                                                     ~8
    5     5        ASSIGN                                                   !2, 0
          6        COUNT                                            ~10     !0
          7        ASSIGN                                                   !3, ~10
          8      > JMP                                                      ->17
    6     9    >   FETCH_DIM_R                                      ~12     !0, !2
         10        ASSIGN                                                   !4, ~12
    7    11        INIT_FCALL                                               'strtotime'
         12        SEND_VAR                                                 !4
         13        DO_ICALL                                         $15     
         14        ASSIGN_DIM                                               !1, !2
         15        OP_DATA                                                  $15
    5    16        PRE_INC                                                  !2
         17    >   IS_SMALLER                                               !2, !3
         18      > JMPNZ                                                    ~17, ->9
    9    19    >   ASSIGN                                                   !2, 0
         20        COUNT                                            ~19     !1
         21        ASSIGN                                                   !3, ~19
         22      > JMP                                                      ->35
   10    23    >   FETCH_DIM_R                                      ~21     !1, !2
         24        ASSIGN                                                   !5, ~21
   11    25        ECHO                                                     !4
         26        ECHO                                                     '%0A'
   13    27        INIT_FCALL                                               'date'
         28        SEND_VAL                                                 'l+H%5C%3AiO'
         29        SEND_VAR                                                 !5
         30        DO_ICALL                                         $23     
         31        ECHO                                                     $23
         32        ECHO                                                     '%0A'
   15    33        ECHO                                                     '%0A'
    9    34        PRE_INC                                                  !2
         35    >   IS_SMALLER                                               !2, !3
         36      > JMPNZ                                                    ~25, ->23
   16    37    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.49 ms | 1400 KiB | 17 Q