3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.61 ms | 1395 KiB | 15 Q