3v4l.org

run code in 300+ PHP versions simultaneously
<?php function testArgs($foo = null, $bar = null) { return prinq_r($foo . ' - ' . $bar); } testArgs('1', '2', '3');

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.70.0100.00318.09
8.3.60.0100.01018.55
8.3.50.0120.00917.83
8.3.40.0100.00718.72
8.3.30.0120.00618.48
8.3.20.0050.00319.12
8.3.10.0090.00021.85
8.3.00.0030.00520.68
8.2.190.0040.01516.58
8.2.180.0160.00018.04
8.2.170.0150.00322.96
8.2.160.0030.01022.21
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0000.00719.64
8.2.120.0050.00326.35
8.2.110.0040.00419.30
8.2.100.0030.00718.22
8.2.90.0040.00417.50
8.2.80.0000.00817.97
8.2.70.0030.00617.80
8.2.60.0040.00418.09
8.2.50.0030.00518.10
8.2.40.0060.00319.34
8.2.30.0000.00719.09
8.2.20.0060.00318.06
8.2.10.0000.00818.08
8.2.00.0030.00517.65
8.1.280.0140.00325.92
8.1.270.0080.00023.84
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00322.02
8.1.230.0080.00418.88
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0000.00817.10
8.1.180.0050.00218.10
8.1.170.0000.00818.59
8.1.160.0030.00618.78
8.1.150.0050.00318.70
8.1.140.0030.00522.13
8.1.130.0030.00320.22
8.1.120.0000.00717.34
8.1.110.0000.00717.39
8.1.100.0000.00717.29
8.1.90.0070.00017.24
8.1.80.0000.00717.17
8.1.70.0000.00717.35
8.1.60.0040.00417.50
8.1.50.0040.00417.43
8.1.40.0000.00917.35
8.1.30.0000.01117.55
8.1.20.0050.00217.59
8.1.10.0060.00317.47
8.1.00.0070.00017.44
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0000.00718.26
8.0.270.0000.00717.07
8.0.260.0050.00318.29
8.0.250.0030.00316.96
8.0.240.0030.00316.95
8.0.230.0040.00416.94
8.0.220.0000.00916.79
8.0.210.0000.00816.79
8.0.200.0000.00717.00
8.0.190.0040.00416.92
8.0.180.0050.00316.91
8.0.170.0030.00616.80
8.0.160.0030.00316.91
8.0.150.0080.00416.85
8.0.140.0000.00716.74
8.0.130.0000.00513.28
8.0.120.0050.00316.74
8.0.110.0050.00216.85
8.0.100.0030.00516.79
8.0.90.0000.00816.72
8.0.80.0100.00816.89
8.0.70.0080.00016.80
8.0.60.0050.00316.76
8.0.50.0030.00316.83
8.0.30.0130.00517.04
8.0.20.0060.01217.40
8.0.10.0000.00716.94
8.0.00.0120.00516.82
7.4.330.0000.00515.55
7.4.320.0000.00616.48
7.4.300.0000.00616.34
7.4.290.0000.00716.56
7.4.280.0040.00416.32
7.4.270.0030.00316.39
7.4.260.0070.00016.52
7.4.250.0030.00316.39
7.4.240.0000.00716.46
7.4.230.0030.00316.43
7.4.220.0050.00216.42
7.4.210.0070.00716.53
7.4.200.0000.00716.65
7.4.160.0090.00816.46
7.4.140.0100.01117.86
7.4.130.0090.01316.30
7.4.120.0100.00816.60
7.4.110.0050.01416.59
7.4.100.0160.00316.48
7.4.90.0170.00316.39
7.4.80.0120.00919.39
7.4.70.0110.01116.60
7.4.60.0040.01216.37
7.4.50.0060.00616.36
7.4.40.0080.00816.26
7.4.00.0050.01314.69
7.3.330.0000.00513.23
7.3.320.0050.00013.23
7.3.310.0090.00016.15
7.3.300.0000.00616.25
7.3.290.0030.00316.31
7.3.280.0090.00716.29
7.3.260.0100.00816.40
7.3.240.0080.00916.41
7.3.230.0070.01016.39
7.3.210.0130.00316.44
7.3.200.0120.01216.31
7.3.190.0120.00616.32
7.3.180.0070.01016.55
7.3.170.0160.00016.34
7.3.160.0040.01216.55
7.3.120.0030.01014.77
7.3.110.0050.01114.94
7.3.100.0060.00914.88
7.3.90.0080.00814.77
7.3.80.0060.00914.82
7.3.70.0060.00614.60
7.3.60.0070.01014.77
7.3.50.0040.01014.87
7.3.40.0110.00014.67
7.3.30.0040.01014.65
7.3.20.0090.00616.61
7.3.10.0070.00616.70
7.3.00.0110.00316.68
7.2.330.0070.01016.21
7.2.320.0060.01516.48
7.2.310.0100.00616.65
7.2.300.0060.01316.68
7.2.290.0120.00616.31
7.2.250.0070.01314.56
7.2.240.0080.00714.93
7.2.230.0060.00714.95
7.2.220.0080.00714.93
7.2.210.0030.00914.76
7.2.200.0030.01015.09
7.2.190.0090.00514.90
7.2.180.0040.01114.86
7.2.170.0030.01114.83
7.2.160.0030.01214.88
7.2.150.0130.00316.46
7.2.140.0110.00716.87
7.2.130.0000.01716.95
7.2.120.0030.01316.75
7.2.110.0170.00515.65
7.2.100.0190.00415.61
7.2.90.0180.00915.49
7.2.80.0110.01015.54
7.2.70.0210.01015.76
7.2.60.0120.01015.70
7.2.50.0640.01215.88
7.2.40.0160.01215.76
7.2.30.0190.00315.63
7.2.20.0170.01015.78
7.2.10.0210.00915.89
7.2.00.0160.01215.70
7.1.330.0090.00515.63
7.1.320.0040.01015.67
7.1.310.0050.00715.38
7.1.300.0060.00915.67
7.1.290.0080.00715.76
7.1.280.0050.00715.62
7.1.270.0070.00415.43
7.1.260.0060.00915.55
7.1.250.0040.01115.52
7.1.230.0290.00313.69
7.1.220.0370.00013.44
7.1.210.0220.00313.48
7.1.200.0230.00313.86
7.1.190.0140.01013.70
7.1.180.0210.00613.54
7.1.170.0220.01013.74
7.1.160.0420.00613.52
7.1.150.0390.01613.40
7.1.140.0340.01013.77
7.1.130.0250.00613.48
7.1.120.0190.00613.74
7.1.110.0390.00713.71
7.1.100.0280.00013.76
7.1.90.0190.00613.83
7.1.80.0200.00713.62
7.1.70.0140.01013.58
7.1.60.0400.01331.66
7.1.50.0490.00631.70
7.1.40.0390.01031.75
7.1.30.0370.00931.49
7.1.20.0470.01031.77
7.1.10.0210.00913.74
7.1.00.0170.01013.69
5.6.380.0080.00813.89

preferences:
62.39 ms | 401 KiB | 5 Q