3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = date("Y/m/d"); $date = DateTime::createFromFormat("l dS F Y", $in); echo $i."<br>"; for ($y=1; $norooms>=$y; $y++) { echo "Day difference=".$len." No of rooms=".$norooms."<br>"; $date = $date->format('d/m/Y'); $sql="INSERT INTO singlerooms (Date,Ref_Date)VALUES ($date,$today)"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 13
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 13
Branch analysis from position: 31
Branch analysis from position: 13
filename:       /in/8MdRF
function name:  (null)
number of ops:  32
compiled vars:  !0 = $today, !1 = $date, !2 = $in, !3 = $i, !4 = $y, !5 = $len, !6 = $norooms, !7 = $sql
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y%2Fm%2Fd'
          2        DO_ICALL                                         $8      
          3        ASSIGN                                                   !0, $8
    4     4        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          5        SEND_VAL                                                 'l+dS+F+Y'
          6        SEND_VAR                                                 !2
          7        DO_FCALL                                      0  $10     
          8        ASSIGN                                                   !1, $10
    6     9        CONCAT                                           ~12     !3, '%3Cbr%3E'
         10        ECHO                                                     ~12
    7    11        ASSIGN                                                   !4, 1
         12      > JMP                                                      ->29
    9    13    >   CONCAT                                           ~14     'Day+difference%3D', !5
         14        CONCAT                                           ~15     ~14, '+No+of+rooms%3D'
         15        CONCAT                                           ~16     ~15, !6
         16        CONCAT                                           ~17     ~16, '%3Cbr%3E'
         17        ECHO                                                     ~17
   10    18        INIT_METHOD_CALL                                         !1, 'format'
         19        SEND_VAL_EX                                              'd%2Fm%2FY'
         20        DO_FCALL                                      0  $18     
         21        ASSIGN                                                   !1, $18
   11    22        ROPE_INIT                                     5  ~21     'INSERT+INTO+singlerooms+%28Date%2CRef_Date%29VALUES+%28'
         23        ROPE_ADD                                      1  ~21     ~21, !1
         24        ROPE_ADD                                      2  ~21     ~21, '%2C'
         25        ROPE_ADD                                      3  ~21     ~21, !0
         26        ROPE_END                                      4  ~20     ~21, '%29'
         27        ASSIGN                                                   !7, ~20
    7    28        PRE_INC                                                  !4
         29    >   IS_SMALLER_OR_EQUAL                                      !4, !6
         30      > JMPNZ                                                    ~26, ->13
   12    31    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.15 ms | 1396 KiB | 15 Q