3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startSingle = microtime(); for ($i = 0; $i < 10000; $i++) $var = 'I am a single quote string'; $endSingle = microtime(); $timeSingle = $endSingle - $startSingle; echo 'No math took : ',$timeSingle,'ms';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 5
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 5
Branch analysis from position: 9
Branch analysis from position: 5
filename:       /in/WV9a3
function name:  (null)
number of ops:  18
compiled vars:  !0 = $startSingle, !1 = $i, !2 = $var, !3 = $endSingle, !4 = $timeSingle
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'microtime'
          1        DO_ICALL                                         $5      
          2        ASSIGN                                                   !0, $5
    3     3        ASSIGN                                                   !1, 0
          4      > JMP                                                      ->7
    4     5    >   ASSIGN                                                   !2, 'I+am+a+single+quote+string'
    3     6        PRE_INC                                                  !1
          7    >   IS_SMALLER                                               !1, 10000
          8      > JMPNZ                                                    ~10, ->5
    5     9    >   INIT_FCALL                                               'microtime'
         10        DO_ICALL                                         $11     
         11        ASSIGN                                                   !3, $11
    6    12        SUB                                              ~13     !3, !0
         13        ASSIGN                                                   !4, ~13
    7    14        ECHO                                                     'No+math+took+%3A+'
         15        ECHO                                                     !4
         16        ECHO                                                     'ms'
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.37 ms | 1395 KiB | 15 Q