3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = " muito bom parabéns 😤 AND r0_.avaliacao = 'Parabéns 😤' "; $str_encoding = mb_detect_encoding($str, 'auto'); $str_name = iconv($str_encoding, 'UTF-8', $str); $str_name = preg_replace('/[^\p{L}\p{N}\s]\w/u', '', $str); $str_name = preg_replace('/[\w\.\-\s\@\.\,\:\;\+\-\=\?\!\&\*\#\|\\]+/u', '', $str); print($str_name);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 40 in /in/cpQWn on line 8

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