3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = microtime(true); $title = "Må vi komme med? (2:8).mp4"; $title = str_replace(":", "-", $title); $title = utf8_decode($title); $time_taken = microtime(true) - $start; echo $time_taken; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AJ6a7
function name:  (null)
number of ops:  22
compiled vars:  !0 = $start, !1 = $title, !2 = $time_taken
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    3     4        ASSIGN                                                   !1, 'M%C3%A5+vi+komme+med%3F+%282%3A8%29.mp4'
    4     5        INIT_FCALL                                               'str_replace'
          6        SEND_VAL                                                 '%3A'
          7        SEND_VAL                                                 '-'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !1, $6
    5    11        INIT_FCALL                                               'utf8_decode'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $8      
         14        ASSIGN                                                   !1, $8
    6    15        INIT_FCALL                                               'microtime'
         16        SEND_VAL                                                 <true>
         17        DO_ICALL                                         $10     
         18        SUB                                              ~11     $10, !0
         19        ASSIGN                                                   !2, ~11
    7    20        ECHO                                                     !2
    8    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.3 ms | 1386 KiB | 19 Q