@ 2012-12-05T08:44:40Z <?php
$string = <<<STRING
कमबख़्त को गाली भी सलीक़े से नहीं दी जाती...\'
STRING;
var_dump($string);
var_dump(str_replace('\\', $string));
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 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 . Output for 5.3.0 - 5.3.29 , 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 , 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 string(112) "कमबख़्त को गाली भी सलीक़े से नहीं दी जाती...\'"
Warning: str_replace() expects at least 3 parameters, 2 given in /in/kLQUE on line 8
NULL
Output for 4.3.0 - 4.3.11 , 4.4.0 - 4.4.1 , 4.4.3 - 4.4.9 , 5.0.0 - 5.0.5 , 5.1.0 - 5.1.1 , 5.1.3 - 5.1.6 , 5.2.0 - 5.2.17 string(112) "कमबख़्त को गाली भी सलीक़े से नहीं दी जाती...\'"
Warning: Wrong parameter count for str_replace() in /in/kLQUE on line 8
NULL
Output for 4.4.2 , 5.1.2 string(112) "कमबख़्त को गाली भी सलीक़े से नहीं दी जाती...\'"
Warning: Wrong parameter count for str_replace() in /in/kLQUE on line 9
NULL
preferences:dark mode live preview
363.89 ms | 402 KiB | 460 Q