3v4l.org

run code in 300+ PHP versions simultaneously
<?php $maxdays = 1; for($daynumber=0;$daynumber<$maxdays;$daynumber++){ $currentdayval = "+".(string)($daynumber-$maxdays)." days"; $minutes=0; for($quarter=0;$quarter<24*4;$quarter++){ $minutes += $quarter*15; $currentminutesval = $minutes." minutes"; $date_sql = date("Y-m-d H:i:s",strtotime($currentdayval." + ".$currentminutesval)); //current date echo $date_sql. "\n"; }//for $quarter }//for $daynr
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 3
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 11
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 3
Branch analysis from position: 33
Branch analysis from position: 3
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 11
Branch analysis from position: 30
Branch analysis from position: 11
filename:       /in/DCrJF
function name:  (null)
number of ops:  34
compiled vars:  !0 = $maxdays, !1 = $daynumber, !2 = $currentdayval, !3 = $minutes, !4 = $quarter, !5 = $currentminutesval, !6 = $date_sql
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
    4     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->31
    5     3    >   SUB                                              ~9      !1, !0
          4        CAST                                          6  ~10     ~9
          5        CONCAT                                           ~11     '%2B', ~10
          6        CONCAT                                           ~12     ~11, '+days'
          7        ASSIGN                                                   !2, ~12
    6     8        ASSIGN                                                   !3, 0
    7     9        ASSIGN                                                   !4, 0
         10      > JMP                                                      ->28
    8    11    >   MUL                                              ~16     !4, 15
         12        ASSIGN_OP                                     1          !3, ~16
    9    13        CONCAT                                           ~18     !3, '+minutes'
         14        ASSIGN                                                   !5, ~18
   10    15        INIT_FCALL                                               'date'
         16        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         17        INIT_FCALL                                               'strtotime'
         18        CONCAT                                           ~20     !2, '+%2B+'
         19        CONCAT                                           ~21     ~20, !5
         20        SEND_VAL                                                 ~21
         21        DO_ICALL                                         $22     
         22        SEND_VAR                                                 $22
         23        DO_ICALL                                         $23     
         24        ASSIGN                                                   !6, $23
   11    25        CONCAT                                           ~25     !6, '%0A'
         26        ECHO                                                     ~25
    7    27        PRE_INC                                                  !4
         28    >   IS_SMALLER                                               !4, 96
         29      > JMPNZ                                                    ~27, ->11
    4    30    >   PRE_INC                                                  !1
         31    >   IS_SMALLER                                               !1, !0
         32      > JMPNZ                                                    ~29, ->3
   14    33    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.31 ms | 1396 KiB | 17 Q