3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.92 ms | 1395 KiB | 19 Q