3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str1 = "The quisck browsn"; $str2 = "The quick brown fox"; $tempArr; $var2; $ctr=0; echo "Array1:<br> {$str1} <br><br>Array2:<br> {$str2}"; $strarr = (explode(" ",$str1)); echo("<br>"); $strarr2 = (explode(" ",$str2)); echo("<br>"); $result = array_diff($strarr,$strarr2); //print_r($result); if (count($result) > 0){ echo "<br>Differences: | " ; foreach ($result AS $result){ echo $result." | "; } }
Output for git.master, git.master_jit, rfc.property-hooks
Array1:<br> The quisck browsn <br><br>Array2:<br> The quick brown fox<br><br><br>Differences: | quisck | browsn |

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
42.93 ms | 401 KiB | 8 Q