3v4l.org

run code in 300+ PHP versions simultaneously
<?php $replacements = array( "{0}" => "Динамо Киев", "{1}" => "87" ); $resultGoal = strtr('Первый гол: {0} на {1} мин.', $replacements); echo $resultGoal;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uPQiC
function name:  (null)
number of ops:  8
compiled vars:  !0 = $replacements, !1 = $resultGoal
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    8     1        INIT_FCALL                                               'strtr'
          2        SEND_VAL                                                 '%D0%9F%D0%B5%D1%80%D0%B2%D1%8B%D0%B9+%D0%B3%D0%BE%D0%BB%3A+%7B0%7D+%D0%BD%D0%B0+%7B1%7D+%D0%BC%D0%B8%D0%BD.'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    9     6        ECHO                                                     !1
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.41 ms | 1393 KiB | 15 Q