3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ 'Error during account creating' => '', 'User with given email already exists' => '', 'Error during token creating' => '', 'Error during mail sending' => '', 'Error during set have account' => '', 'Need email and password params' => '', 'Error during authentication' => '', 'Error during confirm account' => '', 'Error during change password request' => '', 'User already logged in' => '', 'User already logged out' => '', 'Error during getting account data' => '', 'Need token param' => '', 'Error during account activation' => '', 'Need email param' => '', 'User already active' => '', 'Error during tour criteria creating' => '', 'Account with given email doesn\'t exists' => '', 'User logged out' => '', 'Error during getting marketing info' => '', 'Error during getting countries info' => '', 'Error during getting hotels info' => '', 'Error during tour hunter activation' => '', 'Document is in wrong format' => '', 'Need documentId and document params' => '', 'Need documentId param' => '', 'Error during getting notify order status' => '', 'Error during getting marketing notifiers' => '', 'Need notify param' => '', 'Need oldPassword and newPassword params' => '', 'Need customer param' => '', ]; ksort($a); foreach ($a as $b => $c) { echo " '" . $b . "' => ''," . PHP_EOL; }
Output for 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
'Account with given email doesn't exists' => '', 'Document is in wrong format' => '', 'Error during account activation' => '', 'Error during account creating' => '', 'Error during authentication' => '', 'Error during change password request' => '', 'Error during confirm account' => '', 'Error during getting account data' => '', 'Error during getting countries info' => '', 'Error during getting hotels info' => '', 'Error during getting marketing info' => '', 'Error during getting marketing notifiers' => '', 'Error during getting notify order status' => '', 'Error during mail sending' => '', 'Error during set have account' => '', 'Error during token creating' => '', 'Error during tour criteria creating' => '', 'Error during tour hunter activation' => '', 'Need customer param' => '', 'Need documentId and document params' => '', 'Need documentId param' => '', 'Need email and password params' => '', 'Need email param' => '', 'Need notify param' => '', 'Need oldPassword and newPassword params' => '', 'Need token param' => '', 'User already active' => '', 'User already logged in' => '', 'User already logged out' => '', 'User logged out' => '', 'User with given email already exists' => '',
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 'Account with given email doesn't exists' => '', 'Document is in wrong format' => '', 'Error during account activation' => '', 'Error during account creating' => '', 'Error during authentication' => '', 'Error during change password request' => '', 'Error during confirm account' => '', 'Error during getting account data' => '', 'Error during getting countries info' => '', 'Error during getting hotels info' => '', 'Error during getting marketing info' => '', 'Error during getting marketing notifiers' => '', 'Error during getting notify order status' => '', 'Error during mail sending' => '', 'Error during set have account' => '', 'Error during token creating' => '', 'Error during tour criteria creating' => '', 'Error during tour hunter activation' => '', 'Need customer param' => '', 'Need documentId and document params' => '', 'Need documentId param' => '', 'Need email and password params' => '', 'Need email param' => '', 'Need notify param' => '', 'Need oldPassword and newPassword params' => '', 'Need token param' => '', 'User already active' => '', 'User already logged in' => '', 'User already logged out' => '', 'User logged out' => '', 'User with given email already exists' => '',

preferences:
149.82 ms | 405 KiB | 160 Q