3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0;$i<500;++$i) { $date = new DateTime('2000-01-01'); $array = (array)$date; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
Branch analysis from position: 2
filename:       /in/eLlId
function name:  (null)
number of ops:  12
compiled vars:  !0 = $i, !1 = $date, !2 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->9
    5     2    >   NEW                                              $4      'DateTime'
          3        SEND_VAL_EX                                              '2000-01-01'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $4
    6     6        CAST                                          7  ~7      !1
          7        ASSIGN                                                   !2, ~7
    3     8        PRE_INC                                                  !0
          9    >   IS_SMALLER                                               !0, 500
         10      > JMPNZ                                                    ~10, ->2
    7    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.68 ms | 1393 KiB | 13 Q