3v4l.org

run code in 200+ PHP versions simultaneously
<?php function foo(array $bar) { } foo(array());

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)
7.4.10.0080.00815.43
7.4.00.0070.01015.33
7.3.130.0080.00915.39
7.3.120.0100.00815.28
7.3.110.0070.01015.05
7.3.100.0090.00614.90
7.3.90.0090.00814.74
7.3.80.0070.00814.77
7.3.70.0080.00714.72
7.3.60.0090.00614.77
7.3.50.0080.00714.71
7.3.40.0100.00814.72
7.3.30.0090.00814.68
7.3.20.0210.00715.13
7.3.10.0260.00615.14
7.3.00.0290.00715.12
7.2.260.0080.01115.58
7.2.250.0110.00715.39
7.2.240.0110.00815.24
7.2.230.0090.00714.99
7.2.220.0080.00814.89
7.2.210.0080.00914.90
7.2.200.0080.00714.90
7.2.190.0090.00714.83
7.2.180.0070.00814.81
7.2.170.0080.00714.83
7.2.160.0090.00814.84
7.2.150.0210.01015.35
7.2.140.0220.00815.32
7.2.130.0240.00715.28
7.2.120.0250.00815.28
7.2.110.0230.00715.32
7.2.100.0280.00715.30
7.2.90.0240.00815.33
7.2.80.0230.00715.32
7.2.70.0250.00815.35
7.2.60.0250.00815.45
7.2.50.0360.00815.46
7.2.40.0300.00715.53
7.2.30.0300.00815.49
7.2.20.0330.00815.48
7.2.10.0260.00915.53
7.2.00.0290.00815.49
7.1.330.0120.00614.15
7.1.320.0230.00813.99
7.1.310.0160.00714.22
7.1.300.0130.00814.15
7.1.290.0170.00714.26
7.1.280.0130.00814.30
7.1.270.0150.00814.28
7.1.260.0150.00814.23
7.1.250.0250.00614.20
7.1.240.0280.00714.19
7.1.230.0320.00814.17
7.1.220.0320.00914.25
7.1.210.0280.00814.21
7.1.200.0270.00814.25
7.1.190.0270.00914.30
7.1.180.0250.00814.30
7.1.170.0380.00814.24
7.1.160.0310.00814.39
7.1.150.0310.00914.38
7.1.140.0350.00814.35
7.1.130.0320.00814.35
7.1.120.0310.00814.35
7.1.110.0300.00814.35
7.1.100.0280.00914.45
7.1.90.0320.00714.42
7.1.80.0300.00714.40
7.1.70.0230.00814.31
7.1.60.0330.00815.39
7.1.50.0260.00915.40
7.1.40.0310.00615.33
7.1.30.0230.00815.35
7.1.20.0240.00715.38
7.1.10.0240.00714.29
7.1.00.0300.00714.32
7.0.330.0290.00913.83
7.0.320.0170.01114.24
7.0.310.0090.01014.08
7.0.300.0110.00814.22
7.0.290.0140.00714.05
7.0.280.0100.00714.04
7.0.270.0150.00514.20
7.0.260.0160.00614.14
7.0.250.0090.01114.19
7.0.240.0190.01114.22
7.0.230.0110.00814.25
7.0.220.0120.00814.21
7.0.210.0120.00714.11
7.0.200.0130.00614.23
7.0.190.0110.00714.19
7.0.180.0120.00714.29
7.0.170.0140.00614.26
7.0.160.0090.01114.23
7.0.150.0190.00514.11
7.0.140.0120.00914.18
7.0.130.0120.01014.30
7.0.120.0060.01214.28
7.0.110.0090.01114.25
7.0.100.0130.01214.27
7.0.90.0120.00714.29
7.0.80.0120.00714.23
7.0.70.0130.00714.35
7.0.60.0100.00914.23
7.0.50.0100.00914.27
7.0.40.0110.00914.17
7.0.30.0090.01014.19
7.0.20.0080.00914.28
7.0.10.0100.00714.19
7.0.00.0120.00714.15
5.6.400.0200.00814.16
5.6.390.0100.00914.20
5.6.380.0110.00814.12
5.6.370.0090.01214.79
5.6.360.0110.01014.95
5.6.350.0090.01014.81
5.6.340.0150.00615.05
5.6.330.0100.00914.78
5.6.320.0110.01014.89
5.6.310.0130.01014.84
5.6.300.0170.00714.96
5.6.290.0120.01014.78
5.6.280.0130.00614.81
5.6.270.0110.00914.78
5.6.260.0080.01214.98
5.6.250.0120.01114.91
5.6.240.0080.01214.92
5.6.230.0100.01114.89
5.6.220.0070.01314.96
5.6.210.0120.01014.81
5.6.200.0130.00914.84
5.6.190.0100.01014.92
5.6.180.0060.01314.80
5.6.170.0090.01214.85
5.6.160.0140.00514.77
5.6.150.0110.00814.77
5.6.140.0090.01014.81
5.6.130.0140.00614.80
5.6.120.0160.00514.89
5.6.110.0090.01014.91
5.6.100.0100.01314.92
5.6.90.0140.00914.85
5.6.80.0080.01014.75
5.6.70.0090.01014.86
5.6.60.0150.00714.89
5.6.50.0130.00814.93
5.6.40.0090.01014.72
5.6.30.0090.01014.83
5.6.20.0120.00614.75
5.6.10.0070.01314.75
5.6.00.0120.00814.81
5.5.380.0090.01315.52
5.5.370.0120.00815.67
5.5.360.0060.01415.85
5.5.350.0100.01815.67
5.5.340.0120.01015.67
5.5.330.0110.00815.63
5.5.320.0070.01315.67
5.5.310.0110.01115.63
5.5.300.0120.00915.75
5.5.290.0090.01115.64
5.5.280.0100.01415.75
5.5.270.0090.01215.48
5.5.260.0140.00815.65
5.5.250.0110.00915.47
5.5.240.0080.01315.41
5.5.230.0100.01215.51
5.5.220.0150.00615.48
5.5.210.0080.01215.63
5.5.200.0090.01515.55
5.5.190.0140.00715.47
5.5.180.0100.01115.61
5.5.170.0130.00915.51
5.5.160.0090.01215.45
5.5.150.0100.01415.46
5.5.140.0130.00815.30
5.5.130.0150.00815.42
5.5.120.0100.01415.45
5.5.110.0130.01015.40
5.5.100.0130.00915.45
5.5.90.0140.01215.66
5.5.80.0130.00915.44
5.5.70.0090.01215.57
5.5.60.0090.01415.58
5.5.50.0100.01215.69
5.5.40.0090.01315.55
5.5.30.0150.00715.53
5.5.20.0080.01315.54
5.5.10.0070.01215.58
5.5.00.0090.01115.46
5.4.450.0080.00712.50
5.4.440.0090.00712.55
5.4.430.0050.01212.41
5.4.420.0090.00712.58
5.4.410.0140.00112.58
5.4.400.0070.00812.43
5.4.390.0070.00912.36
5.4.380.0090.00812.38
5.4.370.0040.01112.42
5.4.360.0060.00812.41
5.4.350.0070.00812.55
5.4.340.0060.00912.41
5.4.330.0090.00612.51
5.4.320.0130.00412.41
5.4.310.0110.00612.35
5.4.300.0050.00912.35
5.4.290.0090.00912.28
5.4.280.0060.01112.45
5.4.270.0080.00712.43
5.4.260.0070.00912.36
5.4.250.0130.00412.56
5.4.240.0040.01312.54
5.4.230.0110.00812.39
5.4.220.0110.00312.53
5.4.210.0060.01112.42
5.4.200.0090.01012.38
5.4.190.0070.00912.33
5.4.180.0050.01112.42
5.4.170.0070.00812.29
5.4.160.0130.00512.59
5.4.150.0100.00712.38
5.4.140.0090.00612.50
5.4.130.0100.00612.38
5.4.120.0030.01112.40
5.4.110.0140.00012.38
5.4.100.0110.00412.59
5.4.90.0070.00912.42
5.4.80.0040.01112.50
5.4.70.0110.00712.44
5.4.60.0120.00512.42
5.4.50.0110.00512.29
5.4.40.0130.00212.50
5.4.30.0080.00912.38
5.4.20.0080.00712.49
5.4.10.0130.00512.49
5.4.00.0060.01112.50
5.3.290.0050.01213.04
5.3.280.0120.00712.82
5.3.270.0080.00712.97
5.3.260.0100.00912.95
5.3.250.0130.00613.11
5.3.240.0070.00912.83
5.3.230.0130.00312.90
5.3.220.0070.00812.73
5.3.210.0060.01112.72
5.3.200.0150.00312.78
5.3.190.0040.01512.88
5.3.180.0080.00712.92
5.3.170.0090.00912.98
5.3.160.0120.00513.00
5.3.150.0130.00212.95
5.3.140.0080.00812.99
5.3.130.0110.00612.80
5.3.120.0140.00412.88
5.3.110.0090.00912.84
5.3.100.0050.01212.77
5.3.90.0070.01012.90
5.3.80.0120.00412.85
5.3.70.0060.01212.71
5.3.60.0080.00812.95
5.3.50.0100.00712.76
5.3.40.0120.00512.76
5.3.30.0090.01412.96
5.3.20.0090.00812.78
5.3.10.0060.01012.58
5.3.00.0100.00612.60
5.2.170.0110.00212.03
5.2.160.0050.00812.01
5.2.150.0090.00612.06
5.2.140.0050.00911.97
5.2.130.0100.00511.84
5.2.120.0080.00811.90
5.2.110.0060.01111.84
5.2.100.0070.00911.88
5.2.90.0030.01311.84
5.2.80.0070.01011.83
5.2.70.0080.00611.83
5.2.60.0070.00711.83
5.2.50.0040.01111.88
5.2.40.0080.00711.87
5.2.30.0090.00611.83
5.2.20.0070.00711.83
5.2.10.0070.00711.83
5.2.00.0080.00411.83
5.1.60.0060.00711.83
5.1.50.0090.00311.83
5.1.40.0070.00511.83
5.1.30.0060.00511.83
5.1.20.0040.00811.83
5.1.10.0050.00711.83
5.1.00.0060.00611.83
5.0.50.0070.00611.83
5.0.40.0060.00511.83
5.0.30.0060.00411.83
5.0.20.0040.00711.83
5.0.10.0080.00511.83
5.0.00.0030.00711.83
4.4.90.0040.00311.83
4.4.80.0070.00011.83
4.4.70.0050.00111.83
4.4.60.0040.00511.83
4.4.50.0030.00311.83
4.4.40.0050.00311.83
4.4.30.0030.00311.83
4.4.20.0030.00311.83
4.4.10.0040.00411.83
4.4.00.0060.00111.83
4.3.110.0020.00411.83
4.3.100.0020.00411.83
4.3.90.0060.00011.83
4.3.80.0040.00211.83
4.3.70.0050.00111.83
4.3.60.0100.00011.83
4.3.50.0020.00511.83
4.3.40.0050.00311.83
4.3.30.0020.00511.83
4.3.20.0010.00411.83
4.3.10.0020.00611.83
4.3.00.0060.00111.83