3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'paypal_merchant_email="sample@ymail.com"|paypal_verified_only="0"|payment_currency=""|sandbox="1"|sandbox_merchant_email="sample@ymail.com"|payment_logos=""|debug="0"|status_pending="W"|status_success="O"|status_canceled="D"|countries=""|min_amount="0"|max_amount="0"|secure_post=""|ipn_test=""|no_shipping="0"|address_override="0"|cost_per_transaction="0"|cost_percent_total="0"|tax_id=0|'; preg_match_all('/\|(.*?)="(.*?)"/', '|'.$string, $matches); $result = array_combine($matches[1], $matches[2]); 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.130.0030.00516.75
8.3.120.0090.00618.95
8.3.110.0040.00716.80
8.3.100.0030.00618.27
8.3.90.0080.00026.77
8.3.80.0060.00316.63
8.3.70.0120.00318.55
8.3.60.0120.00618.40
8.3.50.0130.00618.32
8.3.40.0070.00718.84
8.3.30.0120.00618.87
8.3.20.0070.00020.34
8.3.10.0080.00021.04
8.3.00.0050.00220.77
8.2.250.0060.01018.45
8.2.240.0060.01217.17
8.2.230.0030.00520.94
8.2.220.0060.00324.06
8.2.210.0000.00726.77
8.2.200.0000.00918.79
8.2.190.0090.00917.00
8.2.180.0120.00625.92
8.2.170.0110.00719.05
8.2.160.0100.00322.96
8.2.150.0060.00324.18
8.2.140.0070.00024.66
8.2.130.0080.00019.02
8.2.120.0040.00426.35
8.2.110.0100.00021.12
8.2.100.0030.01018.09
8.2.90.0060.00319.20
8.2.80.0060.00317.97
8.2.70.0090.00017.88
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0050.00319.94
8.2.30.0040.00418.17
8.2.20.0040.00418.06
8.2.10.0000.00718.15
8.2.00.0040.00418.22
8.1.300.0070.00716.26
8.1.290.0090.00030.84
8.1.280.0070.01125.92
8.1.270.0080.00022.18
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0100.00022.68
8.1.230.0080.00817.70
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0040.00817.48
8.1.190.0030.00717.35
8.1.180.0040.00418.10
8.1.170.0090.00018.78
8.1.160.0030.00518.91
8.1.150.0070.00018.86
8.1.140.0000.00819.50
8.1.130.0070.00018.96
8.1.120.0000.00817.57
8.1.110.0000.00817.54
8.1.100.0000.00717.51
8.1.90.0000.00717.55
8.1.80.0070.00017.52
8.1.70.0020.00517.59
8.1.60.0060.00317.71
8.1.50.0000.00717.55
8.1.40.0060.00317.62
8.1.30.0080.00017.71
8.1.20.0000.00717.70
8.1.10.0050.00217.70
8.1.00.0000.00717.52
8.0.300.0000.00718.77
8.0.290.0000.00816.88
8.0.280.0040.00418.43
8.0.270.0000.00817.22
8.0.260.0000.00719.14
8.0.250.0030.00317.04
8.0.240.0000.00717.14
8.0.230.0000.00716.97
8.0.220.0020.00516.96
8.0.210.0030.00517.08
8.0.200.0030.00317.13
8.0.190.0040.00717.12
8.0.180.0000.00717.10
8.0.170.0040.00417.08
8.0.160.0020.00516.89
8.0.150.0070.00016.88
8.0.140.0000.00717.00
8.0.130.0000.00513.44
8.0.120.0040.00416.95
8.0.110.0050.00316.99
8.0.100.0040.00416.94
8.0.90.0000.00716.80
8.0.80.0060.01216.91
8.0.70.0030.00517.00
8.0.60.0050.00216.90
8.0.50.0040.00417.04
8.0.30.0120.01017.05
8.0.20.0110.00817.42
8.0.10.0050.00217.02
8.0.00.0060.01216.96
7.4.330.0050.00015.55
7.4.320.0040.00416.66
7.4.300.0070.00016.55
7.4.290.0070.00016.53
7.4.280.0050.00316.66
7.4.270.0040.00416.77
7.4.260.0080.00416.57
7.4.250.0040.00416.64
7.4.240.0040.00416.80
7.4.230.0070.00016.75
7.4.220.0140.00316.85
7.4.210.0100.00516.79
7.4.200.0000.00716.66
7.4.160.0090.01116.60
7.4.150.0120.00617.40
7.4.140.0080.01217.86
7.4.130.0120.00616.64
7.4.120.0120.00616.64
7.4.110.0030.01416.70
7.4.100.0130.01016.51
7.4.90.0140.00316.73
7.4.80.0120.00819.39
7.4.70.0110.00616.78
7.4.60.0080.00816.64
7.4.50.0100.00716.57
7.4.40.0030.01316.58
7.4.30.0030.01516.48
7.4.00.0070.01215.03
7.3.330.0000.00613.26
7.3.320.0000.00513.33
7.3.310.0040.00416.45
7.3.300.0030.00316.45
7.3.290.0000.00716.33
7.3.280.0080.01016.41
7.3.270.0180.00017.40
7.3.260.0110.00616.79
7.3.250.0110.01116.50
7.3.240.0080.00916.74
7.3.230.0080.00816.68
7.3.210.0100.00616.75
7.3.200.0130.00316.65
7.3.190.0090.01216.41
7.3.180.0100.00716.36
7.3.170.0160.02416.72
7.3.160.0070.01316.54
7.3.120.0070.01114.95
7.3.110.0070.01115.04
7.3.100.0090.00614.89
7.3.90.0060.00714.91
7.3.80.0050.00914.97
7.3.70.0030.00615.06
7.3.60.0060.01014.93
7.3.50.0070.00614.93
7.3.40.0050.00614.85
7.3.30.0050.00714.85
7.3.20.0030.01216.82
7.3.10.0070.01016.91
7.3.00.0040.00916.83
7.2.330.0060.01216.55
7.2.320.0110.01116.71
7.2.310.0130.00916.84
7.2.300.0030.01316.82
7.2.290.0130.00316.59
7.2.250.0050.01415.15
7.2.240.0030.01615.06
7.2.230.0080.00714.92
7.2.220.0060.00914.91
7.2.210.0070.00515.21
7.2.200.0020.01115.08
7.2.190.0090.00415.04
7.2.180.0050.01115.00
7.2.170.0030.00815.08
7.2.160.0070.01014.77
7.2.150.0080.00816.88
7.2.140.0080.00617.18
7.2.130.0040.01216.91
7.2.120.0070.00716.88
7.2.110.0070.00416.79
7.2.100.0030.01017.05
7.2.90.0120.00316.86
7.2.80.0040.01116.81
7.2.70.0030.01017.11
7.2.60.0050.01017.08
7.2.50.0060.01216.76
7.2.40.0000.01517.00
7.2.30.0100.00616.91
7.2.20.0080.00816.98
7.2.10.0000.01216.71
7.2.00.0090.00616.99
7.1.330.0100.00716.04
7.1.320.0020.01516.13
7.1.310.0070.00516.09
7.1.300.0080.00516.05
7.1.290.0030.00815.99
7.1.280.0050.00815.86
7.1.270.0050.00816.07
7.1.260.0100.00316.08
7.1.250.0070.00716.02
7.1.240.0030.00715.91
7.1.230.0030.00715.93
7.1.220.0000.01016.02
7.1.210.0060.00615.77
7.1.200.0050.00815.85
7.1.190.0030.00615.84
7.1.180.0090.00616.00
7.1.170.0060.01015.84
7.1.160.0070.00715.77
7.1.150.0070.00715.88
7.1.140.0040.01115.99
7.1.130.0110.00416.12
7.1.120.0040.01115.65
7.1.110.0030.00616.20
7.1.100.0030.00915.91
7.1.90.0070.01015.70
7.1.80.0000.01316.11
7.1.70.0330.00815.68
7.1.60.0540.01224.77
7.1.50.0430.01024.41
7.1.40.0500.00924.26
7.1.30.0480.01024.46
7.1.20.0520.00224.42
7.1.10.0360.00615.42
7.1.00.0410.01015.30
7.0.330.0030.01315.69
7.0.320.0090.00315.46
7.0.310.0080.00815.39
7.0.300.0090.00015.31
7.0.290.0000.01415.58
7.0.280.0090.00615.76
7.0.270.0090.00615.33
7.0.260.0040.00715.41
7.0.250.0040.00715.45
7.0.240.0090.00315.61
7.0.230.0040.00415.40
7.0.220.0000.01315.55
7.0.210.0000.01415.52
7.0.200.0490.00815.15
7.0.190.1080.01015.32
7.0.180.0490.00615.17
7.0.170.0420.00914.94
7.0.160.0360.00915.03
7.0.150.0370.00615.07
7.0.140.0480.01015.18
7.0.130.0340.01215.23
7.0.120.0340.00815.32
7.0.110.0450.00715.03
7.0.100.0380.01015.26
7.0.90.0370.00915.30
7.0.80.0360.00715.12
7.0.70.0450.00715.14
7.0.60.0330.01214.90
7.0.50.0370.00615.04
7.0.40.0320.01014.25
7.0.30.0370.00614.35
7.0.20.0380.00514.02
7.0.10.0390.00814.22
7.0.00.0370.00814.16
5.6.400.0070.00714.35
5.6.390.0030.01314.33
5.6.380.0060.00314.35
5.6.370.0070.00414.69
5.6.360.0000.01614.45
5.6.350.0030.00614.66
5.6.340.0060.00914.46
5.6.330.0060.01014.30
5.6.320.0090.00614.49
5.6.310.0000.00914.33
5.6.300.0030.01114.39
5.6.290.0040.00714.45
5.6.280.0100.00014.41
5.6.270.0030.00714.37
5.6.260.0030.01314.71
5.6.250.0060.00614.33
5.6.240.0000.01014.41
5.6.230.0110.00314.19
5.6.220.0060.00314.25
5.6.210.0060.00614.35
5.6.200.0050.00514.13
5.6.190.0070.00714.45
5.6.180.0030.00614.40
5.6.170.0050.00514.35
5.6.160.0100.00514.31
5.6.150.0100.00314.55
5.6.140.0030.01014.38
5.6.130.0030.01214.05
5.6.120.0060.00914.20
5.6.110.0090.00614.37
5.6.100.0060.00314.28
5.6.90.0060.01014.03
5.6.80.0040.01114.25
5.6.70.0040.01414.46
5.6.60.0070.00714.25
5.6.50.0000.01614.11
5.6.40.0060.00614.51
5.6.30.0090.00614.22
5.6.20.0060.00914.50
5.6.10.0060.00314.27
5.6.00.0100.00714.50

preferences:
28.46 ms | 403 KiB | 5 Q