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);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0070.01418.43
8.3.50.0100.00921.20
8.3.40.0110.00718.70
8.3.30.0070.01020.12
8.3.20.0050.00320.50
8.3.10.0060.00321.02
8.3.00.0080.00023.48
8.2.180.0120.00625.92
8.2.170.0070.00718.95
8.2.160.0070.00722.96
8.2.150.0060.00924.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.31
8.2.110.0090.00020.35
8.2.100.0060.00618.04
8.2.90.0040.00417.88
8.2.80.0000.00818.95
8.2.70.0060.00317.75
8.2.60.0030.00617.75
8.2.50.0060.00317.50
8.2.40.0030.00619.57
8.2.30.0040.00419.57
8.2.20.0070.00017.74
8.2.10.0040.00417.76
8.2.00.0070.00017.72
8.1.280.0050.01025.92
8.1.270.0040.00423.99
8.1.260.0190.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00321.99
8.1.230.0120.00020.89
8.1.220.0040.00417.74
8.1.210.0050.00518.77
8.1.200.0030.00617.35
8.1.190.0100.00017.35
8.1.180.0050.00318.10
8.1.170.0040.00417.62
8.1.160.0040.00418.78
8.1.150.0060.00318.73
8.1.140.0040.00417.59
8.1.130.0070.00017.78
8.1.120.0030.00517.46
8.1.110.0030.00317.47
8.1.100.0080.00017.54
8.1.90.0000.00717.56
8.1.80.0070.00017.54
8.1.70.0030.00317.50
8.1.60.0050.00317.71
8.1.50.0000.00717.63
8.1.40.0000.00717.57
8.1.30.0040.00417.63
8.1.20.0040.00417.79
8.1.10.0000.00717.69
8.1.00.0060.00317.62
8.0.300.0040.00420.00
8.0.290.0050.00216.75
8.0.280.0000.00718.41
8.0.270.0040.00417.10
8.0.260.0030.00316.91
8.0.250.0050.00217.04
8.0.240.0050.00316.96
8.0.230.0000.00717.02
8.0.220.0000.00717.00
8.0.210.0000.00716.96
8.0.200.0030.00316.97
8.0.190.0060.00317.00
8.0.180.0040.00416.86
8.0.170.0030.00516.89
8.0.160.0000.00717.08
8.0.150.0040.00416.88
8.0.140.0000.00716.82
8.0.130.0050.00013.42
8.0.120.0080.00016.98
8.0.110.0000.00716.94
8.0.100.0040.00316.83
8.0.90.0050.00217.04
8.0.80.0170.00016.98
8.0.70.0000.00716.85
8.0.60.0000.00717.04
8.0.50.0000.00816.93
8.0.30.0180.00317.22
8.0.20.0170.00317.40
8.0.10.0000.00816.99
8.0.00.0100.00916.80
7.4.330.0000.00516.86
7.4.320.0030.00316.72
7.4.300.0000.00716.58
7.4.290.0070.00016.66
7.4.280.0000.00716.78
7.4.270.0070.00016.68
7.4.260.0000.00613.43
7.4.250.0040.00416.62
7.4.240.0030.00316.69
7.4.230.0060.00316.83
7.4.220.0150.00716.70
7.4.210.0090.00816.76
7.4.200.0000.00716.55
7.4.190.0070.00016.89
7.4.160.0120.00616.44
7.4.150.0160.00617.40
7.4.140.0140.00317.86
7.4.130.0080.01016.63
7.4.120.0090.00816.55
7.4.110.0110.00616.68
7.4.100.0060.01216.59
7.4.90.0130.00316.62
7.4.80.0110.01019.39
7.4.70.0080.01116.41
7.4.60.0070.01116.52
7.4.50.0050.00016.80
7.4.40.0000.01622.77
7.4.30.0090.00916.52
7.4.10.0080.01115.23
7.4.00.0120.00514.99
7.3.330.0000.00513.14
7.3.320.0000.00613.20
7.3.310.0030.00316.36
7.3.300.0000.00816.29
7.3.290.0070.01316.26
7.3.280.0140.00416.25
7.3.270.0040.01417.40
7.3.260.0090.00918.24
7.3.250.0060.01416.29
7.3.240.0170.00016.31
7.3.230.0100.00716.41
7.3.210.0060.01016.23
7.3.200.0120.01419.39
7.3.190.0120.00616.59
7.3.180.0060.01116.53
7.3.170.0060.00916.76
7.3.160.0130.00316.57
7.3.130.0030.01315.05
7.3.120.0080.00914.76
7.3.110.0110.00614.85
7.3.100.0080.00914.88
7.3.90.0040.00714.74
7.3.80.0020.01214.72
7.3.70.0060.00614.71
7.3.60.0020.01514.84
7.3.50.0050.01014.59
7.3.40.0060.01014.94
7.3.30.0060.00714.84
7.3.20.0020.01216.69
7.3.10.0080.00716.83
7.3.00.0090.00716.58
7.2.330.0120.00616.57
7.2.320.0070.01016.70
7.2.310.0120.01116.41
7.2.300.0060.01016.62
7.2.290.0080.00916.50
7.2.260.0070.01114.93
7.2.250.0060.00915.15
7.2.240.0080.01015.11
7.2.230.0050.01114.98
7.2.220.0050.01014.98
7.2.210.0040.00715.05
7.2.200.0080.00815.14
7.2.190.0080.01014.95
7.2.180.0060.00815.06
7.2.170.0060.01115.09
7.2.160.0100.00715.02
7.2.150.0100.00716.72
7.2.140.0110.00416.80
7.2.130.0080.00816.91
7.2.120.0070.00716.71
7.2.110.0060.00616.96
7.2.100.0040.00816.92
7.2.90.0060.00617.03
7.2.80.0030.01116.59
7.2.70.0060.00617.16
7.2.60.0040.01116.84
7.2.50.0070.00716.97
7.2.40.0090.00016.56
7.2.30.0030.00916.99
7.2.20.0030.00916.90
7.2.10.0040.01117.02
7.2.00.0060.00818.05
7.1.330.0050.01015.74
7.1.320.0130.00215.97
7.1.310.0070.00715.96
7.1.300.0050.01116.00
7.1.290.0080.00915.68
7.1.280.0070.00315.73
7.1.270.0030.01015.86
7.1.260.0040.00915.80
7.1.250.0070.00715.50
7.1.240.0040.00815.86
7.1.230.0080.00415.88
7.1.220.0040.00815.95
7.1.210.0060.00815.63
7.1.200.0080.00316.01
7.1.190.0070.00315.92
7.1.180.0060.00615.64
7.1.170.0030.00915.83
7.1.160.0110.00415.71
7.1.150.0090.00615.87
7.1.140.0000.01515.86
7.1.130.0000.00815.79
7.1.120.0040.00815.65
7.1.110.0060.00615.66
7.1.100.0080.00817.09
7.1.90.0070.01016.01
7.1.80.0060.00616.02
7.1.70.0070.00516.49
7.1.60.0110.00917.54
7.1.50.0080.01016.44
7.1.40.0000.01215.78
7.1.30.0080.00515.79
7.1.20.0040.01115.96
7.1.10.0050.00915.90
7.1.00.0000.02519.11
7.0.330.0030.01015.75
7.0.320.0090.00615.41
7.0.310.0040.00715.36
7.0.300.0090.00615.67
7.0.290.0000.01015.54
7.0.280.0040.01015.54
7.0.270.0090.00015.47
7.0.260.0110.00415.51
7.0.250.0060.01015.36
7.0.240.0080.00815.63
7.0.230.0060.00615.37
7.0.220.0030.01415.53
7.0.210.0100.00315.76
7.0.200.0060.00516.20
7.0.190.0000.01215.58
7.0.180.0100.00315.38
7.0.170.0070.00715.39
7.0.160.0040.00915.61
7.0.150.0120.00315.66
7.0.140.0060.04018.87
7.0.130.0030.00915.55
7.0.120.0040.00715.57
7.0.110.0040.01115.64
7.0.100.0100.01015.54
7.0.90.0040.01515.29
7.0.80.0030.04817.81
7.0.70.0160.04117.82
7.0.60.0030.04517.57
7.0.50.0030.02918.00
7.0.40.0070.03416.86
7.0.30.0090.04516.76
7.0.20.0050.04916.75
7.0.10.0100.04016.80
7.0.00.0120.02116.79
5.6.400.0040.00414.37
5.6.390.0060.00614.51
5.6.380.0110.00314.37
5.6.370.0080.00613.91
5.6.360.0000.01314.26
5.6.350.0040.01114.23
5.6.340.0000.01614.68
5.6.330.0060.00314.35
5.6.320.0060.01214.41
5.6.310.0140.00314.35
5.6.300.0070.01014.27
5.6.290.0080.00414.50
5.6.280.0020.04317.70
5.6.270.0040.00814.43
5.6.260.0000.01514.33
5.6.250.0040.01114.05
5.6.240.0060.01214.36
5.6.230.0070.02617.46
5.6.220.0030.02917.46
5.6.210.0070.03717.44
5.6.200.0050.04517.60
5.6.190.0030.03717.83
5.6.180.0130.03817.60
5.6.170.0120.04217.74
5.6.160.0090.04217.55
5.6.150.0070.04417.54
5.6.140.0050.04517.56
5.6.130.0080.02917.63
5.6.120.0100.04017.76
5.6.110.0060.04917.50
5.6.100.0090.02517.60
5.6.90.0100.02217.62
5.6.80.0090.02317.25
5.6.70.0030.04517.30
5.6.60.0060.02817.26
5.6.50.0050.04517.22
5.6.40.0060.03017.18
5.6.30.0100.04217.28
5.6.20.0050.04417.10
5.6.10.0070.03917.35
5.6.00.0080.02317.41
5.5.380.0060.01314.11
5.5.370.0030.04617.29
5.5.360.0030.04217.42
5.5.350.0100.03817.14
5.5.340.0090.02717.48
5.5.330.0070.04717.54
5.5.320.0080.04017.46
5.5.310.0060.03717.31
5.5.300.0070.02717.34
5.5.290.0100.03617.60
5.5.280.0070.04317.28
5.5.270.0060.04317.46
5.5.260.0050.03017.46
5.5.250.0050.04017.44
5.5.240.0050.04517.20
5.5.230.0070.04817.04
5.5.220.0050.02617.09
5.5.210.0080.02617.25
5.5.200.0050.02717.20
5.5.190.0080.02317.22
5.5.180.0090.02117.05
5.5.170.0090.00014.14
5.5.160.0050.03017.07
5.5.150.0070.02817.12
5.5.140.0030.04817.19
5.5.130.0050.02517.25
5.5.120.0080.04017.25
5.5.110.0000.02917.03
5.5.100.0030.04917.16
5.5.90.0030.03217.06
5.5.80.0070.04517.18
5.5.70.0020.03617.18
5.5.60.0070.03717.09
5.5.50.0050.04717.08
5.5.40.0080.03817.17
5.5.30.0090.04217.02
5.5.20.0110.03517.16
5.5.10.0050.04617.14
5.5.00.0030.02817.09
5.4.450.0110.03115.35
5.4.440.0070.04215.17
5.4.430.0070.02415.23
5.4.420.0070.02915.27
5.4.410.0050.02515.22
5.4.400.0130.03514.92
5.4.390.0020.03015.10
5.4.380.0050.04015.04
5.4.370.0110.03815.09
5.4.360.0070.04015.03
5.4.350.0130.01915.10
5.4.340.0020.04215.03
5.4.330.0000.00811.00
5.4.320.0050.02715.13
5.4.310.0070.02314.88
5.4.300.0050.03715.07
5.4.290.0050.02114.97
5.4.280.0020.03814.89
5.4.270.0060.03614.90
5.4.260.0050.02814.93
5.4.250.0080.03115.02
5.4.240.0090.03614.82
5.4.230.0050.04114.99
5.4.220.0050.02715.08
5.4.210.0020.04214.94
5.4.200.0050.04015.08
5.4.190.0070.03915.09
5.4.180.0070.03115.07
5.4.170.0030.03214.95
5.4.160.0070.03915.21
5.4.150.0100.02815.07
5.4.140.0030.04513.89
5.4.130.0060.03613.77
5.4.120.0020.04213.73
5.4.110.0070.02513.69
5.4.100.0150.03013.84
5.4.90.0070.03613.71
5.4.80.0080.03813.77
5.4.70.0070.03813.77
5.4.60.0050.03313.69
5.4.50.0100.03213.79
5.4.40.0040.04213.81
5.4.30.0020.04213.75
5.4.20.0070.04013.68
5.4.10.0050.02613.73
5.4.00.0020.03913.45
5.3.290.0020.03012.54
5.3.280.0080.03112.47
5.3.270.0050.04512.53
5.3.260.0090.03312.63
5.3.250.0030.04312.51
5.3.240.0020.04212.50
5.3.230.0070.04212.57
5.3.220.0020.04812.54
5.3.210.0070.03812.53
5.3.200.0030.04512.54
5.3.190.0070.02712.57
5.3.180.0080.03512.57
5.3.170.0020.04212.58
5.3.160.0090.03712.57
5.3.150.0030.03812.62
5.3.140.0070.03712.60
5.3.130.0030.04412.40
5.3.120.0070.02512.61
5.3.110.0090.02712.54
5.3.100.0030.03512.18
5.3.90.0110.03512.22
5.3.80.0020.02912.18
5.3.70.0070.04012.21
5.3.60.0030.04212.31
5.3.50.0040.03412.12
5.3.40.0060.03312.05
5.3.30.0070.03212.02
5.3.20.0030.02312.15
5.3.10.0070.03711.90
5.3.00.0030.03911.89
5.2.170.0100.05711.55
5.2.160.0130.05311.55
5.2.150.0130.05711.55
5.2.140.0030.04311.55
5.2.130.0070.06011.55
5.2.120.0030.06311.55
5.2.110.0030.06711.55
5.2.100.0030.06011.55
5.2.90.0030.06011.55
5.2.80.0030.06011.55
5.2.70.0070.06311.55
5.2.60.0030.03311.55
5.2.50.0030.05011.55
5.2.40.0070.06011.55
5.2.30.0000.04711.55
5.2.20.0070.05311.55
5.2.10.0030.03311.55
5.2.00.0030.06011.55
5.1.60.0100.04711.55
5.1.50.0100.02311.55
5.1.40.0070.05311.55
5.1.30.0000.06011.55
5.1.20.0100.04711.55
5.1.10.0070.05311.55
5.1.00.0070.05011.55
5.0.50.0000.05011.55
5.0.40.0000.04011.55
5.0.30.0030.07311.55
5.0.20.0000.04711.55
5.0.10.0000.05011.55
5.0.00.0000.03711.55
4.4.90.0000.02711.55
4.4.80.0030.03011.55
4.4.70.0070.02011.55
4.4.60.0000.02011.55
4.4.50.0030.03311.55
4.4.40.0000.02711.55
4.4.30.0030.01311.55
4.4.20.0100.02711.55
4.4.10.0030.03311.55
4.4.00.0030.05011.55
4.3.110.0100.02711.55
4.3.100.0070.03011.55
4.3.90.0070.03011.55
4.3.80.0000.04311.55
4.3.70.0000.03711.55
4.3.60.0070.03011.55
4.3.50.0070.03011.55
4.3.40.0030.05311.55
4.3.30.0000.02711.55
4.3.20.0000.02311.55
4.3.10.0030.01311.55
4.3.00.0100.02311.55

preferences:
51.32 ms | 401 KiB | 5 Q