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.31, 8.2.0 - 8.2.27, 8.3.0 - 8.3.15, 8.4.1 - 8.4.2
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:
75.88 ms | 407 KiB | 5 Q