3v4l.org

run code in 300+ PHP versions simultaneously
<?php $project_archives = array( 'Bridge Work' => array( array( 'Name' => 'NJ Trunpike_Bridge Repair Work', 'Location' => 'New Jersey', 'State' => 'New Jersey' ), array( 'Name' => 'Honoapiilani Highway Bridge Truss', 'Location' => 'Maui', 'State' => 'Hawai' ), array( 'Name' => 'BlueCross Blueshield of Tennessee (Bridge)', 'Location' => 'Memphis', 'State' => 'Tennessee' ), array( 'Name' => 'Henderson Center Connector Bridge', 'Location' => 'Coquitlam', 'State' => 'British Columbia' ), ), 'Educational' => array( array( 'Name' => 'RTI TASS Complex Admin Bldg', 'Location' => 'Bluffdale', 'State' => 'Utah' ), array( 'Name' => 'Auburn High School', 'Location' => 'Auburn', 'State' => 'Washington' ), array( 'Name' => 'Reed College', 'Location' => 'Portland', 'State' => 'Oregon' ), array( 'Name' => 'Shorewood High School', 'Location' => 'Shoreline', 'State' => 'Washington' ), ) ); $testing = array(); foreach($project_archives['Bridge Work'] as $key=>$value) { $testing[$key]=$value['State']; } asort($testing); print_r($testing);

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.60.0000.01516.49
8.3.50.0090.00822.00
8.3.40.0080.00818.89
8.3.30.0100.00318.88
8.3.20.0040.00420.17
8.3.10.0030.00521.96
8.3.00.0090.00019.38
8.2.180.0060.00918.18
8.2.170.0090.00922.96
8.2.160.0030.01320.53
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.01026.16
8.2.120.0060.00322.12
8.2.110.0030.00622.20
8.2.100.0030.00917.84
8.2.90.0050.00319.17
8.2.80.0050.00317.97
8.2.70.0040.00417.73
8.2.60.0110.00017.90
8.2.50.0000.00818.07
8.2.40.0060.00319.95
8.2.30.0000.00718.13
8.2.20.0060.00317.62
8.2.10.0000.00718.20
8.2.00.0080.00017.83
8.1.280.0150.00325.92
8.1.270.0080.00023.83
8.1.260.0040.00426.35
8.1.250.0090.00028.09
8.1.240.0060.00323.91
8.1.230.0060.00619.18
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0060.00317.48
8.1.190.0080.00017.53
8.1.180.0030.00618.76
8.1.170.0000.00818.65
8.1.160.0000.00721.96
8.1.150.0050.00318.58
8.1.140.0060.00317.43
8.1.130.0000.00717.76
8.1.120.0030.00617.51
8.1.110.0040.00417.49
8.1.100.0000.00817.50
8.1.90.0000.00817.48
8.1.80.0000.00717.46
8.1.70.0000.00717.43
8.1.60.0060.00317.64
8.1.50.0030.00617.57
8.1.40.0040.00417.50
8.1.30.0040.00417.48
8.1.20.0000.00917.63
8.1.10.0040.00417.55
8.1.00.0000.00817.55
8.0.300.0000.00720.65
8.0.290.0040.00417.05
8.0.280.0000.00718.34
8.0.270.0040.00417.37
8.0.260.0030.00317.18
8.0.250.0040.00416.93
8.0.240.0000.00616.87
8.0.230.0000.00717.01
8.0.220.0070.00016.96
8.0.210.0030.00316.88
8.0.200.0000.00717.01
8.0.190.0000.00716.88
8.0.180.0000.01116.86
8.0.170.0040.00416.96
8.0.160.0070.00016.86
8.0.150.0070.00016.93
8.0.140.0000.00716.87
8.0.130.0000.00613.30
8.0.120.0040.00416.87
8.0.110.0070.00016.89
8.0.100.0040.00416.88
8.0.90.0050.00316.81
8.0.80.0090.00916.88
8.0.70.0030.00516.94
8.0.60.0050.00316.94
8.0.50.0040.00416.72
8.0.30.0140.00617.17
8.0.20.0090.00917.40
8.0.10.0040.00416.92
8.0.00.0130.00816.88
7.4.330.0050.00015.00
7.4.320.0030.00316.51
7.4.300.0000.00716.53
7.4.290.0030.00316.53
7.4.280.0060.00316.60
7.4.270.0040.00416.48
7.4.260.0030.00316.55
7.4.250.0000.00816.58
7.4.240.0050.00216.56
7.4.230.0030.00316.62
7.4.220.0100.00716.39
7.4.210.0090.00616.56
7.4.200.0000.00716.69
7.4.190.0000.00716.44
7.4.160.0120.00316.36
7.4.150.0120.00617.40
7.4.140.0130.00417.86
7.4.130.0100.00716.49
7.4.120.0130.00816.50
7.4.110.0100.00716.49
7.4.100.0040.01216.77
7.4.90.0100.00716.68
7.4.80.0060.01219.39
7.4.70.0130.00916.56
7.4.60.0070.01116.55
7.4.50.0030.00516.45
7.4.40.0080.00722.77
7.4.30.0120.00416.31
7.4.00.0070.01015.02
7.3.330.0020.00213.20
7.3.320.0030.00313.18
7.3.310.0000.00716.19
7.3.300.0040.00416.29
7.3.290.0110.00816.32
7.3.280.0110.00516.35
7.3.270.0080.00817.40
7.3.260.0160.01016.45
7.3.250.0110.00616.43
7.3.240.0140.01016.38
7.3.230.0140.00316.53
7.3.210.0080.00816.30
7.3.200.0110.01119.39
7.3.190.0120.00916.23
7.3.180.0040.01116.48
7.3.170.0100.01016.50
7.3.160.0090.00616.36
7.3.120.0090.00814.86
7.3.110.0070.01014.96
7.3.100.0000.01515.00
7.3.90.0000.01014.73
7.3.80.0100.00314.63
7.3.70.0060.00914.89
7.3.60.0110.00414.68
7.3.50.0030.01014.98
7.3.40.0070.00414.72
7.3.30.0030.00614.60
7.3.20.0030.01016.78
7.3.10.0100.00316.71
7.3.00.0000.01616.85
7.2.330.0100.00716.79
7.2.320.0080.00816.70
7.2.310.0090.00916.59
7.2.300.0060.00916.51
7.2.290.0100.00716.77
7.2.250.0060.01015.02
7.2.240.0130.00715.10
7.2.230.0000.01715.19
7.2.220.0070.00715.25
7.2.210.0100.00314.96
7.2.200.0070.00415.14
7.2.190.0110.00014.93
7.2.180.0080.00515.09
7.2.170.0100.00314.82
7.2.60.0070.01016.71
7.2.00.0110.00719.15
7.1.330.0030.01215.74
7.1.320.0000.01215.89
7.1.310.0070.01015.68
7.1.300.0070.00715.54
7.1.290.0090.00315.94
7.1.280.0040.01215.57
7.1.270.0040.00715.87
7.1.260.0000.01515.61
7.1.200.0070.00415.70
7.1.100.0000.01218.06
7.1.70.0000.00816.89
7.1.60.0140.01019.46
7.1.50.0070.01716.86
7.1.00.0070.07322.25
7.0.200.0030.00316.49
7.0.140.0130.06322.01
7.0.60.0070.06719.92
7.0.50.0030.08717.82
7.0.40.0070.05320.11
7.0.30.0370.07320.24
7.0.20.0200.03720.33
7.0.10.0030.04020.15
7.0.00.0100.04320.23
5.6.280.0000.07720.89
5.6.210.0070.06020.69
5.6.200.0030.05318.22
5.6.190.0100.03720.45
5.6.180.0300.06320.77
5.6.170.0170.04020.55
5.6.160.0030.09020.51
5.6.150.0100.03318.12
5.6.140.0030.04018.15
5.6.130.0000.07718.28
5.6.120.0170.06720.96
5.6.110.0070.09021.04
5.6.100.0100.07721.08
5.6.90.0030.07320.99
5.6.80.0030.05320.28
5.6.70.4400.03720.38
5.5.350.0130.07720.44
5.5.340.0100.07718.09
5.5.330.0100.07720.34
5.5.320.0270.08320.39
5.5.310.0270.06720.34
5.5.300.0030.08317.91
5.5.290.0070.04717.98
5.5.280.0070.03720.77
5.5.270.0070.08720.63
5.5.260.0130.08320.77
5.5.250.0100.08320.79
5.5.240.0330.06720.26
5.4.450.0730.06319.59
5.4.440.0700.06319.15
5.4.430.0700.05019.15
5.4.420.0800.06019.36
5.4.410.0130.05019.42
5.4.400.0630.05319.14
5.4.390.0700.04719.24
5.4.380.0300.05718.54
5.4.370.0200.06018.80
5.4.360.0470.07318.50
5.4.350.0370.04318.79
5.4.340.0400.06718.78
5.4.320.0060.03512.50
5.4.310.0080.03912.49
5.4.300.0060.03712.49
5.4.290.0080.04812.48
5.4.280.0120.04512.38
5.4.270.0080.03812.37
5.4.260.0110.05412.38
5.4.250.0050.04012.37
5.4.240.0090.04512.38
5.4.230.0090.04212.37
5.4.220.0090.03712.37
5.4.210.0070.03512.37
5.4.200.0090.03712.36
5.4.190.0110.04112.36
5.4.180.0120.04912.36
5.4.170.0110.04712.37
5.4.160.0170.05012.37
5.4.150.0120.04412.37
5.4.140.0120.05912.05
5.4.130.0100.04712.04
5.4.120.0120.05312.00
5.4.110.0090.05012.00
5.4.100.0110.03611.99
5.4.90.0080.03911.99
5.4.80.0070.03811.99
5.4.70.0060.03511.99
5.4.60.0070.03511.98
5.4.50.0050.04711.99
5.4.40.0080.06011.98
5.4.30.0150.05211.97
5.4.20.0100.04811.98
5.4.10.0100.04911.97
5.4.00.0040.05511.47
5.3.290.0040.04312.80
5.3.280.0080.05312.71
5.3.270.0130.04712.72
5.3.260.0040.04412.72
5.3.250.0100.03912.72
5.3.240.0080.04012.72
5.3.230.0110.04812.70
5.3.220.0160.04012.68
5.3.210.0070.05812.68
5.3.200.0100.05612.68
5.3.190.0170.05112.68
5.3.180.0120.05112.67
5.3.170.0140.05112.67
5.3.160.0110.05312.67
5.3.150.0130.05512.67
5.3.140.0140.06112.66
5.3.130.0150.04512.66
5.3.120.0060.05612.66
5.3.110.0090.05412.66
5.3.100.0110.04512.12
5.3.90.0110.03512.10
5.3.80.0100.04912.09
5.3.70.0070.03912.09
5.3.60.0100.03612.07
5.3.50.0090.03612.02
5.3.40.0040.04012.02
5.3.30.0050.04111.98
5.3.20.0120.03311.76
5.3.10.0110.05611.73
5.3.00.0100.04511.71
5.2.170.0080.0369.21
5.2.160.0070.0289.21
5.2.150.0120.0349.21
5.2.140.0160.0499.21
5.2.130.0050.0329.18
5.2.120.0080.0369.18
5.2.110.0050.0439.18
5.2.100.0050.0329.17
5.2.90.0070.0339.17
5.2.80.0070.0319.17
5.2.70.0070.0319.17
5.2.60.0050.0329.13
5.2.50.0050.0339.10
5.2.40.0060.0409.07
5.2.30.0090.0369.04
5.2.20.0070.0439.03
5.2.10.0060.0368.95
5.2.00.0060.0298.80
5.1.60.0030.0278.07
5.1.50.0050.0268.07
5.1.40.0040.0258.05
5.1.30.0050.0268.41
5.1.20.0040.0298.42
5.1.10.0070.0268.15
5.1.00.0090.0388.15
5.0.50.0080.0216.63
5.0.40.0050.0246.49
5.0.30.0050.0326.30
5.0.20.0030.0226.27
5.0.10.0040.0226.25
5.0.00.0040.0376.25
4.4.90.0020.0174.78
4.4.80.0050.0144.75
4.4.70.0030.0164.75
4.4.60.0060.0124.75
4.4.50.0020.0194.77
4.4.40.0030.0274.71
4.4.30.0090.0164.75
4.4.20.0040.0164.84
4.4.10.0040.0154.84
4.4.00.0050.0304.76
4.3.110.0050.0224.67
4.3.100.0050.0144.67
4.3.90.0030.0154.64
4.3.80.0020.0254.59
4.3.70.0040.0144.63
4.3.60.0040.0194.63
4.3.50.0060.0194.63
4.3.40.0000.0464.54
4.3.30.0030.0183.31
4.3.20.0030.0193.29
4.3.10.0040.0183.24
4.3.00.0330.02010.31

preferences:
39.8 ms | 401 KiB | 5 Q