3v4l.org

run code in 500+ PHP versions simultaneously
<?php function all_to_lower(...$args){ foreach($args as &$arg){ $arg = strtolower($arg); } return $args; } $in = all_to_lower('REW','YTYE'); print_r($in);

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.90.0110.00616.89
8.5.80.0040.00516.86
8.5.70.0120.00516.85
8.5.60.0100.00916.59
8.5.50.0100.00616.75
8.5.30.0090.00817.35
8.5.20.0100.00819.58
8.5.10.0080.01016.62
8.5.00.0120.01119.67
8.4.240.0130.00819.47
8.4.230.0070.00619.35
8.4.220.0120.00919.43
8.4.210.0080.01119.66
8.4.180.0130.01019.80
8.4.170.0130.00920.56
8.4.160.0100.01223.87
8.4.150.0090.00516.81
8.4.140.0140.00717.50
8.4.130.0070.00918.49
8.4.120.0120.00823.90
8.4.110.0130.00918.69
8.4.100.0130.00718.86
8.4.90.0080.01320.71
8.4.80.0080.01218.86
8.4.70.0110.00917.97
8.4.60.0110.00919.05
8.4.50.0040.00418.75
8.4.40.0190.00018.82
8.4.30.0140.00718.41
8.4.20.0100.01020.41
8.4.10.0030.00617.53
8.3.320.0100.01118.49
8.3.310.0060.00518.43
8.3.300.0120.00820.84
8.3.290.0130.00720.67
8.3.280.0100.00918.38
8.3.270.0160.00416.38
8.3.260.0110.00616.48
8.3.250.0120.00718.83
8.3.240.0120.00717.09
8.3.230.0110.00816.59
8.3.220.0130.00518.91
8.3.210.0100.00518.43
8.3.200.0060.00516.44
8.3.190.0090.01017.21
8.3.180.0110.00717.41
8.3.170.0060.00920.69
8.3.160.0030.01516.73
8.3.150.0070.01116.47
8.3.140.0070.01018.82
8.3.130.0030.00618.61
8.3.120.0090.00018.79
8.3.110.0140.00418.15
8.3.100.0030.00716.50
8.3.90.0100.00318.20
8.3.80.0110.00018.56
8.3.70.0140.00716.38
8.3.60.0140.00418.18
8.3.50.0140.00623.46
8.3.40.0100.01020.29
8.3.30.0120.00318.67
8.3.20.0080.00021.94
8.3.10.0040.00420.16
8.3.00.0040.00420.71
8.2.320.0070.00318.00
8.2.310.0120.00718.10
8.2.300.0090.01122.18
8.2.290.0070.01220.56
8.2.280.0120.00718.61
8.2.270.0080.00016.71
8.2.260.0040.00416.80
8.2.250.0060.00318.18
8.2.240.0060.00317.32
8.2.230.0070.00020.94
8.2.220.0000.00824.06
8.2.210.0070.01326.77
8.2.200.0060.00316.75
8.2.190.0100.01016.63
8.2.180.0040.01518.41
8.2.170.0040.01122.96
8.2.160.0070.01319.46
8.2.150.0070.00024.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00726.16
8.2.110.0030.00621.12
8.2.100.0070.00417.78
8.2.90.0040.00817.75
8.2.80.0090.00019.36
8.2.70.0000.00817.49
8.2.60.0000.00917.93
8.2.50.0030.00718.07
8.2.40.0040.00417.97
8.2.30.0020.00518.04
8.2.20.0040.00418.07
8.2.10.0040.00419.22
8.2.00.0050.00319.11
8.1.340.0140.00823.59
8.1.330.0120.00921.85
8.1.320.0120.00718.63
8.1.310.0140.00416.25
8.1.300.0090.00920.19
8.1.290.0040.00418.88
8.1.280.0120.00425.92
8.1.270.0040.00422.23
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00020.72
8.1.230.0000.01119.28
8.1.220.0000.00917.79
8.1.210.0000.00818.77
8.1.200.0100.00017.48
8.1.190.0080.00017.23
8.1.180.0030.00618.10
8.1.170.0040.00418.46
8.1.160.0050.00418.88
8.1.150.0000.00718.77
8.1.140.0040.00418.87
8.1.130.0000.00720.17
8.1.120.0080.00017.36
8.1.110.0030.00517.43
8.1.100.0000.00717.45
8.1.90.0050.00217.32
8.1.80.0030.00517.30
8.1.70.0000.00717.43
8.1.60.0000.00817.47
8.1.50.0040.00417.49
8.1.40.0050.00317.40
8.1.30.0000.00817.54
8.1.20.0040.00417.56
8.1.10.0000.00817.56
8.1.00.0000.00717.40
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00718.30
8.0.270.0070.00017.94
8.0.260.0000.00719.99
8.0.250.0030.00316.85
8.0.240.0000.00816.86
8.0.230.0080.00016.88
8.0.220.0000.00716.95
8.0.210.0030.00316.93
8.0.200.0030.00316.94
8.0.190.0050.00216.88
8.0.180.0050.00316.85
8.0.170.0060.00316.84
8.0.160.0050.00216.97
8.0.150.0040.00416.86
8.0.140.0050.00216.84
8.0.130.0030.00313.41
8.0.120.0050.00216.93
8.0.110.0040.00416.77
8.0.100.0000.00716.91
8.0.90.0080.00016.82
8.0.80.0080.01016.84
8.0.70.0040.00416.84
8.0.60.0000.00716.77
8.0.50.0000.00716.79
8.0.30.0080.00816.75
8.0.20.0070.01117.36
8.0.10.0070.00017.02
8.0.00.0120.00616.92
7.4.330.0000.00515.55
7.4.320.0000.00616.50
7.4.300.0070.00016.44
7.4.290.0070.00016.59
7.4.280.0090.00016.57
7.4.270.0070.00016.63
7.4.260.0000.00513.26
7.4.250.0000.00716.45
7.4.240.0040.00416.53
7.4.230.0070.00016.36
7.4.220.0020.00616.58
7.4.210.0070.01016.50
7.4.200.0000.00716.49
7.4.130.0090.01116.56
7.4.120.0160.00316.43
7.4.110.0060.01616.63
7.4.100.0060.01216.61
7.4.90.0080.00816.45
7.4.80.0110.00719.39
7.4.70.0130.00616.52
7.4.60.0070.01016.67
7.4.50.0070.00716.40
7.4.40.0130.00316.43
7.4.30.0070.01016.12
7.4.20.0110.00516.45
7.4.10.0120.00616.43
7.4.00.0030.01316.59
7.3.330.0040.00416.41
7.3.320.0020.00213.27
7.3.310.0030.00316.20
7.3.300.0000.00716.32
7.3.290.0080.00616.28
7.3.260.0120.00516.28
7.3.230.0070.01016.32
7.3.210.0120.00616.23
7.3.200.0030.01316.44
7.3.190.0090.00916.66
7.3.180.0110.00616.37
7.3.170.0150.00616.44
7.3.160.0060.01316.55
7.3.150.0030.01316.21
7.3.140.0060.01316.62
7.3.130.0130.00716.61
7.3.120.0060.01216.36
7.3.110.0110.00816.32
7.3.100.0120.00616.43
7.3.90.0130.00616.38
7.3.80.0090.00916.45
7.3.70.0080.00916.32
7.3.60.0030.01416.50
7.3.50.0140.00316.50
7.3.40.0060.00916.44
7.3.30.0140.00416.27
7.3.20.0170.00716.39
7.3.10.0100.00716.39
7.3.00.0060.01216.38
7.2.330.0060.01216.77
7.2.320.0110.00716.54
7.2.310.0200.00316.57
7.2.300.0130.00316.71
7.2.290.0110.00816.50
7.2.280.0070.01016.48
7.2.270.0090.01216.55
7.2.260.0030.01716.63
7.2.250.0090.01316.50
7.2.240.0100.01016.58
7.2.230.0120.00616.70
7.2.220.0070.01116.45
7.2.210.0030.01416.66
7.2.200.0030.01516.62
7.2.190.0060.01116.46
7.2.180.0090.01216.51
7.2.170.0100.01016.60
7.2.160.0090.01316.70
7.2.150.0090.00916.60
7.2.140.0140.00516.75
7.2.130.0030.01516.68
7.2.120.0090.00916.74
7.2.110.0100.00716.70
7.2.100.0080.00816.61
7.2.90.0100.01416.77
7.2.80.0150.00916.78
7.2.70.0090.00916.64
7.2.60.0070.01016.59
7.2.50.0030.01516.65
7.2.40.0100.00916.68
7.2.30.0090.00916.65
7.2.20.0120.00916.66
7.2.10.0180.00616.76
7.2.00.0110.00716.64

preferences:
95.46 ms | 1529 KiB | 5 Q