3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = microtime(true); $null = null; foreach (range(1, 100000) as $f) { null === $null; } var_dump(microtime(true) - $start);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 14
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/JeSdk
function name:  (null)
number of ops:  23
compiled vars:  !0 = $start, !1 = $null, !2 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    5     4        ASSIGN                                                   !1, null
    7     5        INIT_FCALL                                               'range'
          6        SEND_VAL                                                 1
          7        SEND_VAL                                                 100000
          8        DO_ICALL                                         $6      
          9      > FE_RESET_R                                       $7      $6, ->14
         10    > > FE_FETCH_R                                               $7, !2, ->14
    9    11    >   TYPE_CHECK                                    2  ~8      !1
         12        FREE                                                     ~8
    7    13      > JMP                                                      ->10
         14    >   FE_FREE                                                  $7
   12    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'microtime'
         17        SEND_VAL                                                 <true>
         18        DO_ICALL                                         $9      
         19        SUB                                              ~10     $9, !0
         20        SEND_VAL                                                 ~10
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.6 ms | 1395 KiB | 19 Q