3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array_rand([]));

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.4.130.0390.00917.63
8.4.120.0410.00917.73
8.4.110.0410.00917.51
8.4.100.0380.01017.44
8.4.90.0400.00917.71
8.4.80.0400.00917.59
8.4.70.0390.00617.72
8.4.60.0380.01017.73
8.4.50.0420.00817.72
8.4.40.0380.00817.37
8.4.30.0300.00717.54
8.4.20.0330.00717.74
8.4.10.0300.00817.61
8.3.260.0140.00616.53
8.3.250.0310.00616.27
8.3.240.0330.00516.36
8.3.230.0300.00616.56
8.3.220.0440.00816.47
8.3.210.0370.00916.48
8.3.200.0360.00916.59
8.3.190.0370.01016.67
8.3.180.0430.01016.29
8.3.170.0370.01216.58
8.3.160.0420.00716.72
8.3.150.0390.01216.51
8.3.140.0400.01016.34
8.3.130.0350.00816.36
8.3.120.0330.00916.31
8.3.110.0360.00816.45
8.3.100.0420.01016.46
8.3.90.0340.00816.28
8.3.80.0380.01116.38
8.3.70.0360.00716.61
8.3.60.0400.00616.44
8.3.50.0380.00916.57
8.3.40.0380.00917.45
8.3.30.0340.00917.53
8.3.20.0350.00717.35
8.3.10.0320.00917.47
8.3.00.0390.00717.37
8.2.290.0290.00916.50
8.2.280.0300.00816.63
8.2.270.0290.01116.38
8.2.260.0330.00916.60
8.2.250.0330.01016.56
8.2.240.0350.00816.54
8.2.230.0320.00916.59
8.2.220.0360.01016.33
8.2.210.0330.00916.42
8.2.200.0350.00916.28
8.2.190.0310.00716.55
8.2.180.0300.00816.62
8.2.170.0340.00817.64
8.2.160.0440.00417.74
8.2.150.0330.00817.47
8.2.140.0370.00717.30
8.2.130.0390.00517.42
8.2.120.0350.01017.36
8.2.110.0400.00617.29
8.2.100.0360.00717.49
8.2.90.0230.00817.52
8.2.80.0260.00817.34
8.2.70.0190.00517.44
8.2.60.0210.00717.37
8.2.50.0230.00817.36
8.2.40.0180.00517.42
8.2.30.0170.00717.46
8.2.20.0160.00617.50
8.2.10.0160.00817.35
8.2.00.0170.00717.38
8.1.330.0290.00515.73
8.1.320.0240.00616.13
8.1.310.0250.00516.07
8.1.300.0210.00815.99
8.1.290.0240.00715.94
8.1.280.0250.00415.98
8.1.270.0240.00517.31
8.1.260.0300.00616.99
8.1.250.0220.00717.13
8.1.240.0220.00616.97
8.1.230.0230.00717.06
8.1.220.0210.00717.24
8.1.210.0200.00817.04
8.1.200.0180.00717.05
8.1.190.0160.00916.89
8.1.180.0170.00716.98
8.1.170.0150.00717.24
8.1.160.0140.00817.20
8.1.150.0170.00617.14
8.1.140.0140.00717.18
8.1.130.0150.00617.20
8.1.120.0170.00617.25
8.1.110.0160.00717.17
8.1.100.0170.00517.31
8.1.90.0140.00817.23
8.1.80.0170.00417.22
8.1.70.0130.00717.25
8.1.60.0120.00817.36
8.1.50.0180.00517.32
8.1.40.0170.00817.32
8.1.30.0150.00817.37
8.1.20.0200.00417.44
8.1.10.0160.00717.42
8.1.00.0170.00617.34
8.0.300.0200.00716.55
8.0.290.0210.00616.48
8.0.280.0160.00616.78
8.0.270.0160.00716.73
8.0.260.0160.00716.84
8.0.250.0150.00716.88
8.0.240.0160.00616.76
8.0.230.0160.00716.85
8.0.220.0180.00316.77
8.0.210.0150.00616.80
8.0.200.0160.00516.89
8.0.190.0170.00516.80
8.0.180.0170.00516.81
8.0.170.0140.00616.79
8.0.160.0160.00516.84
8.0.150.0160.00516.75
8.0.140.0170.00416.87
8.0.130.0160.00616.70
8.0.120.0150.00616.86
8.0.110.0150.00616.79
8.0.100.0150.00616.80
8.0.90.0150.00516.83
8.0.80.0130.00716.75
8.0.70.0160.00516.73
8.0.60.0160.00516.83
8.0.50.0170.00416.79
8.0.30.0140.00616.79
8.0.20.0140.00616.91
8.0.10.0150.00516.85
8.0.00.0110.00717.02
7.4.330.0150.00216.15
7.4.320.0140.00616.41
7.4.300.0130.00616.41
7.4.290.0150.00916.38
7.4.280.0200.00416.52
7.4.270.0150.00616.45
7.4.260.0160.00616.37
7.4.250.0190.00516.38
7.4.240.0190.00416.44
7.4.230.0150.00316.42
7.4.220.0180.00416.44
7.4.210.0180.00516.35
7.4.200.0170.00516.43
7.4.190.0160.00516.46
7.4.180.0170.00516.45
7.4.160.0150.00616.48
7.4.150.0130.00816.47
7.4.140.0150.00716.49
7.4.130.0150.00816.51
7.4.120.0160.00616.44
7.4.110.0150.00516.44
7.4.100.0170.00416.54
7.4.90.0140.00916.49
7.4.80.0140.00716.45
7.4.70.0150.00716.50
7.4.60.0160.00616.51
7.4.50.0160.00516.45
7.4.40.0170.00516.39
7.4.30.0150.00716.45
7.4.20.0150.00816.39
7.4.10.0140.00616.45
7.4.00.0140.00516.32
7.3.330.0180.00416.24
7.3.320.0190.00416.19
7.3.310.0200.00316.23
7.3.300.0160.00716.20
7.3.290.0180.00416.23
7.3.280.0150.00716.22
7.3.270.0150.00616.29
7.3.260.0180.00616.41
7.3.250.0190.00716.32
7.3.240.0180.00616.40
7.3.230.0200.00516.41
7.3.220.0180.00716.37
7.3.210.0250.00616.30
7.3.200.0170.00616.40
7.3.190.0160.00516.36
7.3.180.0140.00716.31
7.3.170.0190.00516.38
7.3.160.0160.00716.27
7.3.150.0180.00616.40
7.3.140.0150.00716.29
7.3.130.0150.00816.36
7.3.120.0160.00616.04
7.3.110.0150.00716.10
7.3.100.0140.00615.94
7.3.90.0130.00616.07
7.3.80.0140.00715.97
7.3.70.0140.00715.99
7.3.60.0130.00716.01
7.3.50.0120.00716.00
7.3.40.0140.00616.03
7.3.30.0140.00716.01
7.3.20.0130.00816.77
7.3.10.0120.00816.71
7.3.00.0130.00716.68
7.2.340.0200.00616.37
7.2.330.0200.00516.34
7.2.320.0180.00616.46
7.2.310.0180.00516.34
7.2.300.0170.00716.43
7.2.290.0180.00716.41
7.2.280.0150.00916.37
7.2.270.0160.00716.40
7.2.260.0170.00516.36
7.2.250.0140.00816.21
7.2.240.0160.00816.09
7.2.230.0150.00916.06
7.2.220.0150.00716.07
7.2.210.0140.00716.07
7.2.200.0130.00916.07
7.2.190.0130.00816.02
7.2.180.0150.00716.05
7.2.170.0130.00816.14
7.2.160.0140.00716.23
7.2.150.0140.00816.78
7.2.140.0150.00716.82
7.2.130.0140.00716.85
7.2.120.0150.00816.78
7.2.110.0160.00816.82
7.2.100.0140.00716.85
7.2.90.0150.00916.76
7.2.80.0160.00716.88
7.2.70.0150.00816.79
7.2.60.0150.00816.71
7.2.50.0140.00916.78
7.2.40.0180.00716.78
7.2.30.0150.00716.86
7.2.20.0190.00716.88
7.2.10.0150.00916.87
7.2.00.0140.00816.97
7.1.330.0180.00716.23
7.1.320.0160.00716.03
7.1.310.0150.00816.07
7.1.300.0180.00516.06
7.1.290.0170.00616.05
7.1.280.0160.00816.04
7.1.270.0160.00616.05
7.1.260.0170.00716.05
7.1.250.0200.00516.02
7.1.240.0210.00716.00
7.1.230.0190.00616.06
7.1.220.0170.00716.04
7.1.210.0170.00616.02
7.1.200.0160.00816.10
7.1.190.0190.00416.01
7.1.180.0210.00515.97
7.1.170.0170.00616.04
7.1.160.0160.00816.03
7.1.150.0150.00716.07
7.1.140.0180.00716.06
7.1.130.0170.00516.01
7.1.120.0170.00716.04
7.1.110.0180.00716.00
7.1.100.0140.00716.02
7.1.90.0140.00816.01
7.1.80.0150.00716.04
7.1.70.0220.00816.03
7.1.60.0170.00716.28
7.1.50.0180.00816.06
7.1.40.0160.00616.02
7.1.30.0170.00716.02
7.1.20.0170.00716.00
7.1.10.0180.00616.03
7.1.00.0150.01116.46
7.0.330.0150.00615.85
7.0.320.0170.00515.75
7.0.310.0150.00715.73
7.0.300.0150.00615.81
7.0.290.0160.00815.76
7.0.280.0170.00715.75
7.0.270.0170.00715.78
7.0.260.0160.00815.76
7.0.250.0140.00815.86
7.0.240.0160.00615.83
7.0.230.0210.00715.79
7.0.220.0180.00515.79
7.0.210.0160.00615.75
7.0.200.0170.00715.76
7.0.190.0150.00715.73
7.0.180.0150.00615.80
7.0.170.0160.00615.90
7.0.160.0160.00715.77
7.0.150.0170.00715.76
7.0.140.0170.00615.77
7.0.130.0150.00715.82
7.0.120.0220.00715.80
7.0.110.0140.00915.75
7.0.100.0160.00916.01
7.0.90.0220.01016.03
7.0.80.0170.01115.97
7.0.70.0200.01015.98
7.0.60.0160.00915.99
7.0.50.0140.01116.05
7.0.40.0160.01015.92
7.0.30.0160.01315.94
7.0.20.0160.01015.94
7.0.10.0200.01015.99
7.0.00.0170.01015.95
5.6.400.0150.00715.82
5.6.390.0160.00615.71
5.6.380.0150.00715.62
5.6.370.0150.00815.63
5.6.360.0160.00715.62
5.6.350.0150.00815.63
5.6.340.0150.01015.68
5.6.330.0160.00915.67
5.6.320.0160.00715.62
5.6.310.0150.00715.63
5.6.300.0160.00615.55
5.6.290.0170.00715.67
5.6.280.0150.01115.99
5.6.270.0160.00815.63
5.6.260.0150.00915.60
5.6.250.0150.01015.98
5.6.240.0160.00916.05
5.6.230.0150.01116.00
5.6.220.0150.01016.00
5.6.210.0130.01216.00
5.6.200.0150.01116.07
5.6.190.0150.01316.10
5.6.180.0150.01316.11
5.6.170.0160.00816.08
5.6.160.0170.01016.07
5.6.150.0150.01116.05
5.6.140.0140.01316.05
5.6.130.0150.01216.07
5.6.120.0160.01116.04
5.6.110.0150.01016.03
5.6.100.0140.01115.99
5.6.90.0160.01216.01
5.6.80.0150.01115.94
5.6.70.0120.01415.96
5.6.60.0140.01316.02
5.6.50.0150.00915.90
5.6.40.0150.01015.99
5.6.30.0140.00915.97
5.6.20.0140.01215.89
5.6.10.0130.01315.96
5.6.00.0140.01215.93
5.5.380.0140.00915.79
5.5.370.0160.01115.78
5.5.360.0160.01115.67
5.5.350.0140.01115.76
5.5.340.0150.01015.72
5.5.330.0140.01115.78
5.5.320.0160.01115.67
5.5.310.0150.01015.76
5.5.300.0150.00915.75
5.5.290.0130.01315.74
5.5.280.0150.01215.75
5.5.270.0150.01115.73
5.5.260.0130.01315.67
5.5.250.0150.01215.79
5.5.240.0150.01215.69
5.5.230.0160.00915.71
5.5.220.0130.01215.75
5.5.210.0140.01215.74
5.5.200.0130.01015.66
5.5.190.0150.01115.63
5.5.180.0150.00815.65
5.5.170.0140.00715.34
5.5.160.0130.01315.60
5.5.150.0130.01215.58
5.5.140.0150.01115.60
5.5.130.0140.00915.56
5.5.120.0140.01115.63
5.5.110.0110.01315.59
5.5.100.0120.01315.68
5.5.90.0130.01115.68
5.5.80.0140.00915.70
5.5.70.0150.01015.61
5.5.60.0130.01115.68
5.5.50.0120.01115.61
5.5.40.0120.01215.63
5.5.30.0120.01315.67
5.5.20.0150.01115.70
5.5.10.0120.01215.67
5.5.00.0120.01015.62

preferences:
31.49 ms | 403 KiB | 5 Q