<?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);
?>
The problem with thiscomputer is thisapplication. The fix will be thishotfix
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
The problem with thiscomputer is thisapplication. The fix will be thishotfix