3v4l.org

run code in 300+ PHP versions simultaneously
<?php $m=1000000000; $t=''; for ($i=0;$i<$m;$i++) { $n++; } echo base_convert($n, 10, 16). ' ' ; echo sizeof($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 4
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 4
Branch analysis from position: 8
Branch analysis from position: 4
filename:       /in/8Ofrd
function name:  (null)
number of ops:  18
compiled vars:  !0 = $m, !1 = $t, !2 = $i, !3 = $n, !4 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1000000000
    4     1        ASSIGN                                                   !1, ''
    6     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->6
    7     4    >   PRE_INC                                                  !3
    6     5        PRE_INC                                                  !2
          6    >   IS_SMALLER                                               !2, !0
          7      > JMPNZ                                                    ~10, ->4
    9     8    >   INIT_FCALL                                               'base_convert'
          9        SEND_VAR                                                 !3
         10        SEND_VAL                                                 10
         11        SEND_VAL                                                 16
         12        DO_ICALL                                         $11     
         13        CONCAT                                           ~12     $11, '+++'
         14        ECHO                                                     ~12
   10    15        COUNT                                            ~13     !4
         16        ECHO                                                     ~13
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.54 ms | 1395 KiB | 15 Q