3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.21 ms | 1395 KiB | 17 Q