3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inside = " julio "; $timestart = microtime( true ); for($i=0;$i<=5000;$i++) echo "<p>My name is $inside !</p>\n"; $timeend = microtime( true ); $timetotal = $timeend - $timestart; echo $timetotal;
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 = 14, Position 2 = 7
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 7
Branch analysis from position: 14
Branch analysis from position: 7
filename:       /in/9DFOQ
function name:  (null)
number of ops:  22
compiled vars:  !0 = $inside, !1 = $timestart, !2 = $i, !3 = $timeend, !4 = $timetotal
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '+julio+'
    3     1        INIT_FCALL                                               'microtime'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !1, $6
    4     5        ASSIGN                                                   !2, 0
          6      > JMP                                                      ->12
    5     7    >   ROPE_INIT                                     3  ~10     '%3Cp%3EMy+name+is+'
          8        ROPE_ADD                                      1  ~10     ~10, !0
          9        ROPE_END                                      2  ~9      ~10, '++%21%3C%2Fp%3E%0A'
         10        ECHO                                                     ~9
    4    11        PRE_INC                                                  !2
         12    >   IS_SMALLER_OR_EQUAL                                      !2, 5000
         13      > JMPNZ                                                    ~13, ->7
    6    14    >   INIT_FCALL                                               'microtime'
         15        SEND_VAL                                                 <true>
         16        DO_ICALL                                         $14     
         17        ASSIGN                                                   !3, $14
    7    18        SUB                                              ~16     !3, !1
         19        ASSIGN                                                   !4, ~16
    8    20        ECHO                                                     !4
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.77 ms | 1395 KiB | 15 Q