3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "FOObarBAZ"; //////////////////// $t = strtolower($s); //////////////////// echo $t;

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.5.30.0120.00517.98
8.5.20.0100.00720.09
8.5.10.0120.00516.24
8.5.00.0130.01122.89
8.4.180.0140.00821.38
8.4.170.0100.01123.80
8.4.160.0140.00623.84
8.4.150.0020.00014.05
8.4.140.0110.00917.40
8.4.130.0090.01117.68
8.4.120.0050.00420.28
8.4.110.0460.00817.55
8.4.100.0210.00517.54
8.4.90.0320.00617.54
8.4.80.0290.00817.66
8.4.70.0410.00617.53
8.4.60.0190.00417.56
8.4.50.0160.00617.77
8.4.40.0200.00517.27
8.4.30.0370.00817.05
8.4.20.0390.00717.26
8.4.10.0450.00717.34
8.3.300.0100.01118.32
8.3.290.0110.01020.73
8.3.280.0120.00718.23
8.3.270.0140.01016.56
8.3.260.0120.00716.47
8.3.250.0130.00616.78
8.3.240.0380.01316.23
8.3.230.0330.00916.19
8.3.220.0140.00716.41
8.3.210.0190.00216.28
8.3.200.0190.00316.47
8.3.190.0190.00316.57
8.3.180.0260.00816.29
8.3.170.0200.00416.22
8.3.160.0320.00316.38
8.3.150.0190.00416.46
8.3.140.0230.00816.50
8.3.130.0360.00516.59
8.3.120.0310.00916.50
8.3.110.0390.00616.38
8.3.100.0420.01016.34
8.3.90.0410.00916.64
8.3.80.0400.00816.13
8.3.70.0440.00716.15
8.3.60.0380.01116.51
8.3.50.0300.00616.42
8.3.40.0420.00817.24
8.3.30.0350.00717.40
8.3.20.0290.00617.27
8.3.10.0310.01017.29
8.3.00.0220.00417.24
8.2.300.0090.00921.79
8.2.290.0240.00716.17
8.2.280.0320.00816.35
8.2.270.0340.00816.27
8.2.260.0350.00716.23
8.2.250.0360.00616.56
8.2.240.0360.00916.50
8.2.230.0320.00716.55
8.2.220.0320.00416.57
8.2.210.0310.01116.42
8.2.200.0330.00916.49
8.2.190.0340.00916.46
8.2.180.0350.00816.01
8.2.170.0360.00817.74
8.2.160.0360.01017.77
8.2.150.0250.00417.50
8.2.140.0200.00317.55
8.2.130.0210.00317.21
8.2.120.0200.00717.68
8.2.110.0190.00917.37
8.2.100.0360.00517.48
8.2.90.0330.01017.34
8.2.80.0230.01017.43
8.2.70.0340.00717.29
8.2.60.0340.00917.37
8.2.50.0330.00617.57
8.2.40.0170.00517.37
8.2.30.0330.00517.20
8.2.20.0350.00617.53
8.2.10.0290.01017.65
8.2.00.0360.00517.50
8.1.340.0140.00617.47

preferences:
35.28 ms | 403 KiB | 5 Q