3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( [ 'continue' => 'Continue', 'next' => 'Next', 'yes' => 'Yes', 'no' => 'No', 'day' => 'Day', 'month' => 'Month', 'year' => 'Year' ] + [ 'has-errors' => 'The information you have entered is invalid. Please review your entry and try again', ] + [ 'field' => [ 'is_resident_option' => [ 1 => 'Resident', 0 => 'Non-resident' ], ] ] + [ /** * Beneficiary */ V::FIELD_BENEFICIARY_EMAIL => 'Email address', V::FIELD_BENEFICIARY_NATIONALITY => 'Nationality', V::FIELD_BENEFICIARY_DOB => 'Date of birth', V::FIELD_BENEFICIARY_TAX_ID => 'Tax ID', V::FIELD_BENEFICIARY_IS_REDIDENT => 'Residential status', /** * PayPal */ V::FIELD_PAYPAL_EMAIL => 'PayPal Email Address', /** * Yandex */ V::FIELD_YANDEX_ACCOUNT_NUMBER => 'Yandex account number', /** * Bank */ V::FIELD_BANK_SWIFT => 'BIC/SWIFT', V::FIELD_BANK_SWIFT . '_placeholder' => 'AAAA BB CC DDD', V::FIELD_BANK_SWIFT . '_help' => 'SWIFT code consists of 8 or 11 characters', V::FIELD_BANK_ACCOUNT_IBAN => 'IBAN', V::FIELD_BANK_ACCOUNT_IBAN . '_placeholder' => 'AA11 BBBB 2222 3333 4444 55', V::FIELD_BANK_NAME => 'Bank name', V::FIELD_BANK_ROUTING_NUMBER => 'Routing number', V::FIELD_BANK_COUNTRY => 'Bank country', V::FIELD_BANK_ACCOUNT_HOLDER_NAME => 'Bank account holders name', V::FIELD_BANK_ACCOUNT_HOLDER_NAME . '_placeholder' => 'eg. John Smith', V::FIELD_BANK_ACCOUNT_HOLDER_NAME . '_help' => 'The account holders name, as shown on your bank statement', V::FIELD_BANK_ACCOUNT_IFSC => 'Bank account IFS code', V::FIELD_BANK_ACCOUNT_NUMBER => 'Bank account number', V::FIELD_BANK_ACCOUNT_SORT_CODE => 'Bank account sort code', V::FIELD_BANK_BRANCH_CODE => 'Bank branch code', /** * Common */ V::ERROR_VALUE_REQUIRED => 'This value is invalid', V::ERROR_EMAIL_INVALID => 'Email address is invalid', ] );
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'V' not found in /in/SbZbK:33 Stack trace: #0 {main} thrown in /in/SbZbK on line 33
Process exited with code 255.
Output for 5.4.10 - 5.6.28
Fatal error: Class 'V' not found in /in/SbZbK on line 33
Process exited with code 255.
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/SbZbK on line 5
Process exited with code 255.