3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "97, ".chr(97).", ".ctype_lower(97)."\n"; // 8.1以降ならば↓の非推奨警告がでます。 // Deprecated: ctype_lower(): Argument of type int will be interpreted as string in the future in /in/4C8hc on line 7 // 97, a, true // 8.0以前ならば下の様に何事もなく動きます。 // 97, a, true
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
Deprecated: ctype_lower(): Argument of type int will be interpreted as string in the future in /in/dnRSd on line 3 97, a, 1
Output for 7.4.0 - 7.4.33, 8.0.1 - 8.0.30
97, a, 1

preferences:
101.5 ms | 402 KiB | 123 Q