3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(PI); var_dump(PI=== 3.14159265358979323846);
based on mZ6BF
Output for 7.2.0
Warning: Use of undefined constant PI - assumed 'PI' (this will throw an Error in a future version of PHP) in /in/qgiG3 on line 3 string(2) "PI" Warning: Use of undefined constant PI - assumed 'PI' (this will throw an Error in a future version of PHP) in /in/qgiG3 on line 4 bool(false)
Output for 5.3.20 - 7.1.10
Notice: Use of undefined constant PI - assumed 'PI' in /in/qgiG3 on line 3 string(2) "PI" Notice: Use of undefined constant PI - assumed 'PI' in /in/qgiG3 on line 4 bool(false)