3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = microtime(1); $i = 0; while (true) { if ( ++$i>10000 ) break; is_callable('strlen'); } var_dump(microtime(1) - $s);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 6
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 6
Branch analysis from position: 14
Branch analysis from position: 6
filename:       /in/K1qCg
function name:  (null)
number of ops:  22
compiled vars:  !0 = $s, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 1
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        ASSIGN                                                   !1, 0
    6     5      > JMP                                                      ->13
    8     6    >   PRE_INC                                          ~5      !1
          7        IS_SMALLER                                               10000, ~5
          8      > JMPZ                                                     ~6, ->10
    9     9    > > JMP                                                      ->14
   11    10    >   INIT_FCALL                                               'is_callable'
         11        SEND_VAL                                                 'strlen'
         12        DO_ICALL                                                 
    6    13    > > JMPNZ                                                    <true>, ->6
   15    14    >   INIT_FCALL                                               'var_dump'
         15        INIT_FCALL                                               'microtime'
         16        SEND_VAL                                                 1
         17        DO_ICALL                                         $8      
         18        SUB                                              ~9      $8, !0
         19        SEND_VAL                                                 ~9
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.77 ms | 1395 KiB | 19 Q