3v4l.org

run code in 300+ PHP versions simultaneously
<?php $res = 'RESULT: OK RESULT_PS: FINISHED RESULT_CODE: 000 3DSECURE: NOTPARTICIPATED RRN: 332216778155 APPROVAL_CODE: 527628 CARD_NUMBER: 5***********8817 MRCH_TRANSACTION_ID: 178'; preg_match( '/RESULT: ([A-Z]+) RESULT_PS: ([A-Z]+) RESULT_CODE: ([0-9]+) 3DSECURE: ([A-Z]+) RRN: ([0-9]+) APPROVAL_CODE: ([0-9]+) CARD_NUMBER: ([0-9\*]+) MRCH_TRANSACTION_ID: ([0-9]+)/i', $res, $result); print_r($result);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => RESULT: OK RESULT_PS: FINISHED RESULT_CODE: 000 3DSECURE: NOTPARTICIPATED RRN: 332216778155 APPROVAL_CODE: 527628 CARD_NUMBER: 5***********8817 MRCH_TRANSACTION_ID: 178 [1] => OK [2] => FINISHED [3] => 000 [4] => NOTPARTICIPATED [5] => 332216778155 [6] => 527628 [7] => 5***********8817 [8] => 178 )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
47.58 ms | 402 KiB | 8 Q