3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = [ 'c' , 't']; echo $test[0-1];

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.0120.00316.48
8.3.50.0040.01116.32
8.3.40.0090.00618.61
8.3.30.0140.00018.73
8.3.20.0040.00420.29
8.3.10.0090.00023.37
8.3.00.0080.00019.38
8.2.180.0030.01418.34
8.2.170.0100.01022.96
8.2.160.0070.00720.39
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0030.00521.12
8.2.120.0000.00826.35
8.2.110.0030.00719.25
8.2.100.0090.00318.22
8.2.90.0000.00719.21
8.2.80.0040.00417.97
8.2.70.0000.00817.59
8.2.60.0030.00618.05
8.2.50.0030.00618.10
8.2.40.0060.00320.41
8.2.30.0040.00419.32
8.2.20.0000.00718.16
8.2.10.0070.00018.04
8.2.00.0000.00717.97
8.1.280.0110.00625.92
8.1.270.0040.00423.84
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00623.92
8.1.230.0090.00617.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0080.00017.13
8.1.190.0050.00317.22
8.1.180.0000.00718.10
8.1.170.0030.00620.19
8.1.160.0020.00519.05
8.1.150.0050.00220.59
8.1.140.0070.00019.42
8.1.130.0030.00318.80
8.1.120.0030.00317.46
8.1.110.0070.00017.44
8.1.100.0000.00717.43
8.1.90.0070.00017.38
8.1.80.0000.00817.28
8.1.70.0000.00817.36
8.1.60.0000.00817.47
8.1.50.0000.00717.36
8.1.40.0030.00517.43
8.1.30.0030.00617.41
8.1.20.0030.00617.55
8.1.10.0040.00417.56
8.1.00.0040.00417.47
8.0.300.0080.00018.77
8.0.290.0000.00716.75
8.0.280.0070.00018.29
8.0.270.0030.00317.13
8.0.260.0080.00016.95
8.0.250.0030.00316.90
8.0.240.0000.00716.98
8.0.230.0030.00316.98
8.0.220.0000.00716.80
8.0.210.0000.00816.91
8.0.200.0040.00416.88
8.0.190.0080.00016.81
8.0.180.0030.00316.93
8.0.170.0040.00416.80
8.0.160.0070.00016.96
8.0.150.0000.00816.93
8.0.140.0030.00316.84
8.0.130.0050.00013.37
8.0.120.0070.00016.83
8.0.110.0000.00716.82
8.0.100.0070.00016.95
8.0.90.0030.00416.95
8.0.80.0040.01116.90
8.0.70.0040.00416.75
8.0.60.0040.00416.88
8.0.50.0040.00416.88
8.0.30.0090.01016.97
8.0.20.0110.01117.40
8.0.10.0050.00216.78
8.0.00.0090.01016.70
7.4.330.0020.00215.55
7.4.320.0030.00316.54
7.4.300.0030.00316.38
7.4.290.0080.00016.33
7.4.280.0030.00616.53
7.4.270.0000.00716.52
7.4.260.0080.00016.52
7.4.250.0060.00316.35
7.4.240.0000.00716.32
7.4.230.0000.00616.46
7.4.220.0120.00616.32
7.4.210.0090.00916.47
7.4.200.0030.00316.23
7.4.160.0120.00716.52
7.4.150.0150.00917.40
7.4.140.0120.00717.86
7.4.130.0190.00316.43
7.4.120.0100.00916.53
7.4.110.0090.00916.46
7.4.100.0000.01816.57
7.4.90.0100.01016.29
7.4.80.0060.00919.39
7.4.70.0120.00416.68
7.4.60.0120.00616.47
7.4.50.0060.00916.48
7.4.40.0030.01216.37
7.4.30.0070.01416.38
7.4.00.0130.00014.59
7.3.330.0000.00613.00
7.3.320.0050.00013.04
7.3.310.0070.00016.39
7.3.300.0030.00316.14
7.3.290.0100.00616.27
7.3.280.0080.00816.26
7.3.270.0120.00617.40
7.3.260.0090.01116.32
7.3.250.0120.00616.26
7.3.240.0090.00916.41
7.3.230.0070.01716.46
7.3.210.0040.01216.19
7.3.200.0070.01116.30
7.3.190.0090.01216.43
7.3.180.0080.01116.36
7.3.170.0100.00616.49
7.3.160.0100.00616.63
7.2.330.0090.00616.22
7.2.320.0030.01616.45
7.2.310.0110.00516.63
7.2.300.0100.00716.71
7.2.290.0100.01316.27
7.2.60.0060.00916.80
7.2.00.0000.01319.41
7.1.200.0050.00315.82
7.1.100.0200.01417.95
7.1.70.0070.01416.95
7.1.60.0270.01935.09
7.1.50.0270.01034.80
7.1.40.0200.01634.21
7.1.30.0320.01834.36
7.1.20.0240.00934.44
7.1.10.0060.01316.70
7.1.00.0090.01216.76
7.0.200.0030.01616.78
7.0.190.0090.00616.58
7.0.180.0130.00616.25
7.0.170.0170.00616.10
7.0.160.0100.00616.18
7.0.150.0090.01516.08
7.0.140.0090.01216.27
7.0.130.0070.01216.39
7.0.120.0050.01216.69
7.0.110.0090.01216.18
7.0.100.0090.01216.45
7.0.90.0100.00616.38
7.0.80.0050.01516.37
7.0.70.0170.00616.32
7.0.60.0030.01316.03
7.0.50.0030.01416.31
7.0.40.0050.01616.48
7.0.30.0130.00716.39
7.0.20.0100.00616.29
7.0.10.0120.00816.43
7.0.00.0110.00616.34

preferences:
31.43 ms | 400 KiB | 5 Q