3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(IntlChar::getBlockCode("A") === IntlChar::BLOCK_CODE_BASIC_LATIN); var_dump(IntlChar::getBlockCode("Φ")); var_dump(IntlChar::getBlockCode("\u{2603") === IntlChar::BLOCK_CODE_MISCELLANEOUS_SYMBOLS); ?>
Output for 5.4.2 - 5.4.45, 5.5.24 - 5.5.29, 5.6.7 - 5.6.13
Fatal error: Class 'IntlChar' not found in /in/UvtOu on line 2
Process exited with code 255.

preferences:
205.22 ms | 1387 KiB | 63 Q