3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<<STRING कमबख़्त को गाली भी सलीक़े से नहीं दी जाती...\' STRING; var_dump($string); var_dump(str_replace('\\', $string));
Output for git.master, git.master_jit, rfc.property-hooks
string(112) "कमबख़्त को गाली भी सलीक़े से नहीं दी जाती...\'" Fatal error: Uncaught ArgumentCountError: str_replace() expects at least 3 arguments, 2 given in /in/kLQUE:8 Stack trace: #0 /in/kLQUE(8): str_replace('\\', '\xE0\xA4\x95\xE0\xA4\xAE\xE0\xA4\xAC\xE0\xA4\x96\xE0\xA4\xBC...') #1 {main} thrown in /in/kLQUE on line 8
Process exited with code 255.

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:
54.45 ms | 401 KiB | 8 Q