3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Chicago-Illinos9'; echo ++$str;
Output for 8.3.0 - 8.3.25, 8.4.1 - 8.4.12
Deprecated: Increment on non-alphanumeric string is deprecated in /in/SNHYo on line 4 Chicago-Illinot0
Output for 8.1.0 - 8.1.33, 8.2.0 - 8.2.29
Chicago-Illinot0

preferences:
65.18 ms | 407 KiB | 5 Q