3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'Test'; // mb_strtolower() $timeMB = microtime(true); for($i=0;$i<30000;$i++) $lower = mb_strtolower("$text/no-cache-$i"); $timeMB = microtime(true) - $timeMB;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 7
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 7
Branch analysis from position: 17
Branch analysis from position: 7
filename:       /in/Tjg7G
function name:  (null)
number of ops:  23
compiled vars:  !0 = $text, !1 = $timeMB, !2 = $i, !3 = $lower
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Test'
    5     1        INIT_FCALL                                               'microtime'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
    7     5        ASSIGN                                                   !2, 0
          6      > JMP                                                      ->15
    8     7    >   INIT_FCALL                                               'mb_strtolower'
          8        ROPE_INIT                                     3  ~9      !0
          9        ROPE_ADD                                      1  ~9      ~9, '%2Fno-cache-'
         10        ROPE_END                                      2  ~8      ~9, !2
         11        SEND_VAL                                                 ~8
         12        DO_ICALL                                         $11     
         13        ASSIGN                                                   !3, $11
    7    14        PRE_INC                                                  !2
         15    >   IS_SMALLER                                               !2, 30000
         16      > JMPNZ                                                    ~14, ->7
   10    17    >   INIT_FCALL                                               'microtime'
         18        SEND_VAL                                                 <true>
         19        DO_ICALL                                         $15     
         20        SUB                                              ~16     $15, !1
         21        ASSIGN                                                   !1, ~16
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.13 ms | 1395 KiB | 17 Q