3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = microtime(1); $i = 0; while (true) { if ( ++$i>10000 ) break; is_callable('strlen', true); } var_dump(microtime(1) - $s);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 6
Branch analysis from position: 15
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 = 15
Branch analysis from position: 15
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 6
Branch analysis from position: 15
Branch analysis from position: 6
filename:       /in/v6Ehk
function name:  (null)
number of ops:  23
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                                                      ->14
    8     6    >   PRE_INC                                          ~5      !1
          7        IS_SMALLER                                               10000, ~5
          8      > JMPZ                                                     ~6, ->10
    9     9    > > JMP                                                      ->15
   11    10    >   INIT_FCALL                                               'is_callable'
         11        SEND_VAL                                                 'strlen'
         12        SEND_VAL                                                 <true>
         13        DO_ICALL                                                 
    6    14    > > JMPNZ                                                    <true>, ->6
   15    15    >   INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'microtime'
         17        SEND_VAL                                                 1
         18        DO_ICALL                                         $8      
         19        SUB                                              ~9      $8, !0
         20        SEND_VAL                                                 ~9
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.9 ms | 1400 KiB | 19 Q