3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tests = [ 'Test', 'test', 'test1', '1test', 'test!' ]; foreach ($tests as $test) { echo "$test: " , (ctype_lower($test) ? 'true' : 'false') , "\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)
8.4.120.0060.00322.61
8.4.110.0050.00318.64
8.4.100.0110.00917.59
8.4.90.0130.00720.55
8.4.80.0100.01018.75
8.4.70.0060.00317.94
8.4.60.0130.00618.89
8.4.50.0100.01020.36
8.4.40.0150.00317.61
8.4.30.0060.01318.54
8.4.20.0080.01120.54
8.4.10.0000.00919.54
8.3.250.0100.00918.99
8.3.240.0130.00616.53
8.3.230.0130.00616.53
8.3.220.0040.00520.52
8.3.210.0080.00616.77
8.3.200.0040.00416.43
8.3.190.0060.00217.12
8.3.180.0070.01319.16
8.3.170.0060.01316.60
8.3.160.0100.00717.00
8.3.150.0180.00017.17
8.3.140.0070.00718.85
8.3.130.0040.01218.32
8.3.120.0060.00318.85
8.3.110.0060.00320.94
8.3.100.0000.00824.06
8.3.90.0080.00026.77
8.3.80.0080.00016.78
8.3.70.0090.00616.58
8.3.60.0170.00318.30
8.3.50.0130.00816.62
8.3.40.0130.00318.55
8.3.30.0150.00018.60
8.3.20.0040.00420.90
8.3.10.0040.00420.33
8.3.00.0000.00723.48
8.2.290.0050.00518.97
8.2.280.0050.00916.65
8.2.270.0070.00719.09
8.2.260.0060.00316.46
8.2.250.0040.00418.51
8.2.240.0080.00016.93
8.2.230.0060.00322.58
8.2.220.0030.00637.54
8.2.210.0140.00326.77
8.2.200.0050.00516.50
8.2.190.0090.00616.58
8.2.180.0120.00325.92
8.2.170.0000.01518.66
8.2.160.0030.01022.96
8.2.150.0000.00825.66
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0110.00820.89
8.2.110.0070.00321.04
8.2.100.0100.00417.84
8.2.90.0050.00317.84
8.2.80.0000.00817.97
8.2.70.0000.00917.80
8.2.60.0040.00418.22
8.2.50.0080.00018.10
8.2.40.0000.00819.32
8.2.30.0080.00319.34
8.2.20.0050.00318.01
8.2.10.0070.00018.88
8.2.00.0030.00319.30
8.1.330.0110.00916.12
8.1.320.0100.00916.21
8.1.310.0110.00716.45
8.1.300.0070.01120.07
8.1.290.0000.01130.84
8.1.280.0090.00925.92
8.1.270.0080.00022.34
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0060.00319.29
8.1.230.0040.00822.75
8.1.220.0040.00417.79
8.1.210.0040.00418.78
8.1.200.0050.00817.00
8.1.190.0050.00317.10
8.1.180.0080.00018.10
8.1.170.0000.00818.59
8.1.160.0080.00018.87
8.1.150.0040.00418.82
8.1.140.0040.00418.76
8.1.130.0070.00017.53
8.1.120.0030.00317.42
8.1.110.0040.00417.53
8.1.100.0030.00317.50
8.1.90.0040.00417.43
8.1.80.0000.00717.49
8.1.70.0030.00517.41
8.1.60.0030.00517.51
8.1.50.0000.00717.51
8.1.40.0030.00617.47
8.1.30.0030.00617.52
8.1.20.0020.00517.63
8.1.10.0030.00517.54
8.1.00.0000.00817.45
8.0.300.0080.00019.55
8.0.290.0080.00016.75
8.0.280.0070.00018.48
8.0.270.0070.00017.18
8.0.260.0060.00016.82
8.0.250.0030.00316.94
8.0.240.0070.00016.96
8.0.230.0040.00417.01
8.0.220.0070.00016.86
8.0.210.0000.00716.82
8.0.200.0070.00016.86
8.0.190.0040.00416.86
8.0.180.0040.00416.89
8.0.170.0060.00316.81
8.0.160.0000.00816.90
8.0.150.0030.00516.85
8.0.140.0040.00416.85
8.0.130.0000.00613.26
8.0.120.0040.00416.88
8.0.110.0070.00016.75
8.0.100.0050.00316.77
8.0.90.0070.00016.86
8.0.80.0070.01316.90
8.0.70.0040.00416.77
8.0.60.0040.00417.00
8.0.50.0070.00016.92
8.0.30.0090.00916.87
8.0.20.0150.00417.26
8.0.10.0050.00317.08
8.0.00.0130.00816.73
7.4.330.0020.00215.55
7.4.320.0000.00616.48
7.4.300.0060.00016.48
7.4.290.0000.00816.62
7.4.280.0040.00416.44
7.4.270.0000.00816.45
7.4.260.0070.00016.59
7.4.250.0070.00016.51
7.4.240.0040.00416.57
7.4.230.0030.00316.41
7.4.220.0030.00516.61
7.4.210.0040.01416.52
7.4.200.0040.00416.58
7.4.130.0110.00716.53
7.4.120.0060.01616.54
7.4.110.0120.00616.56
7.4.100.0140.01016.56
7.4.90.0100.01316.42
7.4.80.0060.01219.39
7.4.70.0140.00416.39
7.4.60.0120.00416.37
7.4.50.0060.01016.29
7.4.40.0080.00816.60
7.4.00.0060.00914.84
7.3.330.0000.00513.09
7.3.320.0050.00013.23
7.3.310.0040.00416.38
7.3.300.0030.00316.12
7.3.290.0030.00316.12
7.3.280.0060.01116.15
7.3.260.0120.00716.38
7.3.240.0110.00616.50
7.3.230.0150.00316.20
7.3.210.0070.01016.51
7.3.200.0000.01616.34
7.3.190.0100.01016.39
7.3.180.0120.00316.39
7.3.170.0140.00316.66
7.3.160.0070.00716.55
7.3.120.0050.01414.93
7.3.110.0050.01414.65
7.3.100.0110.00314.77
7.3.90.0060.00915.06
7.3.80.0050.01115.02
7.3.70.0090.00514.83
7.3.60.0060.00714.77
7.3.50.0060.00614.81
7.3.40.0080.00914.72
7.3.30.0100.00814.68
7.3.20.0090.00915.99
7.3.10.0070.01115.95
7.3.00.0140.00215.99
7.2.330.0030.01416.43
7.2.320.0070.01016.63
7.2.310.0060.01016.46
7.2.300.0090.01416.75
7.2.290.0030.01316.73
7.2.250.0120.00614.82
7.2.240.0080.01014.81
7.2.230.0090.00314.81
7.2.220.0020.01215.05
7.2.210.0110.00515.02
7.2.200.0060.00614.93
7.2.190.0030.01015.02
7.2.180.0110.00714.87
7.2.170.0060.00814.82
7.2.160.0180.00314.80
7.2.150.0070.01015.84
7.2.140.0110.00615.85
7.2.130.0090.00415.93
7.2.120.0150.00415.92
7.2.110.0090.01215.88
7.2.100.0050.01515.82
7.2.90.0110.00615.87
7.2.80.0110.00616.04
7.2.70.0090.01116.07
7.2.60.0150.00215.83
7.2.50.0050.00715.96
7.2.40.0120.00316.01
7.2.30.0100.01115.88
7.2.20.0080.00815.94
7.2.10.0130.00716.03
7.2.00.0120.00616.14
7.1.330.0050.01015.64
7.1.320.0050.00815.84
7.1.310.0060.00615.75
7.1.300.0080.00715.84
7.1.290.0050.00815.72
7.1.280.0100.01015.19
7.1.270.0100.00815.09
7.1.260.0060.00615.25
7.1.250.0110.00814.68

preferences:
126.6 ms | 403 KiB | 5 Q