3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output for 8.2.18 - 8.2.22, 8.3.5 - 8.3.10
Fatal error: Uncaught ValueError: Bcrypt password must not contain null character in /in/Z0pcl:5 Stack trace: #0 /in/Z0pcl(5): password_hash(Object(SensitiveParameterValue), '2y') #1 {main} thrown in /in/Z0pcl on line 5
Process exited with code 255.
Output for 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Fatal error: Uncaught AssertionError: Blank password should not verify in /in/Z0pcl:8 Stack trace: #0 /in/Z0pcl(8): assert(false, 'Blank password ...') #1 {main} thrown in /in/Z0pcl on line 8
Process exited with code 255.
Output for 8.1.28 - 8.1.29
Fatal error: Uncaught ValueError: Bcrypt password must not contain null character in /in/Z0pcl:5 Stack trace: #0 /in/Z0pcl(5): password_hash('\x000', '2y') #1 {main} thrown in /in/Z0pcl on line 5
Process exited with code 255.
Output for 7.4.3
Parse error: syntax error, unexpected ':', expecting ')' in /in/Z0pcl on line 7
Process exited with code 255.

preferences:
76.04 ms | 414 KiB | 5 Q