3v4l.org

run code in 300+ PHP versions simultaneously
<?php list( $first, $second, $third, $fourth ) = array( 0, 0, 0, 0 ); var_dump($first, $second, $third, $fourth );

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.0040.01116.50
8.3.50.0160.00316.25
8.3.40.0070.01118.64
8.3.30.0100.00318.59
8.3.20.0070.00021.73
8.3.10.0080.00021.81
8.3.00.0000.00817.77
8.2.180.0090.00625.92
8.2.170.0120.00322.96
8.2.160.0140.00019.21
8.2.150.0060.00325.66
8.2.140.0000.00824.66
8.2.130.0090.00626.16
8.2.120.0040.00421.04
8.2.110.0060.00319.36
8.2.100.0000.01117.59
8.2.90.0000.00719.31
8.2.80.0000.00817.97
8.2.70.0050.00317.63
8.2.60.0000.00818.05
8.2.50.0000.00918.07
8.2.40.0040.00418.35
8.2.30.0040.00418.03
8.2.20.0040.00417.91
8.2.10.0000.00717.92
8.2.00.0040.00417.91
8.1.280.0090.00625.92
8.1.270.0070.00024.66
8.1.260.0060.00326.35
8.1.250.0060.00328.09
8.1.240.0050.00522.68
8.1.230.0070.00317.83
8.1.220.0030.00517.74
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0090.00017.23
8.1.180.0040.00418.10
8.1.170.0080.00018.52
8.1.160.0000.00818.69
8.1.150.0000.00918.56
8.1.140.0000.00719.45
8.1.130.0000.00718.66
8.1.120.0000.00717.40
8.1.110.0000.00717.27
8.1.100.0040.00417.27
8.1.90.0070.00017.40
8.1.80.0030.00517.43
8.1.70.0030.00317.43
8.1.60.0060.00317.37
8.1.50.0040.00417.46
8.1.40.0000.00917.43
8.1.30.0000.00817.58
8.1.20.0040.00417.52
8.1.10.0040.00417.50
8.1.00.0000.00717.49
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0070.00018.36
8.0.270.0040.00418.47
8.0.260.0000.00617.22
8.0.250.0030.00316.85
8.0.240.0040.00416.74
8.0.230.0000.00816.86
8.0.220.0000.00716.75
8.0.210.0000.00816.83
8.0.200.0030.00316.79
8.0.190.0000.00816.92
8.0.180.0040.00416.87
8.0.170.0030.00316.88
8.0.160.0000.00716.73
8.0.150.0050.00316.73
8.0.140.0040.00316.70
8.0.130.0000.00513.24
8.0.120.0050.00316.68
8.0.110.0000.00716.88
8.0.100.0040.00416.76
8.0.90.0040.00416.86
8.0.80.0150.01016.86
8.0.70.0030.00516.86
8.0.60.0080.00016.72
8.0.50.0040.00416.64
8.0.30.0090.01116.90
8.0.20.0050.01417.40
8.0.10.0040.00417.00
8.0.00.0030.01416.71
7.4.330.0020.00215.55
7.4.320.0000.00616.35
7.4.300.0070.00016.39
7.4.290.0040.00416.42
7.4.280.0040.00416.51
7.4.270.0070.00016.53
7.4.260.0020.00516.50
7.4.250.0050.00216.39
7.4.240.0040.00416.44
7.4.230.0000.00716.55
7.4.220.0070.01016.36
7.4.210.0090.00616.48
7.4.200.0040.00416.60
7.4.150.0120.00617.40
7.4.140.0120.00817.86
7.4.130.0070.01616.33
7.4.120.0120.00716.40
7.4.110.0110.00916.33
7.4.100.0090.01316.39
7.4.90.0110.00616.38
7.4.80.0100.00717.91
7.4.70.0070.00916.46
7.4.60.0110.00916.36
7.4.50.0030.01516.43
7.4.40.0130.00816.36
7.4.30.0030.01216.51
7.4.20.0080.00816.51
7.4.10.0100.00616.20
7.4.00.0100.00615.49
7.3.330.0000.00612.95
7.3.320.0000.00512.94
7.3.310.0030.00316.21
7.3.300.0040.00416.23
7.3.290.0070.00716.16
7.3.280.0110.00616.17
7.3.270.0120.00617.40
7.3.260.0070.01216.38
7.3.250.0100.01116.31
7.3.240.0050.01216.20
7.3.230.0100.00616.35
7.3.220.0090.00916.36
7.3.210.0090.00417.27
7.3.200.0120.00716.17
7.3.190.0070.01016.14
7.3.180.0100.00616.29
7.3.170.0080.01116.30
7.3.160.0100.00716.24
7.3.150.0030.01216.13
7.3.140.0100.00716.30
7.3.130.0120.00416.15
7.3.120.0110.00615.48
7.3.110.0050.01115.38
7.3.100.0110.00415.49
7.3.90.0070.01015.51
7.3.80.0060.01215.38
7.3.70.0090.00715.38
7.3.60.0060.00815.48
7.3.50.0060.00915.48
7.3.40.0090.00515.33
7.3.30.0100.00615.30
7.3.20.0070.00916.40
7.3.10.0100.00716.38
7.3.00.0120.00716.13
7.2.340.0070.01016.67
7.2.330.0070.01116.35
7.2.320.0090.00816.36
7.2.310.0150.00816.41
7.2.300.0100.00916.30
7.2.290.0130.00416.57
7.2.280.0060.00916.61
7.2.270.0100.00716.45
7.2.260.0110.00516.50
7.2.250.0120.00615.53
7.2.240.0120.00715.74
7.2.230.0070.01215.56
7.2.220.0080.00515.50
7.2.210.0020.01115.54
7.2.200.0050.01215.69
7.2.190.0080.00815.60
7.2.180.0100.00615.54
7.2.170.0080.01015.51
7.2.160.0070.00815.51
7.2.150.0090.00816.51
7.2.140.0090.00716.59
7.2.130.0110.00516.63
7.2.120.0110.00516.47
7.2.110.0110.00616.44
7.2.100.0500.00815.92
7.2.90.0380.00615.95
7.2.80.0350.00715.99
7.2.70.0330.00815.92
7.2.60.0240.00916.20
7.2.50.0330.00616.14
7.2.40.0360.00916.39
7.2.30.0370.00816.39
7.2.20.0400.01116.40
7.2.10.0380.00816.33
7.2.00.0280.01117.02
7.1.330.0080.01115.69
7.1.320.0110.00615.65
7.1.310.0090.00915.72
7.1.300.0050.01215.43
7.1.290.0060.00615.47
7.1.280.0080.00815.50
7.1.270.0070.00815.55
7.1.260.0040.01115.51
7.1.250.0020.01415.51
7.1.240.0030.00915.35
7.1.230.0070.00515.41
7.1.220.0330.00714.88
7.1.210.0390.00614.97
7.1.200.0270.00615.15
7.1.190.0330.00814.94
7.1.180.0390.00514.92
7.1.170.0270.00714.88
7.1.160.0350.01115.28
7.1.150.0560.01315.43
7.1.140.0330.01015.39
7.1.130.0370.00715.34
7.1.120.0320.00815.28
7.1.110.0310.00815.33
7.1.100.0290.00815.79
7.1.90.0350.01115.16
7.1.80.0500.00815.19
7.1.70.0290.00615.36
7.1.60.0400.01122.59
7.1.50.0360.01326.04
7.1.40.0440.01125.78
7.1.30.0430.00925.75
7.1.20.0470.00725.89
7.1.10.0340.00815.20
7.1.00.0350.00515.11
7.0.330.0120.00915.09
7.0.320.0130.01315.13
7.0.310.0350.00714.52
7.0.300.0370.00514.39
7.0.290.0400.00815.06
7.0.280.0370.00514.53
7.0.270.0460.00814.88
7.0.260.0390.00815.14
7.0.250.0390.00514.99
7.0.240.0450.00814.93
7.0.230.0360.00914.95
7.0.220.0480.00715.02
7.0.210.0450.00914.59
7.0.200.0300.01015.10
7.0.190.0350.00615.07
7.0.180.0370.01014.86
7.0.170.0400.00814.76
7.0.160.0400.00814.86
7.0.150.0880.00714.73
7.0.140.0410.01314.81
7.0.130.0380.00715.03
7.0.120.0350.00914.87
7.0.110.0380.00914.94
7.0.100.0350.01214.83
7.0.90.0390.00914.85
7.0.80.0380.00814.91
7.0.70.0390.00514.78
7.0.60.0390.00414.79
7.0.50.0380.00815.00
7.0.40.0350.00714.51
7.0.30.0430.00914.57
7.0.20.0320.00914.59
7.0.10.0340.00714.52
7.0.00.0370.00914.60
5.6.400.0140.00814.95
5.6.390.0170.00614.98
5.6.380.0100.01014.46
5.6.370.0100.01114.86
5.6.360.0130.00814.63
5.6.350.0120.00614.79
5.6.340.0150.00714.73
5.6.330.0110.01114.58
5.6.320.0140.00914.89
5.6.310.0160.00314.74
5.6.300.0120.03017.18
5.6.290.0140.02717.22
5.6.280.0130.03117.12
5.6.270.0140.02817.16
5.6.260.0180.02817.16
5.6.250.0160.03017.12
5.6.240.0140.03017.09
5.6.230.0160.02817.09
5.6.220.0140.02917.14
5.6.210.0140.03117.22
5.6.200.0140.02817.09
5.6.190.0130.03017.08
5.6.180.0140.02817.19
5.6.170.0120.03217.13
5.6.160.0130.03217.05
5.6.150.0150.02717.02
5.6.140.0110.03017.12
5.6.130.0120.02616.99
5.6.120.0140.02617.10
5.6.110.0120.02917.10
5.6.100.0140.02717.03
5.6.90.0120.03017.07
5.6.80.0100.02916.69
5.6.70.0140.02816.79
5.6.60.0140.02916.79
5.6.50.0100.02916.80
5.6.40.0130.02716.85
5.6.30.0120.02816.86
5.6.20.0100.03216.89
5.6.10.0150.02416.85
5.6.00.0150.02416.74

preferences:
56.6 ms | 400 KiB | 5 Q