3v4l.org

run code in 300+ PHP versions simultaneously
<?php $check = fn ($a) => ctype_upper($a); $check(3); $check([]); $check(new stdClass); $check(3.5); $check(true); $check(null); $check(0); $check(256);
Output for git.master_jit, git.master
Deprecated: ctype_upper(): Argument of type int will be interpreted as string in the future in /in/PgZ6c on line 3 Deprecated: ctype_upper(): Argument of type array will be interpreted as string in the future in /in/PgZ6c on line 3 Deprecated: ctype_upper(): Argument of type stdClass will be interpreted as string in the future in /in/PgZ6c on line 3 Deprecated: ctype_upper(): Argument of type float will be interpreted as string in the future in /in/PgZ6c on line 3 Deprecated: ctype_upper(): Argument of type bool will be interpreted as string in the future in /in/PgZ6c on line 3 Deprecated: ctype_upper(): Argument of type null will be interpreted as string in the future in /in/PgZ6c on line 3 Deprecated: ctype_upper(): Argument of type int will be interpreted as string in the future in /in/PgZ6c on line 3 Deprecated: ctype_upper(): Argument of type int will be interpreted as string in the future in /in/PgZ6c on line 3

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:
44.66 ms | 408 KiB | 5 Q