3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inside = " julio "; $timestart = microtime( true ); for($i=0;$i<=5000;$i++) echo "<p>My name is $inside !</p>\n"; $timeend = microtime( true ); $timetotal = $timeend - $timestart; echo number_format( $timetotal, 3 );

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.2.100.0890.00514.46
7.2.90.0420.01214.46
7.2.80.0420.00714.44
7.2.70.2710.00315.01
7.2.60.0320.01014.64
7.2.50.0690.00714.64
7.2.40.0180.00414.95
7.2.30.0170.00314.66
7.2.20.0180.00314.70
7.2.10.0180.00414.87
7.2.00.0210.00414.62
7.1.220.0550.00413.68
7.1.210.0260.00013.60
7.1.200.1950.00013.70
7.1.190.0110.01113.77
7.1.180.2680.00913.89
7.1.170.2720.00613.64
7.1.160.0450.00813.70
7.1.150.0100.01013.72
7.1.140.0160.00413.62
7.1.130.0060.01613.60
7.1.120.0080.00813.67
7.1.110.0160.01913.63
7.1.100.0510.00713.54
7.1.90.0130.00813.94
7.1.80.0170.00613.59
7.1.70.0170.00713.79
7.1.60.0240.01331.96
7.1.50.0410.01031.90
7.1.40.0340.00531.79
7.1.30.0380.00731.93
7.1.20.2030.00631.82
7.1.10.2280.01013.66
7.1.00.0290.00413.44
7.0.310.0120.00913.11
7.0.300.2420.00613.29
7.0.290.0110.01113.25
7.0.280.0090.00913.52
7.0.270.0690.00813.25
7.0.260.0210.00213.32
7.0.250.0350.00913.46
7.0.240.0000.01513.59
7.0.230.2050.00013.76
7.0.220.0840.00913.30
7.0.210.0180.00313.03
7.0.200.0130.00413.52
7.0.190.0460.00013.63
7.0.180.1460.01013.38
7.0.170.1960.00313.53
7.0.160.1730.01313.45
7.0.150.1700.00313.29
7.0.140.0110.00813.40
7.0.130.0240.00513.66
7.0.120.1260.00313.50
7.0.110.0110.01113.57
7.0.100.1670.00313.21
7.0.90.0150.00813.22
7.0.80.0180.00413.16
7.0.70.3010.01013.44
7.0.60.0190.00813.34
7.0.50.0860.00313.37
7.0.40.0090.00913.45
7.0.30.0120.00813.13
7.0.20.0940.00313.24
7.0.10.0610.00913.21
7.0.00.0320.00913.39
5.6.380.0090.00914.02
5.6.370.0070.01414.15
5.6.360.0160.00014.16
5.6.350.0150.00613.94
5.6.340.0090.00613.87
5.6.330.0050.01014.26
5.6.320.0100.00314.25
5.6.310.0040.01114.44
5.6.300.0100.00714.16
5.6.290.0030.01414.07
5.6.280.0100.00714.05
5.6.270.0100.01014.31
5.6.260.0130.00613.96
5.6.250.0100.01014.44
5.6.240.0020.02214.21
5.6.230.0100.01013.95
5.6.220.0080.00814.17
5.6.210.0110.00614.09
5.6.200.0030.01413.96
5.6.190.0080.00814.22
5.6.180.0070.01014.22
5.6.170.0080.00814.14
5.6.160.0080.00814.26
5.6.150.0130.00614.12
5.6.140.0030.01414.04
5.6.130.0100.01014.34
5.6.120.0160.00314.26
5.6.110.0200.00014.24
5.6.100.0150.00014.04
5.6.90.0030.01413.87
5.6.80.0130.00313.97
5.6.70.0050.01214.16
5.6.60.0130.00714.09
5.6.50.0170.00014.08
5.6.40.0090.01114.06
5.6.30.0180.00514.21
5.6.20.0090.01214.23
5.6.10.0140.00214.34
5.6.00.0150.00914.04
5.5.380.0110.00411.89
5.5.370.0070.00711.89
5.5.360.0070.00711.89
5.5.350.0060.01311.89
5.5.340.0130.00011.89
5.5.330.0000.01411.89
5.5.320.0090.00311.89
5.5.310.0000.01411.89
5.5.300.0040.00811.89
5.5.290.0100.00511.89
5.5.280.0070.00711.89
5.5.270.0070.00511.89
5.5.260.0090.00911.89
5.5.250.0100.00311.89
5.5.240.0130.00311.89
5.5.230.0110.00311.89
5.5.220.0000.01411.89
5.5.210.0090.00411.89
5.5.200.0050.01111.89
5.5.190.0050.01411.89
5.5.180.0030.00711.89
5.5.170.0110.00613.94
5.5.160.0090.00211.89
5.5.150.0090.00511.89
5.4.450.0070.00711.89
5.4.440.0090.00611.89
5.4.430.0100.00711.89
5.4.420.0060.00611.89
5.4.410.0090.00411.89
5.4.400.0090.00911.89
5.4.390.0090.00611.89
5.4.380.0100.00411.89
5.4.370.0130.00011.89
5.4.360.0040.00811.89
5.4.350.0140.00211.89
5.4.340.0070.00411.89
5.4.330.0030.00811.89
5.4.320.0130.00211.89
5.3.290.0150.00011.89

preferences:
34.17 ms | 400 KiB | 5 Q