3v4l.org

run code in 500+ PHP versions simultaneously
<?php define("QUÉ_PASA", "Nada Mucho", true); var_dump(defined("QUÉ_PASA")); var_dump(defined("quÉ_pasa")); var_dump(defined("qué_pasa")); echo QuÉ_Pasa; echo Qué_Pasa;
Output for master
Deprecated: define(): Argument #3 ($case_insensitive) is ignored and treated as false since declaration of case-insensitive constants is no longer supported, passing the argument explicitly is unnecessary in /in/Od03d on line 3 Warning: define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported, this will be an error in PHP 9.0 in /in/Od03d on line 3 bool(true) bool(false) bool(false) Fatal error: Uncaught Error: Undefined constant "QuÉ_Pasa" in /in/Od03d:9 Stack trace: #0 {main} thrown in /in/Od03d on line 9
Process exited with code 255.

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:
24.17 ms | 1177 KiB | 7 Q