3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Your code here! echo strlen(mb_convert_encoding('𠀋, 'UTF-16')); ?>
Output for 8.0.1 - 8.0.28, 8.1.0 - 8.1.19, 8.2.0 - 8.2.6
Parse error: syntax error, unexpected identifier "UTF", expecting ")" in /in/FTG16 on line 3
Process exited with code 255.

preferences:
167.25 ms | 1395 KiB | 61 Q