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.30, 8.2.0 - 8.2.25, 8.3.0 - 8.3.13
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:
64.86 ms | 407 KiB | 5 Q