我想知道是否可以在 PHP 中在两个变量的值之间进行替换。
我可以更好地解释它:
<?php
$a = "Cat";
$b = "Dog";
// The strange/non-existent function I am talking about //
MakeSubstitution($a, $b);
// After this (non-existent) function the values of the variables should be:
// $a = "Dog"
// $b = "Cat"
?>
那么,它存在吗?我进行了搜索,但没有找到任何结果。提前致谢。