3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = microtime(true); for($i = 0; $i < 100000; $i++) { $a = 100; $b = 200; $c = $a === $b; } echo sprintf("%f seconds", microtime(true) - $s);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
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 = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
Branch analysis from position: 6
filename:       /in/6212U
function name:  (null)
number of ops:  23
compiled vars:  !0 = $s, !1 = $i, !2 = $a, !3 = $b, !4 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $5      
          3        ASSIGN                                                   !0, $5
    3     4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->11
    4     6    >   ASSIGN                                                   !2, 100
    5     7        ASSIGN                                                   !3, 200
    6     8        IS_IDENTICAL                                     ~10     !2, !3
          9        ASSIGN                                                   !4, ~10
    3    10        PRE_INC                                                  !1
         11    >   IS_SMALLER                                               !1, 100000
         12      > JMPNZ                                                    ~13, ->6
    8    13    >   INIT_FCALL                                               'sprintf'
         14        SEND_VAL                                                 '%25f+seconds'
         15        INIT_FCALL                                               'microtime'
         16        SEND_VAL                                                 <true>
         17        DO_ICALL                                         $14     
         18        SUB                                              ~15     $14, !0
         19        SEND_VAL                                                 ~15
         20        DO_ICALL                                         $16     
         21        ECHO                                                     $16
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.22 ms | 1395 KiB | 17 Q