3v4l.org

run code in 300+ PHP versions simultaneously
<?php if("Male">"female"){ Echo "true"; }else{ Echo "false"; }

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.0140.00418.34
8.3.50.0100.00716.10
8.3.40.0090.00618.54
8.3.30.0100.00718.64
8.3.20.0070.00021.86
8.3.10.0080.00023.48
8.3.00.0080.00022.00
8.2.180.0110.00718.16
8.2.170.0140.00422.96
8.2.160.0030.01022.96
8.2.150.0000.00724.18
8.2.140.0070.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00420.97
8.2.110.0040.00421.11
8.2.100.0100.00017.78
8.2.90.0000.01117.78
8.2.80.0060.00317.97
8.2.70.0050.00317.38
8.2.60.0080.00017.38
8.2.50.0040.00418.16
8.2.40.0070.00020.60
8.2.30.0000.00720.48
8.2.20.0040.00417.97
8.2.10.0040.00417.93
8.2.00.0060.00317.89
8.1.280.0060.00925.92
8.1.270.0080.00022.12
8.1.260.0100.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00923.66
8.1.230.0030.00720.88
8.1.220.0080.00017.74
8.1.210.0090.00020.29
8.1.200.0040.00417.22
8.1.190.0080.00017.10
8.1.180.0030.00618.10
8.1.170.0040.00418.53
8.1.160.0070.00018.75
8.1.150.0040.00420.20
8.1.140.0000.00817.56
8.1.130.0060.00318.81
8.1.120.0040.00417.22
8.1.110.0000.00717.38
8.1.100.0000.00717.23
8.1.90.0000.00717.24
8.1.80.0070.00017.23
8.1.70.0000.00617.19
8.1.60.0080.00017.34
8.1.50.0030.00517.37
8.1.40.0000.00717.35
8.1.30.0030.00517.50
8.1.20.0070.00017.47
8.1.10.0080.00017.33
8.1.00.0070.00017.30
8.0.300.0040.00419.90
8.0.290.0000.00716.75
8.0.280.0040.00418.24
8.0.270.0000.00717.18
8.0.260.0030.00616.86
8.0.250.0030.00316.86
8.0.240.0050.00316.75
8.0.230.0000.00716.89
8.0.220.0040.00416.84
8.0.210.0040.00416.79
8.0.200.0060.00316.88
8.0.190.0040.00416.82
8.0.180.0030.00316.84
8.0.170.0050.00316.87
8.0.160.0040.00416.91
8.0.150.0040.00416.68
8.0.140.0000.00716.68
8.0.130.0060.00013.24
8.0.120.0030.00516.81
8.0.110.0030.00516.68
8.0.100.0040.00416.92
8.0.90.0000.00716.72
8.0.80.0040.01116.81
8.0.70.0000.00716.88
8.0.60.0030.00516.60
8.0.50.0070.00016.82
8.0.30.0100.00716.96
8.0.20.0090.01017.40
8.0.10.0040.00417.03
8.0.00.0100.00716.62
7.4.330.0030.00315.55
7.4.320.0060.00016.23
7.4.300.0000.00716.28
7.4.290.0030.00616.36
7.4.280.0000.00716.41
7.4.270.0040.00416.46
7.4.260.0030.00316.38
7.4.250.0040.00416.32
7.4.240.0000.00816.29
7.4.230.0000.00716.38
7.4.220.0040.00416.21
7.4.210.0080.01016.42
7.4.200.0030.00316.15
7.4.160.0090.00716.42
7.4.140.0100.00817.86
7.4.130.0110.00716.39
7.4.120.0090.00916.42
7.4.110.0160.01016.41
7.4.100.0120.00616.29
7.4.90.0150.00916.56
7.4.80.0200.00419.39
7.4.70.0100.00716.51
7.4.60.0160.00716.13
7.4.50.0080.00816.23
7.4.40.0100.01316.46
7.4.00.0030.01314.96
7.3.330.0000.00612.93
7.3.320.0000.00613.02
7.3.310.0070.00016.04
7.3.300.0070.00016.08
7.3.290.0030.00316.04
7.3.280.0100.00516.19
7.3.260.0070.01016.33
7.3.240.0110.00716.33
7.3.230.0130.01016.50
7.3.210.0080.00816.38
7.3.200.0060.00916.37
7.3.190.0070.01016.14
7.3.180.0160.00016.42
7.3.170.0160.00016.39
7.3.160.0090.01316.45
7.2.330.0090.00916.47
7.2.320.0000.01716.35
7.2.310.0120.00916.38
7.2.300.0120.00616.53
7.2.290.0070.01516.45
7.2.60.0070.00316.54
7.2.30.0080.01619.75
7.2.20.0120.01319.46
7.2.10.0070.01619.75
7.2.00.0100.01519.66
7.1.200.0050.00515.68
7.1.150.0080.01318.28
7.1.140.0100.01318.52
7.1.130.0090.01218.41
7.1.120.0090.01218.56
7.1.110.0130.00917.85
7.1.100.0080.01317.92
7.1.90.0080.01517.62
7.1.80.0060.01118.02
7.1.70.0080.01116.84
7.1.60.0400.01335.10
7.1.50.0270.00834.57
7.1.40.0360.01634.18
7.1.30.0330.01534.25
7.1.20.0320.01734.47
7.1.10.0070.01416.44
7.1.00.0080.01416.52

preferences:
48.48 ms | 400 KiB | 5 Q