3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (ob_get_level() == 0) ob_start(); for ($i = 0; $i<10; $i++){ echo "<br> Line to show."; echo str_pad('',4096)."\n"; ob_flush(); flush(); sleep(2); } echo "Done."; ob_end_flush(); ?>

Abusive script

This script was stopped while abusing our resources

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.0070.00816.36
7.4.00.0020.01315.42
7.3.130.0080.01116.08
7.3.120.0090.00515.44
7.3.110.0120.00416.48
7.3.10.2430.00314.81
7.2.260.0080.00816.55
7.2.250.0080.00816.30
7.2.60.0090.00616.80
7.2.00.0050.00719.36
7.1.200.0060.00315.76
7.1.70.0000.00717.00
7.1.60.0060.00617.36
7.1.50.0170.00717.04
7.1.00.0030.07322.24
7.0.200.0100.00016.56
7.0.140.0070.06721.99
7.0.120.0070.06022.20
7.0.110.0370.05720.41
7.0.100.7330.05020.34
7.0.90.0370.05720.29
7.0.80.0230.06720.14
7.0.70.0120.06020.13
7.0.60.0590.05720.08
7.0.50.0560.05719.50
7.0.40.0490.07020.13
7.0.30.0780.06320.10
7.0.20.0620.05320.19
7.0.10.0580.05420.15
7.0.00.0630.06420.09
5.6.280.0000.07720.90
5.6.260.0030.06721.11
5.6.250.0170.05721.06
5.6.240.0130.05720.99
5.6.230.0430.05220.83
5.6.220.0070.06020.72
5.6.210.0420.06620.76
5.6.200.0380.05120.11
5.6.190.0390.05420.74
5.6.180.0390.04920.88
5.6.170.0440.06720.80
5.6.160.0410.05920.75
5.6.150.0500.06220.07
5.6.140.0440.06320.10
5.6.130.0070.05920.07
5.6.120.0220.06621.09
5.6.110.0390.07021.02
5.6.100.0490.06221.11
5.6.90.0420.06921.05
5.6.80.0390.06620.46
5.6.70.0460.04820.45
5.6.60.0680.06220.44
5.6.50.0570.05520.43
5.6.40.0600.04820.42
5.6.30.0670.06520.30
5.6.20.0580.05320.30
5.6.10.0630.06020.39
5.6.00.0600.05720.34
5.5.380.0170.07017.42
5.5.370.0130.06218.93
5.5.360.0080.06018.96
5.5.350.0160.06119.47
5.5.340.0060.05318.97
5.5.330.0160.06319.67
5.5.320.0080.04819.68
5.5.310.0210.06419.69
5.5.300.0120.06018.95
5.5.290.0090.07319.01
5.5.280.0070.06819.87
5.5.270.0120.06019.83
5.5.260.0090.06919.83
5.5.250.0080.06419.66
5.5.240.0060.04919.22
5.5.230.0130.06018.90
5.5.220.0100.05018.77
5.5.210.0050.05518.83
5.5.200.0100.05218.67
5.5.190.0120.06218.88
5.5.180.0080.05518.74
5.5.160.0050.05718.78
5.5.150.0100.05018.75
5.5.140.0080.05518.85
5.5.130.0100.05218.71
5.5.120.0130.04718.76
5.5.110.0130.05518.73
5.5.100.0070.05818.70
5.5.90.0100.06018.59
5.5.80.0070.05818.71
5.5.70.0120.05718.61
5.5.60.0100.05218.59
5.5.50.0200.05718.63
5.5.40.0120.05218.72
5.5.30.0150.05818.62
5.5.20.0150.05718.76
5.5.10.0080.06518.62
5.5.00.0070.06018.63
5.4.450.0200.06119.40
5.4.440.0170.06119.36
5.4.430.0170.06319.31
5.4.420.0200.05419.38
5.4.410.0190.06319.23
5.4.400.0300.05018.89
5.4.390.0410.05818.83
5.4.380.0380.06218.83
5.4.370.0400.05118.87
5.4.360.0470.05018.73
5.4.350.0410.05018.93
5.4.340.0420.05218.87
5.4.320.0410.06018.81
5.4.310.0440.04618.81
5.4.300.0470.04418.80
5.4.290.0430.05818.81
5.4.280.0480.04118.83
5.4.270.0430.05218.87
5.4.260.0430.05818.85
5.4.250.0400.05218.77
5.4.240.0440.05818.80
5.4.230.0410.06218.78
5.4.220.0320.06218.79
5.4.210.0490.05218.86
5.4.200.0470.05018.09
5.4.190.0400.05618.81
5.4.180.0140.04918.75
5.4.170.0120.05618.85
5.4.160.0120.05418.84
5.4.150.0290.06918.73
5.4.140.0090.06316.22
5.4.130.0130.04616.14
5.4.120.0130.05116.14
5.4.110.0480.05116.34
5.4.100.0560.05716.30
5.4.90.0610.05216.27
5.4.80.0420.04716.18
5.4.70.0520.05216.27
5.4.60.0470.05416.26
5.4.50.0410.05216.31
5.4.40.0470.06016.27
5.4.30.0260.05216.20
5.4.20.0340.04916.17
5.4.10.0210.05116.15
5.4.00.0210.05815.76
5.3.290.0180.05414.40
5.3.280.0270.04914.43
5.3.270.0120.05614.32
5.3.260.0260.07114.34
5.3.250.0180.06914.34
5.3.240.0180.06214.28
5.3.230.0210.05414.30
5.3.220.0190.05614.30
5.3.210.0160.05314.34
5.3.200.0110.05914.31
5.3.190.0130.05914.32
5.3.180.0060.05414.38
5.3.170.0130.06214.38
5.3.160.0200.05114.27
5.3.150.0140.05114.34
5.3.140.0200.05014.31
5.3.130.0200.06314.30
5.3.120.0110.05714.33
5.3.110.0130.05214.36
5.3.100.0220.04313.83
5.3.90.0160.04913.82
5.3.80.0110.05413.75
5.3.70.0280.07613.79
5.3.60.0080.05513.69
5.3.50.0050.05213.70
5.3.40.0100.04813.61
5.3.30.0130.05713.66
5.3.20.0130.04713.33
5.3.10.0170.05013.39
5.3.00.0050.06313.46

preferences:
33.55 ms | 401 KiB | 5 Q