3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 10; while ($i > 0 && --$i); var_dump($i);

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.5.00.0150.00919.67
8.4.150.0020.00014.05
8.4.140.0140.00717.45
8.4.130.0130.00717.82
8.4.120.0120.00820.50
8.4.110.0040.00418.86
8.4.100.0110.00817.89
8.4.90.0150.00717.86
8.4.80.0150.00517.67
8.4.70.0110.00817.70
8.4.60.0140.00618.67
8.4.50.0140.00717.51
8.4.40.0160.00319.38
8.4.30.0060.00318.61
8.4.20.0150.00320.63
8.4.10.0060.00319.60
8.3.280.0020.00014.05
8.3.270.0130.00716.79
8.3.260.0060.00916.45
8.3.250.0060.00918.83
8.3.240.0110.00716.48
8.3.230.0130.00716.82
8.3.220.0120.00618.25
8.3.210.0130.00516.66
8.3.200.0060.00316.57
8.3.190.0120.00716.99
8.3.180.0100.00816.37
8.3.170.0160.00317.03
8.3.160.0140.00418.13
8.3.150.0090.00920.68
8.3.140.0040.00816.70
8.3.130.0000.01017.11
8.3.120.0000.00918.84
8.3.110.0080.00020.94
8.3.100.0050.00516.49
8.3.90.0040.00426.77
8.3.80.0090.00019.36
8.3.70.0140.00716.50
8.3.60.0090.00616.63
8.3.50.0120.00323.49
8.3.40.0160.00318.74
8.3.30.0090.00618.59
8.3.20.0040.00420.77
8.3.10.0030.00623.66
8.3.00.0080.00021.77
8.2.290.0050.00518.79
8.2.280.0050.00318.12
8.2.270.0110.00017.12
8.2.260.0150.00318.09
8.2.250.0080.00016.60
8.2.240.0040.00417.28
8.2.230.0070.00322.58
8.2.220.0070.00324.06
8.2.210.0060.00326.77
8.2.200.0050.00518.88
8.2.190.0070.00718.41
8.2.180.0090.00918.29
8.2.170.0140.00022.96
8.2.160.0070.00722.25
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0070.00026.16
8.2.110.0060.00322.06
8.2.100.0170.00017.53
8.2.90.0060.00317.75
8.2.80.0000.00818.61
8.2.70.0000.00817.50
8.2.60.0000.00817.50
8.2.50.0080.00018.05
8.2.40.0030.00618.22
8.2.30.0040.00418.14
8.2.20.0030.00517.98
8.2.10.0070.00019.30
8.2.00.0080.00019.34
8.1.330.0120.00716.21
8.1.320.0090.00915.95
8.1.310.0080.00016.44
8.1.300.0070.00416.10
8.1.290.0000.00830.84
8.1.280.0070.00725.92
8.1.270.0030.00620.87
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0110.00019.25
8.1.230.0060.00620.92
8.1.220.0040.00418.32
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0030.00617.62
8.1.160.0050.00318.95
8.1.150.0030.00319.04
8.1.140.0040.00420.68
8.1.130.0030.00320.25
8.1.120.0000.00717.46
8.1.110.0060.00317.45
8.1.100.0020.00517.42
8.1.90.0040.00417.27
8.1.80.0070.00017.39
8.1.70.0000.00717.46
8.1.60.0040.00417.45
8.1.50.0050.00317.49
8.1.40.0080.00017.52
8.1.30.0040.00417.66
8.1.20.0000.00817.61
8.1.10.0000.00817.37
8.1.00.0050.00317.38
8.0.300.0000.00918.77
8.0.290.0030.00616.63
8.0.280.0040.00418.34
8.0.270.0080.00017.87
8.0.260.0060.00019.96
8.0.250.0000.00716.88
8.0.240.0000.00616.96
8.0.230.0050.00216.90
8.0.220.0050.00216.81
8.0.210.0000.00616.90
8.0.200.0030.00316.78
8.0.190.0040.00416.90
8.0.180.0000.00716.90
8.0.170.0000.01116.82
8.0.160.0000.00716.84
8.0.150.0040.00416.68
8.0.140.0090.00016.84
8.0.130.0030.00313.35
8.0.120.0000.00816.77
8.0.110.0000.00716.93
8.0.100.0070.00016.77
8.0.90.0080.00016.81
8.0.80.0110.00516.88
8.0.70.0000.00716.74
8.0.60.0000.00716.71
8.0.50.0000.00816.91
8.0.30.0000.01717.22
8.0.20.0110.00817.17
8.0.10.0000.00816.99
8.0.00.0090.00916.87
7.4.330.0000.00616.71
7.4.320.0060.00016.48
7.4.300.0060.00016.48
7.4.290.0030.00416.63
7.4.280.0000.00716.50
7.4.270.0030.00316.48
7.4.260.0030.00313.28
7.4.250.0050.00216.41
7.4.240.0050.00316.51
7.4.230.0060.00316.48
7.4.220.0030.00416.37
7.4.210.0050.01116.58
7.4.200.0030.00316.47
7.4.140.0060.01217.86
7.4.130.0090.01116.48
7.4.120.0160.00016.45
7.4.110.0100.01216.47
7.4.100.0100.01016.51
7.4.90.0070.01016.46
7.4.80.0130.00419.39
7.4.70.0080.00816.39
7.4.60.0060.00916.43
7.4.50.0000.01416.41
7.4.40.0040.01116.48
7.4.10.0040.01516.24
7.4.00.0160.00016.59
7.3.330.0070.00016.18
7.3.320.0060.00013.18
7.3.310.0000.00616.19
7.3.300.0030.00316.16
7.3.290.0070.00716.19
7.3.280.0070.01016.20
7.3.260.0170.00016.20
7.3.230.0100.00716.31
7.3.210.0110.00716.63
7.3.200.0180.01216.55
7.3.190.0100.01016.67
7.3.180.0080.01416.27
7.3.170.0130.00316.30
7.3.160.0090.00616.40
7.3.130.0170.00716.23
7.3.120.0240.00316.34
7.3.110.0100.01016.05
7.3.100.0140.01116.36
7.3.90.0110.01116.06
7.3.80.0100.01616.35
7.3.70.0140.01116.22
7.3.60.0060.01316.19
7.3.50.0120.01016.12
7.3.40.0130.00716.25
7.3.30.0140.00516.20
7.3.20.0220.00016.19
7.3.10.0150.01116.30
7.3.00.0150.00916.16
7.2.330.0070.01116.44
7.2.320.0140.00316.68
7.2.310.0000.01816.77
7.2.300.0100.00716.61
7.2.290.0120.00416.49
7.2.260.0190.00416.52
7.2.250.0130.01016.37
7.2.240.0100.01016.21
7.2.230.0140.01416.18
7.2.220.0080.01216.39
7.2.210.0130.01216.47
7.2.200.0150.00916.70
7.2.190.0180.00416.51
7.2.180.0190.00616.51
7.2.170.0130.00616.47
7.2.160.0070.01116.06
7.2.150.0190.00716.57
7.2.140.0100.01516.43
7.2.130.0120.00916.54
7.2.120.0120.01216.64
7.2.110.0160.00616.37
7.2.100.0070.01516.55
7.2.90.0120.01216.21
7.2.80.0170.00616.46
7.2.70.0120.01216.27
7.2.60.0050.02016.46
7.2.50.0060.01916.30
7.2.40.0120.01316.39
7.2.30.0150.01116.44
7.2.20.0160.00616.63
7.2.10.0170.01016.40
7.2.00.0070.01016.47
7.1.330.0240.00315.71
7.1.320.0130.00615.57
7.1.310.0170.00315.61
7.1.300.0070.01215.45
7.1.290.0150.00415.41
7.1.280.0140.00315.43
7.1.270.0100.00715.34
7.1.260.0140.01015.56
7.1.250.0130.00815.27
7.1.240.0110.01215.25
7.1.230.0070.01415.35
7.1.220.0220.00815.48
7.1.210.0130.01415.42
7.1.200.0140.01015.29
7.1.190.0160.00615.19
7.1.180.0190.00315.50
7.1.170.0160.00715.43
7.1.160.0130.01015.33
7.1.150.0050.01915.25
7.1.140.0100.01215.37
7.1.130.0100.01015.13
7.1.120.0120.00715.43
7.1.110.0110.00715.39
7.1.100.0220.01115.42
7.1.90.0120.00815.36
7.1.80.0040.01815.45
7.1.70.0110.01115.21
7.1.60.0130.00615.41
7.1.50.0100.01015.33
7.1.40.0170.00715.40
7.1.30.0110.00915.35
7.1.20.0140.00715.36
7.1.10.0060.01415.13
7.1.00.0160.00315.16
7.0.330.0170.00615.09
7.0.320.0060.01214.74
7.0.310.0150.00615.11
7.0.300.0080.01414.93
7.0.290.0200.00714.91
7.0.280.0250.00014.90
7.0.270.0100.01015.05
7.0.260.0170.00314.93
7.0.250.0090.01014.95
7.0.240.0160.00314.96
7.0.230.0180.00315.02
7.0.220.0060.01514.82
7.0.210.0060.01314.86
7.0.200.0120.00914.91
7.0.190.0050.01414.96
7.0.180.0150.00514.93
7.0.170.0070.01114.89
7.0.160.0130.00814.71
7.0.150.0040.01714.55
7.0.140.0180.00514.72
7.0.130.0090.00914.77
7.0.120.0120.00614.84
7.0.110.0070.01014.79
7.0.100.0110.00714.75
7.0.90.0200.00314.80
7.0.80.0110.00714.89
7.0.70.0100.00714.75
7.0.60.0160.00315.31
7.0.50.0100.01414.95
7.0.40.0120.01314.78
7.0.30.0140.00715.14
7.0.20.0040.01215.04
7.0.10.0160.01215.23
7.0.00.0060.01515.18
5.6.400.0120.01015.65
5.6.390.0110.01515.49
5.6.380.0110.01115.74
5.6.370.0130.01215.50
5.6.360.0090.01715.83
5.6.350.0170.01115.44
5.6.340.0150.01115.34
5.6.330.0110.01115.48
5.6.320.0080.01515.43
5.6.310.0120.01515.50
5.6.300.0130.00815.73
5.6.290.0130.00815.69
5.6.280.0140.00915.66
5.6.270.0110.00915.45
5.6.260.0060.01515.27
5.6.250.0040.01615.46
5.6.240.0100.01715.63
5.6.230.0110.00815.74
5.6.220.0150.00615.38
5.6.210.0110.01415.58
5.6.200.0150.01115.65
5.6.190.0140.00815.41
5.6.180.0130.00515.24
5.6.170.0090.01215.38
5.6.160.0050.01515.68
5.6.150.0030.01715.95
5.6.140.0090.01315.66
5.6.130.0000.02015.76
5.6.120.0090.00915.74
5.6.110.0180.00615.63
5.6.100.0120.00615.74
5.6.90.0110.01515.91
5.6.80.0030.01815.55
5.6.70.0050.01315.65
5.6.60.0110.00815.75
5.6.50.0140.00515.69
5.6.40.0110.01115.74
5.6.30.0090.00915.89
5.6.20.0090.00915.81
5.6.10.0130.00315.79
5.6.00.0120.00615.64
5.5.380.0130.01015.57
5.5.370.0100.01415.30
5.5.360.0150.01215.46
5.5.350.0110.01115.51
5.5.340.0120.00815.41
5.5.330.0190.00215.67
5.5.320.0110.01115.54
5.5.310.0150.00815.48
5.5.300.0160.01215.61
5.5.290.0040.01715.56
5.5.280.0160.00315.35
5.5.270.0130.01215.41
5.5.260.0130.00615.70
5.5.250.0230.00315.51
5.5.240.0060.01115.46
5.5.230.0090.00915.54
5.5.220.0070.01115.69
5.5.210.0070.01015.49
5.5.200.0140.00715.71
5.5.190.0140.00515.59
5.5.180.0110.00715.46
5.5.170.0130.00315.63
5.5.160.0050.01415.50
5.5.150.0140.00615.97
5.5.140.0040.01515.71
5.5.130.0090.00915.60
5.5.120.0140.00715.89
5.5.110.0150.00915.66
5.5.100.0180.00715.79
5.5.90.0120.01215.79
5.5.80.0120.00615.60
5.5.70.0080.01115.58
5.5.60.0070.01115.45
5.5.50.0070.01115.55
5.5.40.0040.01315.40
5.5.30.0070.01115.39
5.5.20.0100.00715.62
5.5.10.0080.00815.42
5.5.00.0160.00715.89
5.4.450.0060.00912.55
5.4.440.0030.01212.22
5.4.430.0110.00512.27
5.4.420.0000.01412.31
5.4.410.0090.00612.27
5.4.400.0100.00612.50
5.4.390.0040.01312.36
5.4.380.0110.00312.42
5.4.370.0150.01212.35
5.4.360.0080.00812.49
5.4.350.0000.01212.40
5.4.340.0130.00012.28
5.4.330.0000.01212.27
5.4.320.0030.01012.54
5.4.310.0070.00712.38
5.4.300.0030.01012.11
5.4.290.0040.01012.23
5.4.280.0050.00812.25
5.4.270.0050.01412.45
5.4.260.0090.01012.27
5.4.250.0050.01012.17
5.4.240.0060.00912.57
5.4.230.0000.01412.30
5.4.220.0070.00712.51
5.4.210.0040.00912.33
5.4.200.0040.00912.16
5.4.190.0090.00412.34
5.4.180.0090.00512.37
5.4.170.0060.00912.28
5.4.160.0130.00412.41
5.4.150.0000.01412.32
5.4.140.0080.00612.35
5.4.130.0060.00712.29
5.4.120.0090.00412.31
5.4.110.0040.00912.56
5.4.100.0060.00912.42
5.4.90.0030.01212.32
5.4.80.0030.00912.42
5.4.70.0090.00412.44
5.4.60.0030.01112.48
5.4.50.0080.00612.30
5.4.40.0100.00512.55
5.4.30.0030.01312.52
5.4.20.0060.01012.47
5.4.10.0030.01512.53
5.4.00.0070.01012.56
5.3.290.0070.00713.14
5.3.280.0030.01113.05
5.3.270.0050.00812.95
5.3.260.0130.00313.12
5.3.250.0050.00812.93
5.3.240.0080.00512.86
5.3.230.0060.00812.95
5.3.220.0050.00812.98
5.3.210.0080.00512.88
5.3.200.0050.00812.78
5.3.190.0030.01012.79
5.3.180.0060.00912.94
5.3.170.0060.00613.07
5.3.160.0030.01012.88
5.3.150.0130.00313.03
5.3.140.0030.01412.95
5.3.130.0040.01313.16
5.3.120.0060.01213.00
5.3.110.0070.01512.91
5.3.100.0110.00512.88
5.3.90.0120.00912.88
5.3.80.0070.01012.66
5.3.70.0080.01312.81
5.3.60.0040.01312.92
5.3.50.0090.00912.68
5.3.40.0110.01112.96
5.3.30.0080.01212.83
5.3.20.0110.00612.86
5.3.10.0080.01212.48
5.3.00.0110.00912.57
5.2.170.0030.01012.08
5.2.160.0140.00312.13
5.2.150.0090.00512.05
5.2.140.0120.00411.83
5.2.130.0070.00711.95
5.2.120.0120.00411.98
5.2.110.0090.00612.01
5.2.100.0080.01111.91
5.2.90.0130.00511.86
5.2.80.0040.01211.90
5.2.70.0030.01511.91
5.2.60.0140.00511.83
5.2.50.0150.00411.83
5.2.40.0070.00711.99
5.2.30.0070.01511.83
5.2.20.0100.00611.83
5.2.10.0100.00711.83
5.2.00.0130.00311.83
5.1.60.0070.00711.83
5.1.50.0100.00411.83
5.1.40.0060.00611.83
5.1.30.0080.00911.83
5.1.20.0050.00811.83
5.1.10.0060.00611.83
5.1.00.0060.00611.83
5.0.50.0080.00311.83
5.0.40.0040.00711.83
5.0.30.0050.00611.83
5.0.20.0080.00311.83
5.0.10.0060.00611.83
5.0.00.0000.01011.83
4.4.90.0020.00511.83
4.4.80.0080.00211.83
4.4.70.0030.00411.83
4.4.60.0030.00611.83
4.4.50.0000.00611.83
4.4.40.0040.00411.83
4.4.30.0040.00311.83
4.4.20.0060.00311.83
4.4.10.0070.00011.83
4.4.00.0030.00311.83
4.3.110.0050.00211.83
4.3.100.0030.00311.83
4.3.90.0020.00611.83
4.3.80.0030.00311.83
4.3.70.0030.00311.83
4.3.60.0000.00611.83
4.3.50.0020.00411.83
4.3.40.0040.00211.83
4.3.30.0070.00011.83
4.3.20.0000.00611.83
4.3.10.0030.00311.83
4.3.00.0030.00511.83

preferences:
190.39 ms | 403 KiB | 5 Q