3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i=702; $e = '0'; $i = 2; do { $e = bcpow(2,++$i); } while ($e < '27182818284590452353602874713526624977572470936999595749669676277240766303535475945713821785251664274'); echo $i."\n"; echo $e;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 3
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
filename:       /in/NXXfd
function name:  (null)
number of ops:  15
compiled vars:  !0 = $i, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 702
    5     1        ASSIGN                                                   !1, '0'
    6     2        ASSIGN                                                   !0, 2
    8     3    >   INIT_FCALL_BY_NAME                                       'bcpow'
          4        SEND_VAL_EX                                              2
          5        PRE_INC                                          ~5      !0
          6        SEND_VAL_EX                                              ~5
          7        DO_FCALL                                      0  $6      
          8        ASSIGN                                                   !1, $6
    9     9        IS_SMALLER                                               !1, '27182818284590452353602874713526624977572470936999595749669676277240766303535475945713821785251664274'
         10      > JMPNZ                                                    ~8, ->3
   10    11    >   CONCAT                                           ~9      !0, '%0A'
         12        ECHO                                                     ~9
   11    13        ECHO                                                     !1
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.63 ms | 938 KiB | 14 Q