3v4l.org

run code in 300+ PHP versions simultaneously
<?php // php 5.3.0+ $initial = 'PROP_RESOURCE_TYPE'; $words = explode('_', $initial); foreach($words as &$word){ $word = ucfirst(strtolower($word)); } $final = implode($words); echo $final; // returns PropResourceType // if you want a lowercase first letter just do echo lcfirst($final); // returns propResourceType

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.40.0120.00318.70
8.3.30.0070.00719.08
8.3.20.0110.00320.09
8.3.10.0080.00022.14
8.3.00.0150.00022.43
8.2.170.0080.01122.96
8.2.160.0100.01020.77
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00319.36
8.2.110.0000.01022.25
8.2.100.0040.00717.91
8.2.90.0080.00018.03
8.2.80.0040.00417.97
8.2.70.0040.00417.48
8.2.60.0000.00817.67
8.2.50.0050.00318.07
8.2.40.0080.00018.22
8.2.30.0030.00517.93
8.2.20.0050.00217.69
8.2.10.0040.00417.71
8.2.00.0100.00017.68
8.1.270.0070.00323.99
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0060.00322.52
8.1.230.0070.00420.95
8.1.220.0000.00817.74
8.1.210.0080.00018.96
8.1.200.0110.00017.35
8.1.190.0040.00417.43
8.1.180.0060.00318.10
8.1.170.0000.00818.55
8.1.160.0000.00721.94
8.1.150.0090.00018.66
8.1.140.0100.00017.43
8.1.130.0070.00017.88
8.1.120.0040.00417.38
8.1.110.0000.00717.47
8.1.100.0000.00817.36
8.1.90.0050.00317.48
8.1.80.0020.00517.49
8.1.70.0000.00717.34
8.1.60.0060.00317.54
8.1.50.0040.00417.52
8.1.40.0000.00817.43
8.1.30.0050.00317.59
8.1.20.0040.00417.73
8.1.10.0000.00717.41
8.1.00.0060.00317.45
8.0.300.0000.00719.93
8.0.290.0070.00017.16
8.0.280.0030.00318.34
8.0.270.0080.00017.31
8.0.260.0070.00016.78
8.0.250.0030.00316.93
8.0.240.0040.00416.97
8.0.230.0000.00716.86
8.0.220.0030.00316.88
8.0.210.0030.00316.87
8.0.200.0030.00316.93
8.0.190.0040.00416.82
8.0.180.0030.00516.97
8.0.170.0060.00316.90
8.0.160.0000.00716.96
8.0.150.0050.00216.86
8.0.140.0070.00016.75
8.0.130.0030.00313.28
8.0.120.0000.00816.84
8.0.110.0000.00716.81
8.0.100.0070.00016.89
8.0.90.0020.00516.80
8.0.80.0180.00316.96
8.0.70.0040.00416.81
8.0.60.0000.00716.83
8.0.50.0070.00016.88
8.0.30.0090.01017.12
8.0.20.0110.01017.40
8.0.10.0030.00517.02
8.0.00.0130.00716.76
7.4.330.0050.00015.00
7.4.320.0030.00316.59
7.4.300.0030.00316.50
7.4.290.0030.00316.50
7.4.280.0070.00016.58
7.4.270.0030.00416.62
7.4.260.0070.00016.60
7.4.250.0070.00016.40
7.4.240.0040.00416.60
7.4.230.0040.00416.51
7.4.220.0170.00016.43
7.4.210.0110.00516.50
7.4.200.0030.00316.34
7.4.190.0030.00316.32
7.4.160.0030.01416.67
7.4.150.0060.01317.40
7.4.140.0060.01317.86
7.4.130.0080.01016.39
7.4.120.0090.00916.54
7.4.110.0100.00716.31
7.4.100.0090.00916.64
7.4.90.0130.00916.45
7.4.80.0030.01316.52
7.4.70.0030.01416.39
7.4.60.0030.01316.34
7.4.50.0000.00516.34
7.4.40.0000.01122.77
7.4.30.0060.01216.62
7.4.00.0030.01315.21
7.3.330.0000.00613.18
7.3.320.0030.00313.00
7.3.310.0040.00416.31
7.3.300.0030.00316.13
7.3.290.0060.01016.36
7.3.280.0080.01016.22
7.3.270.0060.01117.40
7.3.260.0040.01216.47
7.3.250.0070.01016.37
7.3.240.0070.01016.56
7.3.230.0110.00616.39
7.3.210.0070.01016.63
7.3.200.0150.00319.39
7.3.190.0030.01416.50
7.3.180.0040.01216.63
7.3.170.0100.00716.30
7.3.160.0030.01416.31
7.3.120.0080.00615.18
7.3.10.0030.00916.57
7.3.00.0060.00516.57
7.2.330.0090.00916.55
7.2.320.0090.00916.31
7.2.310.0080.00816.84
7.2.300.0140.00316.57
7.2.290.0130.00316.55
7.2.130.0080.00716.99
7.2.120.0040.01016.88
7.2.110.0060.00616.78
7.2.100.0080.00516.84
7.2.90.0050.00716.90
7.2.80.0040.01116.92
7.2.70.0020.01016.94
7.2.60.0090.00616.99
7.2.50.0060.00816.86
7.2.40.0080.00616.98
7.2.30.0060.00617.10
7.2.20.0020.01017.06
7.2.10.0070.00516.80
7.2.00.0040.01117.51
7.1.250.0020.00915.71
7.1.240.0000.01216.03
7.1.230.0000.01415.68
7.1.220.0100.00315.82
7.1.210.0030.01015.56
7.1.200.0030.00716.02
7.1.190.0030.01015.92
7.1.180.0030.01215.63
7.1.170.0100.00015.43
7.1.160.0070.00715.91
7.1.150.0130.00015.61
7.1.140.0090.00615.88
7.1.130.0060.00915.74
7.1.120.0070.00715.81
7.1.110.0030.01015.82
7.1.100.0070.00517.05
7.1.90.0100.00315.75
7.1.80.0040.01215.75
7.1.70.0070.00416.29
7.1.60.0030.01617.71
7.1.50.0080.01116.37
7.1.40.0030.01315.76
7.1.30.0070.00715.56
7.1.20.0100.00315.84
7.1.10.0030.01015.88
7.1.00.0020.04618.96
7.0.330.0070.00315.14
7.0.320.0060.00315.36
7.0.310.0000.00915.23
7.0.300.0070.00715.20
7.0.290.0090.00015.34
7.0.280.0030.00715.38
7.0.270.0040.00715.50
7.0.260.0130.00015.39
7.0.250.0060.00915.45
7.0.240.0070.01015.52
7.0.230.0000.01315.33
7.0.220.0030.00515.50
7.0.210.0080.00015.27
7.0.200.0120.00115.91
7.0.190.0080.00315.24
7.0.180.0080.00015.09
7.0.170.0060.00315.51
7.0.160.0080.00315.20
7.0.150.0070.00415.39
7.0.140.0080.03718.71
7.0.130.0040.01115.43
7.0.120.0040.00815.54
7.0.110.0060.00615.62
7.0.100.0130.04217.66
7.0.90.0170.03817.62
7.0.80.0150.04517.69
7.0.70.0040.04017.75
7.0.60.0120.03917.63
7.0.50.0190.03017.90
7.0.40.0120.03016.85
7.0.30.0030.03516.67
7.0.20.0080.03716.67
7.0.10.0140.03816.75
7.0.00.0060.03616.88
5.6.380.0030.01014.30
5.6.370.0060.00614.42
5.6.360.0110.00313.76
5.6.350.0060.00314.28
5.6.340.0000.01313.97
5.6.330.0150.00014.01
5.6.320.0070.00714.32
5.6.310.0060.00814.00
5.6.300.0100.00014.29
5.6.290.0030.01313.98
5.6.280.0050.03817.67
5.6.270.0080.00614.07
5.6.260.0060.00314.40
5.6.250.0050.04217.38
5.6.240.0110.03917.39
5.6.230.0020.03917.34
5.6.220.0100.03517.49
5.6.210.0070.03817.58
5.6.200.0050.04617.63
5.6.190.0060.04617.73
5.6.180.0130.02017.80
5.6.170.0060.04017.66
5.6.160.0030.02817.56
5.6.150.0100.04117.50
5.6.140.0050.03417.74
5.6.130.0100.03817.70
5.6.120.0050.04817.67
5.6.110.0160.03617.70
5.6.100.0100.04317.56
5.6.90.0070.03017.50
5.6.80.0050.03617.20
5.6.70.0100.01917.32
5.6.60.0090.03417.29
5.6.50.0040.03017.18
5.6.40.0050.04517.30
5.6.30.0070.03717.38
5.6.20.0080.03717.14
5.6.10.0170.03517.22
5.6.00.0030.04317.25
5.5.380.0050.04215.83
5.5.370.0000.04515.77
5.5.360.0030.03515.81
5.5.350.0060.04215.77
5.5.340.0130.04116.02
5.5.330.0080.02416.03
5.5.320.0070.04515.97
5.5.310.0050.02316.00
5.5.300.0050.04216.05
5.5.290.0080.03516.05
5.5.280.0090.02615.97
5.5.270.0030.04616.01
5.5.260.0090.03515.95
5.5.250.0080.03715.95
5.5.240.0030.02515.69
5.5.230.0070.03715.67
5.5.220.0050.02515.70
5.5.210.0030.02315.65
5.5.200.0060.02115.68
5.5.190.0100.03715.69
5.5.180.0030.03315.69
5.5.170.0080.00411.18
5.5.160.0050.03915.72
5.5.150.0020.04615.60
5.5.140.0030.03315.69
5.5.130.0020.04515.71
5.5.120.0080.02315.64
5.5.110.0040.02615.71
5.5.100.0090.03915.64
5.5.90.0110.04015.54
5.5.80.0060.03815.61
5.5.70.0050.04315.58
5.5.60.0030.04215.66
5.5.50.0050.02315.59
5.5.40.0050.03115.61
5.5.30.0100.03815.66
5.5.20.0080.03815.60
5.5.10.0080.03715.64
5.5.00.0090.04015.63
5.4.450.0050.03515.29
5.4.440.0030.04515.29
5.4.430.0100.04015.36
5.4.420.0080.03815.27
5.4.410.0070.03715.09
5.4.400.0020.03915.00
5.4.390.0100.03715.08
5.4.380.0050.02315.21
5.4.370.0020.02715.11
5.4.360.0050.04015.12
5.4.350.0080.03515.11
5.4.340.0080.03515.10
5.4.330.0080.00311.18
5.4.320.0080.03615.20
5.4.310.0070.04015.13
5.4.300.0030.03815.14
5.4.290.0030.02915.16
5.4.280.0060.03015.10
5.4.270.0000.02514.99
5.4.260.0090.02015.13
5.4.250.0080.03315.10
5.4.240.0050.04614.98
5.4.230.0100.04015.14
5.4.220.0050.02515.00
5.4.210.0030.02515.11
5.4.200.0030.03815.16
5.4.190.0130.03215.07
5.4.180.0030.03715.10
5.4.170.0030.04515.10
5.4.160.0090.03915.19
5.4.150.0070.04315.11
5.4.140.0030.04013.59
5.4.130.0100.02713.72
5.4.120.0020.02713.69
5.4.110.0030.02313.76
5.4.100.0070.03513.76
5.4.90.0050.03713.75
5.4.80.0030.02613.79
5.4.70.0020.02313.68
5.4.60.0020.02513.79
5.4.50.0080.03113.72
5.4.40.0030.04313.70
5.4.30.0070.03713.73
5.4.20.0050.04013.72
5.4.10.0020.02913.74
5.4.00.0000.03813.46
5.3.290.0130.03612.91
5.3.280.0070.02212.88
5.3.270.0070.03512.89
5.3.260.0030.04312.88
5.3.250.0060.04112.89
5.3.240.0030.03212.88
5.3.230.0070.03812.88
5.3.220.0050.04012.87
5.3.210.0120.02812.87
5.3.200.0020.04012.86
5.3.190.0050.03312.78
5.3.180.0050.04212.82
5.3.170.0030.03512.84
5.3.160.0040.03512.78
5.3.150.0030.04212.78
5.3.140.0050.03512.84
5.3.130.0030.03612.84
5.3.120.0030.02312.83
5.3.110.0060.03112.84
5.3.100.0050.03712.54
5.3.90.0030.04012.60
5.3.80.0050.03812.53
5.3.70.0000.02612.58
5.3.60.0020.02812.51
5.3.50.0000.04712.55
5.3.40.0120.03512.54
5.3.30.0040.02312.52
5.3.20.0030.03312.43
5.3.10.0030.03312.41
5.3.00.0030.03412.36
5.2.170.0050.02511.88
5.2.160.0040.03211.88
5.2.150.0060.02311.88
5.2.140.0030.03311.88
5.2.130.0050.01711.88
5.2.120.0040.03011.88
5.2.110.0010.01911.88
5.2.100.0030.02811.88
5.2.90.0030.03511.88
5.2.80.0030.03411.88
5.2.70.0020.02011.88
5.2.60.0040.01911.88
5.2.50.0010.02811.88
5.2.40.0020.02611.88
5.2.30.0070.01711.88
5.2.20.0030.01611.88
5.2.10.0070.02911.88
5.2.00.0020.03311.88
5.1.60.0030.02811.88
5.1.50.0050.02811.88
5.1.40.0050.01111.88
5.1.30.0030.02311.88
5.1.20.0000.01911.88
5.1.10.0020.01211.88
5.1.00.0040.02511.88
5.0.50.0020.01211.88
5.0.40.0030.02311.88
5.0.30.0010.03311.88
5.0.20.0030.00811.88
5.0.10.0010.02511.88
5.0.00.0050.02711.88
4.4.90.0020.01511.88
4.4.80.0050.01511.88
4.4.70.0030.01811.88
4.4.60.0020.02011.88
4.4.50.0050.01711.88
4.4.40.0020.02311.88
4.4.30.0020.00911.88
4.4.20.0030.01811.88
4.4.10.0020.00811.88
4.4.00.0000.01311.88
4.3.110.0010.00811.88
4.3.100.0020.00811.88
4.3.90.0020.01211.88
4.3.80.0010.01311.88
4.3.70.0010.01911.88
4.3.60.0020.01811.88
4.3.50.0020.01511.88
4.3.40.0030.01811.88
4.3.30.0020.01511.88
4.3.20.0020.01411.88
4.3.10.0020.01611.88
4.3.00.0010.01811.88

preferences:
42.33 ms | 400 KiB | 5 Q