3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "1’With the youth in ’68 and ‘86 汉语 �..."; $string = preg_replace('/[\x00-\x1F\x7F-\xFF]/', '', $string); $string = str_replace("�","", $string); print($string); print ord("�");

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
151.37 ms | 1873 KiB | 10 Q