3v4l.org

run code in 300+ PHP versions simultaneously
<?php $csv = explode(',', 'Acampo, Amador City, Antelope, Arden-Arcade, Auburn, Beal Afb, Birds Landing, Camino, Carmichael, Citrus Heights, Clarksburg, Colfax, Coloma, Cool, Courtland, Davis, Diamond Springs, Dixon, Drytown, El Dorado, Elk Grove, Elmira, Elverta, Fair Oaks, Fairfield, Folsom, Foresthill, French Camp, Galt, Garden Valley, Georgetown, Granite Bay, Grass Valley, Greenwood, Herald, Hood, Ione, Isleton, Jackson, Lathrop, Lincoln, Lockeford, Lodi, Loomis, Lotus, Manteca, Marysville, Mather, Mcclellan, Meadow Vista, Nevada City, Newcastle, Nicolaus, North Highlands, Olivehurst, Orangevale, Penn Valley, Penryn, Pilot Hill, Pine Grove, Placerville, Pleasant Grove, Plymouth, Pollock Pines, Rancho Cordova, Rescue, Rio Linda, Rio Oso, Rio Vista, Rocklin, Roseville, Rough and Ready, Ryde, Sacramento, Sheridan, Shingle Springs, Sloughhouse, Somerset, Stockton, Suisun City, Sutter Creek, Thornton, Travis Afb, Vacaville, Valley Springs, Walnut Grove, West Sacramento, Wheatland, Wilton, Winters, Woodbridge, Woodland, Yolo, Yuba City'); foreach ($csv as $item) { echo '<li><a href="/contact/?city='.url_encode(strttolower($item)).'">'.$item.'</a></li>' . "\r\n\"; }

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)
5.4.320.0050.04112.48
5.4.310.0080.03712.47
5.4.300.0090.03412.48
5.4.290.0050.03912.47
5.4.280.0070.03412.36
5.4.270.0040.03912.36
5.4.260.0080.03712.36
5.4.250.0060.03812.36
5.4.240.0060.03712.36
5.4.230.0070.03712.36
5.4.220.0050.03712.35
5.4.210.0040.04412.36
5.4.200.0090.03512.36
5.4.190.0090.03812.35
5.4.180.0080.04012.35
5.4.170.0050.04012.36
5.4.160.0070.04812.36
5.4.150.0130.04012.35
5.4.140.0070.04112.04
5.4.130.0080.03612.02
5.4.120.0080.03411.99
5.4.110.0100.03811.98
5.4.100.0060.03811.98
5.4.90.0080.03511.98
5.4.80.0070.03611.98
5.4.70.0080.03611.98
5.4.60.0060.03411.98
5.4.50.0070.03711.98
5.4.40.0070.04511.96
5.4.30.0080.04011.96
5.4.20.0090.03711.96
5.4.10.0070.03711.96
5.4.00.0080.03611.46
5.3.290.0150.04112.80
5.3.280.0130.03112.70
5.3.270.0050.04412.72
5.3.260.0060.04712.72
5.3.250.0080.03912.71
5.3.240.0090.04112.72
5.3.230.0070.04212.71
5.3.220.0120.04612.68
5.3.210.0070.04212.68
5.3.200.0070.03812.68
5.3.190.0090.04012.68
5.3.180.0070.04712.67
5.3.170.0090.03612.66
5.3.160.0070.04012.68
5.3.150.0050.04312.68
5.3.140.0090.03612.66
5.3.130.0100.04312.65
5.3.120.0060.04012.66
5.3.110.0070.04112.66
5.3.100.0060.04512.12
5.3.90.0070.04012.09
5.3.80.0060.03712.08
5.3.70.0060.04112.08
5.3.60.0080.03412.06
5.3.50.0040.03812.00
5.3.40.0050.04312.00
5.3.30.0080.03411.95
5.3.20.0080.03611.73
5.3.10.0060.03511.70
5.3.00.0090.03811.68
5.2.170.0040.0329.19
5.2.160.0090.0369.19
5.2.150.0070.0329.19
5.2.140.0040.0319.18
5.2.130.0060.0419.14
5.2.120.0040.0339.15
5.2.110.0060.0279.15
5.2.100.0070.0359.14
5.2.90.0040.0299.14
5.2.80.0020.0329.14
5.2.70.0070.0289.14
5.2.60.0020.0329.10
5.2.50.0040.0309.07
5.2.40.0040.0319.05
5.2.30.0040.0309.02
5.2.20.0070.0329.00
5.2.10.0080.0298.92
5.2.00.0040.0308.79
5.1.60.0050.0238.08
5.1.50.0040.0278.07
5.1.40.0030.0268.05
5.1.30.0060.0248.39
5.1.20.0040.0328.42
5.1.10.0040.0368.16
5.1.00.0090.0288.15
5.0.50.0070.0256.63
5.0.40.0050.0256.49
5.0.30.0060.0306.30
5.0.20.0040.0186.27
5.0.10.0040.0196.25
5.0.00.0010.0406.24
4.4.90.0050.0164.78
4.4.80.0070.0204.75
4.4.70.0040.0274.75
4.4.60.0050.0194.76
4.4.50.0060.0174.77
4.4.40.0040.0254.71
4.4.30.0040.0144.75
4.4.20.0040.0204.84
4.4.10.0050.0184.85
4.4.00.0040.0254.76
4.3.110.0020.0174.67
4.3.100.0020.0174.67
4.3.90.0030.0164.63
4.3.80.0050.0254.58
4.3.70.0020.0154.63
4.3.60.0050.0124.63
4.3.50.0030.0164.62
4.3.40.0050.0224.54
4.3.30.0030.0153.29
4.3.20.0010.0173.26
4.3.10.0020.0163.23
4.3.00.0230.02014.59

preferences:
154.71 ms | 1394 KiB | 7 Q