3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach( array_reverse( range(0, 10) ) as $integer ) { echo date( 'c', time()*( rand() * $integer + 1 ) ) . "\n"; sleep(1); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 26
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 26
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/osOgn
function name:  (null)
number of ops:  28
compiled vars:  !0 = $integer
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'array_reverse'
          1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 10
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        DO_ICALL                                         $2      
          7      > FE_RESET_R                                       $3      $2, ->26
          8    > > FE_FETCH_R                                               $3, !0, ->26
    4     9    >   INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'c'
         11        INIT_FCALL                                               'time'
         12        DO_ICALL                                         $4      
         13        INIT_FCALL                                               'rand'
         14        DO_ICALL                                         $5      
         15        MUL                                              ~6      !0, $5
         16        ADD                                              ~7      ~6, 1
         17        MUL                                              ~8      $4, ~7
         18        SEND_VAL                                                 ~8
         19        DO_ICALL                                         $9      
         20        CONCAT                                           ~10     $9, '%0A'
         21        ECHO                                                     ~10
    5    22        INIT_FCALL                                               'sleep'
         23        SEND_VAL                                                 1
         24        DO_ICALL                                                 
    3    25      > JMP                                                      ->8
         26    >   FE_FREE                                                  $3
    6    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.55 ms | 1395 KiB | 25 Q