3v4l.org

run code in 300+ PHP versions simultaneously
<?php $categoryMap = array("ARCH" => "Architects (Degreed & Licensed - Active & Retired)", "ARCHPROF" => "Architectural Professionals (Degreed)", "ENG" => "Engineers (Degreed & Licensed - Active & Retired)", "ENGPROF" => "Engineering Professionals (Degreed)", "NON-US" => "Non-U.S. Architects and Engineers & Architectural and Engineering Professionals", "XMISC" => "Other Supporters and A&E Students"); $occupationMap = array("L" => "Degreed & Licensed", "U" => "Degreed", "S" => "Student", "O" => "Other"); function rrmdir($i) { global $categoryMap; echo $categoryMap[$i]; }; rrmdir("ARCH");

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.0100.01016.61
8.3.50.0130.00817.35
8.3.40.0170.00318.70
8.3.30.0150.00018.67
8.3.20.0080.00018.65
8.3.10.0030.00618.65
8.3.00.0110.00017.63
8.2.180.0160.00316.50
8.2.170.0130.00322.96
8.2.160.0070.01121.07
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0050.00226.16
8.2.120.0000.00820.38
8.2.110.0030.00621.17
8.2.100.0040.00717.72
8.2.90.0030.00618.22
8.2.80.0000.00817.97
8.2.70.0040.00417.93
8.2.60.0000.00818.03
8.2.50.0090.00018.10
8.2.40.0000.00720.42
8.2.30.0070.00018.12
8.2.20.0040.00417.64
8.2.10.0000.00717.50
8.2.00.0040.00417.63
8.1.280.0130.00325.92
8.1.270.0070.00024.66
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0030.00623.93
8.1.230.0110.00020.72
8.1.220.0030.00617.74
8.1.210.0060.00318.97
8.1.200.0000.00917.12
8.1.190.0030.00517.23
8.1.180.0050.00318.10
8.1.170.0060.00318.66
8.1.160.0070.00018.82
8.1.150.0050.00218.48
8.1.140.0020.00517.40
8.1.130.0030.00317.75
8.1.120.0050.00317.27
8.1.110.0040.00417.34
8.1.100.0070.00017.32
8.1.90.0040.00417.28
8.1.80.0000.00817.26
8.1.70.0050.00217.37
8.1.60.0030.00617.57
8.1.50.0060.00317.46
8.1.40.0040.00417.41
8.1.30.0000.00717.57
8.1.20.0030.00617.68
8.1.10.0040.00417.57
8.1.00.0000.00717.58
8.0.300.0000.00719.94
8.0.290.0000.00816.63
8.0.280.0070.00018.41
8.0.270.0050.00317.26
8.0.260.0000.00716.75
8.0.250.0000.00716.94
8.0.240.0050.00316.93
8.0.230.0070.00016.93
8.0.220.0000.00816.77
8.0.210.0040.00416.90
8.0.200.0040.00416.86
8.0.190.0040.00416.90
8.0.180.0000.00816.82
8.0.170.0030.00616.89
8.0.160.0040.00416.83
8.0.150.0000.00816.66
8.0.140.0040.00816.83
8.0.130.0060.00013.30
8.0.120.0000.00716.71
8.0.110.0000.00716.89
8.0.100.0040.00416.68
8.0.90.0050.00216.73
8.0.80.0060.00916.78
8.0.70.0030.00516.65
8.0.60.0040.00416.73
8.0.50.0000.00716.77
8.0.30.0150.00716.96
8.0.20.0070.01216.68
8.0.10.0000.00716.86
8.0.00.0070.01016.45
7.4.330.0000.00612.93
7.4.320.0040.00416.37
7.4.300.0030.00316.57
7.4.290.0040.00416.50
7.4.280.0070.00016.61
7.4.270.0030.00316.58
7.4.260.0000.00613.26
7.4.250.0090.00016.50
7.4.240.0040.00316.57
7.4.230.0030.00316.35
7.4.220.0140.00416.56
7.4.210.0060.01016.60
7.4.200.0070.00016.51
7.4.190.0000.00716.60
7.4.160.0060.01116.59
7.4.150.0070.01016.48
7.4.140.0050.01216.55
7.4.130.0100.00716.46
7.4.120.0100.00716.52
7.4.110.0130.01016.50
7.4.100.0090.00916.49
7.4.90.0100.00716.60
7.4.80.0070.01019.39
7.4.70.0070.01016.59
7.4.60.0060.00916.47
7.4.50.0050.00516.50
7.4.40.0070.00716.14
7.4.30.0140.00316.32
7.4.10.0080.00816.48
7.4.00.0100.00715.65
7.3.330.0000.00613.27
7.3.320.0000.00613.31
7.3.310.0070.00016.14
7.3.300.0070.00016.07
7.3.290.0040.01116.21
7.3.280.0060.01216.19
7.3.270.0140.00416.36
7.3.260.0100.01116.50
7.3.250.0090.00816.28
7.3.240.0070.01016.58
7.3.230.0060.01016.40
7.3.210.0060.01016.37
7.3.200.0180.00316.26
7.3.190.0160.00616.32
7.3.180.0090.00616.43
7.3.170.0060.01016.43
7.3.160.0080.01216.43
7.3.130.0100.00316.26
7.3.120.0070.00715.44
7.3.110.0040.01216.36
7.3.100.0120.00016.16
7.3.90.0030.01216.33
7.3.80.0120.00616.22
7.3.70.0130.00616.27
7.3.60.0030.00916.08
7.3.50.0070.00716.29
7.3.40.0070.01015.97
7.3.30.0140.00316.29
7.3.20.0030.01018.11
7.3.10.0000.01418.03
7.3.00.0070.00717.33
7.2.330.0040.01216.71
7.2.320.0070.01116.77
7.2.310.0240.01816.58
7.2.300.0080.01016.57
7.2.290.0060.01116.75
7.2.260.0070.01316.55
7.2.250.0110.00716.26
7.2.240.0110.00716.55
7.2.230.0030.00916.58
7.2.220.0110.00616.29
7.2.210.0120.00616.65
7.2.200.0000.01016.34
7.2.190.0000.01116.42
7.2.180.0070.01416.55
7.2.170.0120.00616.39
7.2.160.0040.00716.29
7.2.150.0040.01418.13
7.2.140.0100.00318.37
7.2.130.0060.00617.43
7.2.120.0060.00617.61
7.2.110.0050.01017.52
7.2.100.0060.00617.60
7.2.90.0070.00717.50
7.2.80.0110.00317.50
7.2.70.0030.01317.62
7.2.60.0080.01017.49
7.2.50.0040.00917.62
7.2.40.0040.01117.48
7.2.30.0060.00817.54
7.2.20.0040.00917.64
7.2.10.0060.00817.46
7.2.00.0080.00818.27
7.1.330.0000.00917.22
7.1.320.0060.00617.15
7.1.310.0090.00917.20
7.1.300.0060.01017.26
7.1.290.0080.00417.21
7.1.280.0070.01417.18
7.1.270.0080.00517.27
7.1.260.0090.00617.29
7.1.250.0040.00816.49
7.1.240.0080.00316.19
7.1.230.0100.00316.24
7.1.220.0020.01216.46
7.1.210.0090.00516.29
7.1.200.0060.00716.34
7.1.190.0020.01116.34
7.1.180.0080.00716.39
7.1.170.0030.00616.41
7.1.160.0070.00416.36
7.1.150.0030.01116.35
7.1.140.0050.00816.46
7.1.130.0070.00716.41
7.1.120.0050.00916.44
7.1.110.0070.00716.55
7.1.100.0060.00817.01
7.1.90.0080.00316.42
7.1.80.0060.00716.42
7.1.70.0040.00716.68
7.1.60.0060.01017.40
7.1.50.0060.00716.54
7.1.40.0030.01016.48
7.1.30.0020.00916.42
7.1.20.0030.00716.36
7.1.10.0030.00916.40
7.1.00.0060.02818.36
7.0.330.0030.01015.87
7.0.320.0050.00815.96
7.0.310.0030.01215.92
7.0.300.0090.00516.07
7.0.290.0050.00815.88
7.0.280.0040.00916.07
7.0.270.0060.00316.07
7.0.260.0050.00715.89
7.0.250.0070.00616.03
7.0.240.0090.00516.06
7.0.230.0040.00916.13
7.0.220.0070.00616.09
7.0.210.0090.00316.13
7.0.200.0080.00516.24
7.0.190.0080.00615.87
7.0.180.0080.00315.95
7.0.170.0040.00716.13
7.0.160.0000.00915.87
7.0.150.0050.00716.01
7.0.140.0050.03018.01
7.0.130.0100.00516.16
7.0.120.0100.02418.12
7.0.110.0110.00716.14
7.0.100.0030.01316.12
7.0.90.0070.00516.19
7.0.80.0070.01216.14
7.0.70.0080.00516.09
7.0.60.0040.03317.84
7.0.50.0090.01916.61
7.0.40.0040.02316.16
7.0.30.0140.03116.06
7.0.20.0090.02016.05
7.0.10.0080.03316.13
7.0.00.0050.03416.01
5.6.400.0060.01015.98
5.6.390.0070.00715.95
5.6.380.0030.01115.19
5.6.370.0120.00314.88
5.6.360.0050.00815.04
5.6.350.0100.00515.12
5.6.340.0030.00915.04
5.6.330.0030.00814.90
5.6.320.0050.00915.26
5.6.310.0070.00514.65
5.6.300.0090.00614.81
5.6.290.0090.00614.85
5.6.280.0040.01115.09
5.6.270.0050.00815.07
5.6.260.0140.00315.00
5.6.250.0070.00715.37
5.6.240.0090.00514.99
5.6.230.0040.00715.10
5.6.220.0100.00114.98
5.6.210.0090.02916.79
5.6.200.0060.03215.98
5.6.190.0050.03616.75
5.6.180.0080.03316.78
5.6.170.0130.01816.90
5.6.160.0140.01716.82
5.6.150.0060.03216.01
5.6.140.0090.01516.16
5.6.130.0090.01716.02
5.6.120.0070.01917.04
5.6.110.0100.02716.97
5.6.100.0030.03216.97
5.6.90.0090.01716.98
5.6.80.0030.03416.71
5.6.70.0020.01114.74
5.6.60.0020.01014.76
5.6.50.0030.00714.88
5.6.40.0060.00514.95
5.6.30.0070.00715.18
5.6.20.0070.00515.02
5.6.10.0040.00715.00
5.6.00.0030.00714.77
5.5.380.0030.00813.68
5.5.370.0050.00713.25
5.5.360.0030.00713.23
5.5.350.0050.01715.75
5.5.340.0050.02514.88
5.5.330.0070.03015.69
5.5.320.0050.02115.72
5.5.310.0140.02615.85
5.5.300.0070.01814.95
5.5.290.0050.01815.02
5.5.280.0070.01515.82
5.5.270.0100.02915.96
5.5.260.0020.02115.83
5.5.250.0040.02215.68
5.5.240.0090.02915.70
5.5.230.0020.01113.28
5.5.220.0090.00213.38
5.5.210.0020.01013.43
5.5.200.0080.00313.49
5.5.190.0030.00813.45
5.5.180.0000.00813.38
5.5.170.0050.00613.30
5.5.160.0050.00713.49
5.5.150.0020.00713.36
5.5.140.0010.00913.36
5.5.130.0080.00613.31
5.5.120.0030.00713.50
5.5.110.0020.00813.48
5.5.100.0030.00913.34
5.5.90.0040.00713.29
5.5.80.0070.00513.22
5.5.70.0080.00113.25
5.5.60.0030.00913.37
5.5.50.0090.00513.55
5.5.40.0100.00213.28
5.5.30.0050.00813.31
5.5.20.0070.00513.36
5.5.10.0010.01213.15
5.5.00.0050.00513.45
5.4.450.0080.02614.54
5.4.440.0030.02014.54
5.4.430.0050.02314.53
5.4.420.0050.03014.47
5.4.410.0120.02214.35
5.4.400.0050.02414.32
5.4.390.0050.03114.32
5.4.380.0080.02614.28
5.4.370.0080.02714.30
5.4.360.0060.02314.33
5.4.350.0020.02014.31
5.4.340.0020.02214.41
5.4.330.0020.00512.01
5.4.320.0060.02614.38
5.4.310.0020.02414.47
5.4.300.0050.03014.45
5.4.290.0020.02014.34
5.4.280.0050.01614.42
5.4.270.0080.01214.41
5.4.260.0030.03014.31
5.4.250.0060.02914.38
5.4.240.0080.02614.47
5.4.230.0060.01714.42
5.4.220.0040.01914.48
5.4.210.0070.01714.23
5.4.200.0040.02414.38
5.4.190.0050.02914.32
5.4.180.0080.01914.29
5.4.170.0050.02214.36
5.4.160.0070.01914.31
5.4.150.0050.02914.24
5.4.140.0050.01613.51
5.4.130.0040.01513.45
5.4.120.0050.02613.52
5.4.110.0020.02213.48
5.4.100.0080.02513.49
5.4.90.0050.02613.62
5.4.80.0060.02513.48
5.4.70.0030.01813.47
5.4.60.0020.02113.49
5.4.50.0050.02213.44
5.4.40.0070.02813.44
5.4.30.0070.02613.46
5.4.20.0090.01713.36
5.4.10.0050.02913.52
5.4.00.0050.02213.30
5.3.290.0060.03212.87
5.3.280.0090.02312.75
5.3.270.0070.01812.81
5.3.260.0050.01712.77
5.3.250.0020.03112.85
5.3.240.0080.02512.79
5.3.230.0070.01412.75
5.3.220.0030.03012.74
5.3.210.0050.02412.74
5.3.200.0040.02212.74
5.3.190.0020.02112.74
5.3.180.0030.02912.74
5.3.170.0040.02412.75
5.3.160.0030.01612.72
5.3.150.0030.02312.80
5.3.140.0060.03012.73
5.3.130.0040.02012.74
5.3.120.0020.02012.78
5.3.110.0060.01912.75
5.3.100.0030.01912.61
5.3.90.0060.02712.54
5.3.80.0050.02312.56
5.3.70.0090.01412.51
5.3.60.0020.03012.56
5.3.50.0030.01912.55
5.3.40.0030.01812.53
5.3.30.0010.01912.54
5.3.20.0030.02912.50
5.3.10.0040.02712.42
5.3.00.0040.01812.44
5.2.170.0030.02110.85
5.2.160.0030.02110.83
5.2.150.0030.01610.82
5.2.140.0040.01710.82
5.2.130.0050.03110.81
5.2.120.0000.02410.80
5.2.110.0030.03510.87
5.2.100.0050.03210.77
5.2.90.0030.03310.76
5.2.80.0050.02710.77
5.2.70.0060.02010.81
5.2.60.0030.03310.84
5.2.50.0030.03410.73
5.2.40.0020.03510.73
5.2.30.0010.03010.73
5.2.20.0070.02410.72
5.2.10.0050.02010.65
5.2.00.0030.01810.61
5.1.60.0070.02210.25
5.1.50.0060.02110.23
5.1.40.0030.01310.26
5.1.30.0030.03310.49
5.1.20.0070.02610.46
5.1.10.0070.01210.23
5.1.00.0090.01810.27
5.0.50.0030.0229.64
5.0.40.0030.0239.64
5.0.30.0070.0299.64
5.0.20.0070.0209.64
5.0.10.0010.0149.64
5.0.00.0010.0189.64
4.4.90.0000.0209.64
4.4.80.0030.0109.64
4.4.70.0020.0159.64
4.4.60.0040.0109.64
4.4.50.0010.0099.64
4.4.40.0020.0179.64
4.4.30.0000.0129.64
4.4.20.0000.0179.64
4.4.10.0000.0209.64
4.4.00.0010.0169.64
4.3.110.0050.0159.64
4.3.100.0030.0189.64
4.3.90.0020.0149.64
4.3.80.0020.0149.64
4.3.70.0000.0189.64
4.3.60.0020.0099.64
4.3.50.0020.0099.64
4.3.40.0000.0309.64
4.3.30.0020.0089.64
4.3.20.0000.0179.64
4.3.10.0000.0119.64
4.3.00.0020.0189.64

preferences:
59.95 ms | 401 KiB | 5 Q