3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $rcurl='RESULT: OK RESULT_PS: FINISHED RESULT_CODE: 000 3DSECURE: AUTHENTICATED RRN: 404311561121 APPROVAL_CODE: 18T565 CARD_NUMBER: 4***********0714 MRCH_TRANSACTION_ID: SP_24'; $res = preg_match('/RESULT:\s([A-Z]+)\sRESULT_PS:\s([A-Z]+)\sRESULT_CODE:\s([0-9]+)\s3DSECURE:\s([A-Z]+)\sRRN:\s([0-9]+)\sAPPROVAL_CODE:\s([0-9A-Z]+)\sCARD_NUMBER:\s([0-9\*]+)\sMRCH_TRANSACTION_ID:\s([A_Z_0-9]+)/im', $rcurl); print_r($res);
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
0
Output for hhvm-3.10.0

Process exited with code 153.