3v4l.org

run code in 300+ PHP versions simultaneously
<?=($a=".".bcpow(9,99,99))^($b=[].new Exception([]. [] )|str_repeat('@',96)) ," ", strlen( $a)," ", strlen($b), $b," ".M_PI.M_PI_2;
Output for 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Warning: Array to string conversion in /in/abG3W on line 1 Warning: Array to string conversion in /in/abG3W on line 1 Warning: Array to string conversion in /in/abG3W on line 1 o@KTHwNUPDGYY[HWt@CUAvGAUAP[\V^PYXRTtBcIDsaCSVZWDFR[VHr[FPM^YQZKswvwvytstsstwxprpssrwpytqqpptxxy 196 96ArrayExceptionz`ArrayArray`in`oinoabGsWzqJStack`tracezJcp`{main}@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3.14159265358981.5707963267949
Output for 7.3.32 - 7.3.33, 7.4.33, 8.0.13
Fatal error: Uncaught Error: Call to undefined function bcpow() in /in/abG3W:1 Stack trace: #0 {main} thrown in /in/abG3W on line 1
Process exited with code 255.
Output for 7.3.0 - 7.3.31, 7.4.0 - 7.4.32
Notice: Array to string conversion in /in/abG3W on line 1 Notice: Array to string conversion in /in/abG3W on line 1 Notice: Array to string conversion in /in/abG3W on line 1 o@KTHwNUPDGYY[HWt@CUAvGAUAP[\V^PYXRTtBcIDsaCSVZWDFR[VHr[FPM^YQZKswvwvytstsstwxprpssrwpytqqpptxxy 196 96ArrayExceptionz`ArrayArray`in`oinoabGsWzqJStack`tracezJcp`{main}@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3.14159265358981.5707963267949
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33
Notice: Array to string conversion in /in/abG3W on line 1 Notice: Array to string conversion in /in/abG3W on line 1 Notice: Array to string conversion in /in/abG3W on line 1 o@KTHwNUPDGYY[HWt@CUAvGAUAP[\V^PYXRTtBcIDsaCSVZWDFR[VHr[FPM^YQZKswvwvytstsstwxprpssrwpytqqpptxxy 96 96ArrayExceptionz`ArrayArray`in`oinoabGsWzqJStack`tracezJcp`{main}@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3.14159265358981.5707963267949
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Notice: Array to string conversion in /in/abG3W on line 1 Notice: Array to string conversion in /in/abG3W on line 1 Notice: Array to string conversion in /in/abG3W on line 1 o@KTHWNUPDGYY[RPpJRQHC\\Z_PE[BYYZR@ERVQSRx@ESLpEBUJ_S[VXYYX\YZsEdMG}eMUP_SGFV[UHzPCRL]X]_Lpptxxy 96 96Arrayexception`gExceptiong`with`message`gArrayArrayg`in`oinoabGsWzqJStack`tracezJcp`{main}@@@@@@ 3.14159265358981.5707963267949
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function bcpow() in /in/abG3W on line 1
Process exited with code 255.

preferences:
263.52 ms | 401 KiB | 376 Q