3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_internal_encoding("UTF-8"); $text = "Lörem ipßüm dölör ßit ämet, cönßectetüer ädipißcing elit. Sed ligülä. Präeßent jüßtö tellüß, grävidä eü, tempüß ä, mättiß nön, örci. Näm qüiß lörem. Näm äliqüet elit ßed elit. Phäßellüß venenätiß jüßtö eget enim. Dönec nißl. Pröin mättiß venenätiß jüßtö. Sed äliqüäm pörtä örci. Cräß elit nißl, cönvälliß qüiß, tincidünt ät, vehicülä äccümßän, ödiö. Sed möleßtie. Etiäm mölliß feügiät elit. Veßtibülüm änte ipßüm primiß in fäücibüß örci lüctüß et ültriceß pößüere cübiliä Cüräe; Mäecenäß nön nüllä."; // mb_strtolower() $timeMB = microtime(true); for($i=0;$i<30000;$i++) $lower = mb_strtolower("$text/no-cache-$i"); $timeMB = microtime(true) - $timeMB; echo "mb: ".sprintf("%.5f",$timeMB)." seconds.<br />";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 10
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 10
Branch analysis from position: 20
Branch analysis from position: 10
filename:       /in/QZYlY
function name:  (null)
number of ops:  33
compiled vars:  !0 = $text, !1 = $timeMB, !2 = $i, !3 = $lower
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mb_internal_encoding'
          1        SEND_VAL                                                 'UTF-8'
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, 'L%C3%B6rem+ip%C3%9F%C3%BCm+d%C3%B6l%C3%B6r+%C3%9Fit+%C3%A4met%2C+c%C3%B6n%C3%9Fectet%C3%BCer+%C3%A4dipi%C3%9Fcing+elit.+Sed+lig%C3%BCl%C3%A4.+Pr%C3%A4e%C3%9Fent+j%C3%BC%C3%9Ft%C3%B6+tell%C3%BC%C3%9F%2C+gr%C3%A4vid%C3%A4+e%C3%BC%2C+temp%C3%BC%C3%9F+%C3%A4%2C+m%C3%A4tti%C3%9F+n%C3%B6n%2C+%C3%B6rci.+N%C3%A4m+q%C3%BCi%C3%9F+l%C3%B6rem.+N%C3%A4m+%C3%A4liq%C3%BCet+elit+%C3%9Fed+elit.+Ph%C3%A4%C3%9Fell%C3%BC%C3%9F+venen%C3%A4ti%C3%9F+j%C3%BC%C3%9Ft%C3%B6+eget+enim.+D%C3%B6nec+ni%C3%9Fl.+Pr%C3%B6in+m%C3%A4tti%C3%9F+venen%C3%A4ti%C3%9F+j%C3%BC%C3%9Ft%C3%B6.+Sed+%C3%A4liq%C3%BC%C3%A4m+p%C3%B6rt%C3%A4+%C3%B6rci.+Cr%C3%A4%C3%9F+elit+ni%C3%9Fl%2C+c%C3%B6nv%C3%A4lli%C3%9F+q%C3%BCi%C3%9F%2C+tincid%C3%BCnt+%C3%A4t%2C+vehic%C3%BCl%C3%A4+%C3%A4cc%C3%BCm%C3%9F%C3%A4n%2C+%C3%B6di%C3%B6.+Sed+m%C3%B6le%C3%9Ftie.+Eti%C3%A4m+m%C3%B6lli%C3%9F+fe%C3%BCgi%C3%A4t+elit.+Ve%C3%9Ftib%C3%BCl%C3%BCm+%C3%A4nte+ip%C3%9F%C3%BCm+primi%C3%9F+in+f%C3%A4%C3%BCcib%C3%BC%C3%9F+%C3%B6rci+l%C3%BCct%C3%BC%C3%9F+et+%C3%BCltrice%C3%9F+p%C3%B6%C3%9F%C3%BCere+c%C3%BCbili%C3%A4+C%C3%BCr%C3%A4e%3B+M%C3%A4ecen%C3%A4%C3%9F+n%C3%B6n+n%C3%BCll%C3%A4.'
    8     4        INIT_FCALL                                               'microtime'
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !1, $6
   10     8        ASSIGN                                                   !2, 0
          9      > JMP                                                      ->18
   11    10    >   INIT_FCALL                                               'mb_strtolower'
         11        ROPE_INIT                                     3  ~10     !0
         12        ROPE_ADD                                      1  ~10     ~10, '%2Fno-cache-'
         13        ROPE_END                                      2  ~9      ~10, !2
         14        SEND_VAL                                                 ~9
         15        DO_ICALL                                         $12     
         16        ASSIGN                                                   !3, $12
   10    17        PRE_INC                                                  !2
         18    >   IS_SMALLER                                               !2, 30000
         19      > JMPNZ                                                    ~15, ->10
   13    20    >   INIT_FCALL                                               'microtime'
         21        SEND_VAL                                                 <true>
         22        DO_ICALL                                         $16     
         23        SUB                                              ~17     $16, !1
         24        ASSIGN                                                   !1, ~17
   15    25        INIT_FCALL                                               'sprintf'
         26        SEND_VAL                                                 '%25.5f'
         27        SEND_VAR                                                 !1
         28        DO_ICALL                                         $19     
         29        CONCAT                                           ~20     'mb%3A+', $19
         30        CONCAT                                           ~21     ~20, '+seconds.%3Cbr+%2F%3E'
         31        ECHO                                                     ~21
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.25 ms | 1400 KiB | 21 Q