3v4l.org

run code in 300+ PHP versions simultaneously
<?php $table = array( 'hi' => 'hello', 'no' => 'yes', 'stuff' => array( 'house' => 'mouse', 'claus' => 'santa', ) ); echo str_replace(array_keys($table), array_values($table), 'Hello friends! I have some for you, no?');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ICKuX
function name:  (null)
number of ops:  14
compiled vars:  !0 = $table
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   11     1        INIT_FCALL                                               'str_replace'
          2        INIT_FCALL                                               'array_keys'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        INIT_FCALL                                               'array_values'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        SEND_VAL                                                 'Hello+friends%21+I+have+some+for+you%2C+no%3F'
         11        DO_ICALL                                         $4      
         12        ECHO                                                     $4
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.66 ms | 1394 KiB | 19 Q