3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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; }
based on vgjQB
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.3.0beta1
'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' => '',