3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(00001, 00008, 00009, 00012); print_r($a);

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.120.0060.00618.96
8.3.110.0140.01116.79
8.3.100.0230.00316.59
8.3.90.0170.00916.34
8.3.80.0230.00416.45
8.3.70.0180.00716.77
8.3.60.0230.00316.53
8.3.50.0200.00716.24
8.3.40.0150.00417.56
8.3.30.0160.00620.14
8.3.20.0160.00520.15
8.3.10.0110.00721.41
8.3.00.0130.00121.15
8.2.240.0150.00618.07
8.2.230.0170.00516.34
8.2.220.0150.00916.55
8.2.210.0180.00416.02
8.2.200.0140.00716.13
8.2.190.0210.00318.27
8.2.180.0130.00916.35
8.2.170.0170.00717.34
8.2.160.0130.00720.13
8.2.150.0120.00820.13
8.2.140.0100.00919.98
8.2.130.0150.00619.99
8.2.120.0110.01020.04
8.2.110.0110.01120.00
8.2.100.0120.00720.05
8.2.90.0150.00320.19
8.2.80.0140.00620.03
8.2.70.0100.01119.96
8.2.60.0150.00720.91
8.2.50.0150.00520.06
8.2.40.0120.00720.11
8.2.30.0080.00519.58
8.2.20.0140.00220.05
8.2.10.0110.00520.02
8.2.00.0110.00920.11
8.1.310.0170.00316.04
8.1.290.0120.00815.87
8.1.280.0160.00315.97
8.1.270.0160.00519.96
8.1.260.0140.00619.94
8.1.250.0110.00719.96
8.1.240.0110.00720.01
8.1.230.0110.00619.84
8.1.220.0160.00219.94
8.1.210.0100.00719.94
8.1.200.0110.00620.71
8.1.190.0130.00719.83
8.1.180.0110.00619.81
8.1.170.0090.00920.83
8.1.160.0090.00819.93
8.1.150.0160.00320.02
8.1.140.0160.00319.80
8.1.130.0070.00618.09
8.1.120.0160.00519.93
8.1.110.0140.00519.85
8.1.100.0080.00719.14
8.1.90.0100.00719.95
8.1.80.0100.00619.95
8.1.70.0060.00719.02
8.1.60.0120.00319.16
8.1.50.0100.00519.06
8.1.40.0060.01019.06
8.1.30.0140.00318.47
8.1.20.0080.00417.96
8.1.10.0100.00518.67
8.1.00.0080.00718.60
8.0.300.0150.00619.66
8.0.290.0220.00219.60
8.0.280.0190.00319.59
8.0.270.0150.00319.68
8.0.260.0210.00319.70
8.0.250.0180.00219.62
8.0.240.0180.00819.56
8.0.230.0210.00319.77
8.0.220.0120.00619.67
8.0.210.0130.00819.71
8.0.200.0150.00718.73
8.0.190.0130.00618.78
8.0.180.0140.00618.69
8.0.170.0160.00618.71
8.0.160.0090.00717.97
8.0.150.0150.00518.30
8.0.140.0150.00418.18
8.0.130.0120.00418.24
8.0.120.0110.00517.89
8.0.110.0090.00517.89
8.0.100.0100.00517.83
8.0.90.0110.00417.87
8.0.80.0120.00517.53
8.0.70.0120.00617.78
8.0.60.0120.00617.52
8.0.50.0100.00717.50
8.0.30.0140.00617.27
8.0.20.0110.00717.50
8.0.10.0110.00817.50
8.0.00.0080.00717.27
7.4.330.0090.00617.95
7.4.320.0140.00619.52
7.4.300.0170.00318.44
7.4.290.0190.00418.41
7.4.280.0160.00518.47
7.4.270.0110.00717.93
7.4.260.0130.00517.92
7.4.250.0140.00317.60
7.4.240.0110.00315.64
7.4.230.0090.00317.06
7.4.220.0070.00617.23
7.4.210.0100.00717.10
7.4.200.0130.00517.14
7.4.190.0120.00617.20
7.4.180.0100.00917.18
7.4.160.0140.00717.05
7.4.150.0160.00416.86
7.4.140.0140.00616.85
7.4.130.0120.00816.69
7.4.120.0130.00716.71
7.4.110.0130.00716.68
7.4.100.0140.00716.77
7.4.90.0120.00916.66
7.4.80.0130.00716.68
7.4.70.0140.00616.66
7.4.60.0100.00916.62
7.4.50.0130.00716.59
7.4.40.0120.00816.54
7.4.30.0130.00816.60
7.4.20.0130.00616.58
7.4.10.0110.00816.50
7.4.00.0110.00716.51
7.3.330.0210.00217.71
7.3.320.0190.00517.69
7.3.310.0140.00417.34
7.3.300.0130.00517.42
7.3.290.0130.00616.99
7.3.280.0150.00616.77
7.3.270.0130.00716.66
7.3.260.0130.00716.68
7.3.250.0130.00816.59
7.3.240.0150.00516.52
7.3.230.0120.00916.58
7.3.220.0140.00816.57
7.3.210.0160.00516.53
7.3.200.0150.00616.53
7.3.190.0130.00916.53
7.3.180.0130.00916.53
7.3.170.0120.00916.52
7.3.160.0130.00916.48
7.3.150.0140.00816.50
7.3.140.0120.00916.46
7.3.130.0140.00616.44
7.3.120.0120.00816.36
7.3.110.0130.00716.26
7.3.100.0130.00716.24
7.3.90.0130.00716.38
7.3.80.0120.00816.22
7.3.70.0120.00716.10
7.3.60.0110.00916.15
7.3.50.0120.00816.14
7.3.40.0120.00615.95
7.3.30.0120.00715.89
7.3.20.0120.00816.63
7.3.10.0140.00816.57
7.3.00.0130.00816.52
7.2.340.0200.00716.63
7.2.330.0200.00916.63
7.2.320.0180.00916.60
7.2.310.0190.00716.56
7.2.300.0180.00816.58
7.2.290.0170.00916.57
7.2.280.0180.00816.53
7.2.270.0150.01016.53
7.2.260.0150.00816.63
7.2.250.0140.00916.43
7.2.240.0160.00816.39
7.2.230.0140.00916.38
7.2.220.0170.00716.35
7.2.210.0150.00816.27
7.2.200.0140.00816.25
7.2.190.0130.00916.18
7.2.180.0150.00816.20
7.2.170.0140.00816.08
7.2.160.0140.00816.11
7.2.150.0180.00816.68
7.2.140.0150.00816.70
7.2.130.0190.00816.73
7.2.120.0180.01016.62
7.2.110.0360.00616.56
7.2.100.0340.00816.64
7.2.90.0290.00716.60
7.2.80.0340.00816.49
7.2.70.0270.00916.48
7.2.60.0300.00616.49
7.2.50.0270.00816.58
7.2.40.0280.00916.51
7.2.30.0310.00816.52
7.2.20.0270.00816.48
7.2.10.0290.00816.47
7.2.00.0220.00816.54
7.1.330.0150.00615.81
7.1.320.0150.00915.79
7.1.310.0140.00815.85
7.1.300.0150.00815.78
7.1.290.0160.00615.82
7.1.280.0140.00815.77
7.1.270.0160.00815.65
7.1.260.0150.00715.64
7.1.250.0170.00715.57
7.1.240.0200.00815.42
7.1.230.0370.00815.43
7.1.220.0360.00815.50
7.1.210.0290.00615.49
7.1.200.0290.00715.52
7.1.190.0260.00815.39
7.1.180.0280.00715.34
7.1.170.0300.00715.37
7.1.160.0270.00715.35
7.1.150.0280.00815.41
7.1.140.0290.00715.39
7.1.130.0280.00815.38
7.1.120.0190.00915.39
7.1.110.0240.00815.43
7.1.100.0230.00815.42
7.1.90.0270.00815.38
7.1.80.0230.00715.48
7.1.70.0270.00815.35
7.1.60.0220.00917.07
7.1.50.0230.00817.03
7.1.40.0220.00817.05
7.1.30.0210.00916.84
7.1.20.0240.00717.01
7.1.10.0250.00715.44
7.1.00.0210.00715.37
7.0.330.0160.00815.29
7.0.320.0260.00715.21
7.0.310.0280.00715.11
7.0.300.0320.00715.10
7.0.290.0260.00715.14
7.0.280.0230.00815.18
7.0.270.0210.00715.09
7.0.260.0200.00715.16
7.0.250.0220.00815.23
7.0.240.0210.00815.23
7.0.230.0240.00815.26
7.0.220.0230.00715.26
7.0.210.0200.00715.23
7.0.200.0220.00815.26
7.0.190.0200.00615.22
7.0.180.0190.00715.20
7.0.170.0240.00715.21
7.0.160.0220.00715.20
7.0.150.0200.00715.14
7.0.140.0190.00815.22
7.0.130.0170.00915.42
7.0.120.0200.00815.25
7.0.110.0210.00815.21
7.0.100.0210.00715.21
7.0.90.0210.00715.27
7.0.80.0180.00815.15
7.0.70.0210.00815.19
7.0.60.0200.00715.20
7.0.50.0190.00815.21
7.0.40.0210.00615.28
7.0.30.0190.00815.25
7.0.20.0210.00715.13
7.0.10.0190.00715.25
7.0.00.0160.00915.20
5.6.400.0130.00815.34
5.6.390.0150.00815.48
5.6.380.0130.00815.34
5.6.370.0140.00915.38
5.6.360.0140.00915.37
5.6.350.0130.01015.40
5.6.340.0130.00915.35
5.6.330.0150.00815.37
5.6.320.0140.00815.35
5.6.310.0160.00815.37
5.6.300.0150.01015.63
5.6.290.0150.01115.67
5.6.280.0150.01215.63
5.6.270.0150.01115.67
5.6.260.0130.01215.62
5.6.250.0130.01215.64
5.6.240.0150.01115.69
5.6.230.0140.01215.66
5.6.220.0150.01115.67
5.6.210.0130.01315.64
5.6.200.0150.01115.68
5.6.190.0140.01215.70
5.6.180.0130.01215.69
5.6.170.0140.01015.67
5.6.160.0140.01215.69
5.6.150.0140.01215.65
5.6.140.0150.01115.66
5.6.130.0140.01215.71
5.6.120.0130.01215.64
5.6.110.0140.01115.67
5.6.100.0130.01115.62
5.6.90.0130.01115.65
5.6.80.0130.00915.54
5.6.70.0130.01215.56
5.6.60.0140.01115.58
5.6.50.0140.01015.52
5.6.40.0150.01015.55
5.6.30.0130.01215.57
5.6.20.0150.01015.52
5.6.10.0140.01115.57
5.6.00.0140.01115.54
5.5.380.0150.00915.54

preferences:
140.14 ms | 1446 KiB | 7 Q