3v4l.org

run code in 500+ PHP versions simultaneously
<?php $summary="The problem with field2 is field13. The fix will be field7"; $_POST['field2']='thiscomputer'; $_POST['field7']='thishotfix'; $_POST['field13']='thisapplication'; echo str_replace(array_keys($_POST),array_values($_POST),$summary); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/quYVO
function name:  (null)
number of ops:  22
compiled vars:  !0 = $summary
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'The+problem+with+field2+is+field13.++The+fix+will+be+field7'
    5     1        FETCH_W                          global              $2      '_POST'
          2        ASSIGN_DIM                                                   $2, 'field2'
          3        OP_DATA                                                      'thiscomputer'
    6     4        FETCH_W                          global              $4      '_POST'
          5        ASSIGN_DIM                                                   $4, 'field7'
          6        OP_DATA                                                      'thishotfix'
    7     7        FETCH_W                          global              $6      '_POST'
          8        ASSIGN_DIM                                                   $6, 'field13'
          9        OP_DATA                                                      'thisapplication'
    8    10        INIT_FCALL                                                   'array_keys'
         11        FETCH_R                          global              ~8      '_POST'
         12        SEND_VAL                                                     ~8
         13        DO_ICALL                                             $9      
         14        INIT_FCALL                                                   'array_values'
         15        FETCH_R                          global              ~10     '_POST'
         16        SEND_VAL                                                     ~10
         17        DO_ICALL                                             $11     
         18        FRAMELESS_ICALL_3                str_replace         ~12     $9, $11
         19        OP_DATA                                                      !0
         20        ECHO                                                         ~12
   10    21      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
211.9 ms | 2067 KiB | 15 Q