3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inside = " julio "; $timestart = microtime( true ); for($i=0;$i<=5000;$i++) printf( "<p>My name is %s !</p>\n", $inside ); $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/X74Zr
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    >   INIT_FCALL                                               'printf'
          8        SEND_VAL                                                 '%3Cp%3EMy+name+is+%25s+%21%3C%2Fp%3E%0A'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    4    11        PRE_INC                                                  !2
         12    >   IS_SMALLER_OR_EQUAL                                      !2, 5000
         13      > JMPNZ                                                    ~11, ->7
    6    14    >   INIT_FCALL                                               'microtime'
         15        SEND_VAL                                                 <true>
         16        DO_ICALL                                         $12     
         17        ASSIGN                                                   !3, $12
    7    18        SUB                                              ~14     !3, !1
         19        ASSIGN                                                   !4, ~14
    8    20        ECHO                                                     !4
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.81 ms | 1395 KiB | 17 Q