3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 2 and 3; $b = 2 && 3; var_dump($a, $b);

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.10.0040.00417.77
8.3.140.0110.00716.89
8.3.130.0000.01018.46
8.3.120.0040.00419.07
8.3.110.0120.00420.94
8.3.100.0040.00416.63
8.3.90.0090.00026.77
8.3.80.0100.00616.50
8.3.70.0180.00316.58
8.3.60.0160.00018.55
8.3.50.0060.00819.15
8.3.40.0120.00318.70
8.3.30.0080.01118.60
8.3.20.0000.00820.88
8.3.10.0070.00022.04
8.3.00.0040.00422.39
8.2.260.0000.00816.53
8.2.250.0060.00316.48
8.2.240.0060.00317.17
8.2.230.0060.00322.58
8.2.220.0030.00524.06
8.2.210.0000.00726.77
8.2.200.0060.00316.63
8.2.190.0070.00716.58
8.2.180.0090.00625.92
8.2.170.0100.00722.96
8.2.160.0130.00022.13
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00426.16
8.2.110.0040.00420.26
8.2.100.0000.01117.78
8.2.90.0040.00719.51
8.2.80.0060.00319.35
8.2.70.0090.00017.50
8.2.60.0040.00417.80
8.2.50.0000.00918.07
8.2.40.0030.00619.95
8.2.30.0030.00717.98
8.2.20.0000.00717.99
8.2.10.0000.00819.18
8.2.00.0040.00419.30
8.1.310.0090.00916.00
8.1.300.0040.00418.39
8.1.290.0070.00330.84
8.1.280.0090.00625.92
8.1.270.0080.00023.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00322.22
8.1.230.0110.00020.95
8.1.220.0060.00317.74
8.1.210.0040.00418.96
8.1.200.0040.00417.35
8.1.190.0030.00517.23
8.1.180.0000.00918.10
8.1.170.0040.00418.59
8.1.160.0030.00518.88
8.1.150.0000.00818.78
8.1.140.0040.00420.14
8.1.130.0050.00320.01
8.1.120.0030.00317.47
8.1.110.0040.00417.40
8.1.100.0070.00017.39
8.1.90.0030.00517.42
8.1.80.0000.00817.37
8.1.70.0040.00417.41
8.1.60.0060.00317.57
8.1.50.0050.00217.55
8.1.40.0030.00517.48
8.1.30.0040.00417.56
8.1.20.0030.00617.64
8.1.10.0080.00017.50
8.1.00.0040.00817.27
8.0.300.0050.00320.03
8.0.290.0040.00416.63
8.0.280.0000.00718.44
8.0.270.0000.00717.23
8.0.260.0000.00619.98
8.0.250.0030.00317.00
8.0.240.0040.00417.00
8.0.230.0050.00317.01
8.0.220.0030.00316.92
8.0.210.0070.00316.90
8.0.200.0030.00316.90
8.0.190.0040.00317.01
8.0.180.0000.00716.96
8.0.170.0050.00316.95
8.0.160.0000.00716.89
8.0.150.0050.00216.72
8.0.140.0000.00716.80
8.0.130.0000.00613.35
8.0.120.0030.00416.82
8.0.110.0080.00016.85
8.0.100.0070.00017.01
8.0.90.0000.00916.85
8.0.80.0120.00316.85
8.0.70.0040.00416.73
8.0.60.0040.00416.94
8.0.50.0040.00416.94
8.0.30.0110.00816.98
8.0.20.0060.01216.84
8.0.10.0040.00417.01
8.0.00.0070.01116.80
7.4.330.0030.00316.85
7.4.320.0000.00716.45
7.4.300.0000.00716.45
7.4.290.0060.00016.41
7.4.280.0000.00716.54
7.4.270.0030.00616.61
7.4.260.0040.00416.46
7.4.250.0040.00416.47
7.4.240.0000.00716.51
7.4.230.0000.00716.39
7.4.220.0050.00216.44
7.4.210.0110.00716.54
7.4.200.0070.00016.30
7.4.130.0110.00516.52
7.4.120.0090.00916.68
7.4.110.0110.00616.38
7.4.100.0120.00616.47
7.4.90.0070.01316.47
7.4.80.0170.00019.39
7.4.70.0000.01516.41
7.4.60.0130.00716.54
7.4.50.0060.00616.44
7.4.40.0030.01316.67
7.4.00.0030.01014.89
7.3.330.0030.00316.12
7.3.320.0020.00213.00
7.3.310.0070.00016.25
7.3.300.0030.00316.22
7.3.290.0050.00916.19
7.3.280.0070.00716.14
7.3.260.0110.00916.34
7.3.240.0080.00816.41
7.3.230.0060.01616.37
7.3.210.0040.01716.09
7.3.200.0070.01416.36
7.3.190.0170.00316.36
7.3.180.0120.00316.50
7.3.170.0000.01716.21
7.3.160.0110.01116.35
7.3.100.0070.01014.60
7.3.90.0050.01114.77
7.3.80.0080.00814.70
7.3.70.0080.00914.70
7.3.60.0090.00814.62
7.3.50.0070.01114.62
7.3.40.0080.00714.60
7.3.30.0080.00814.54
7.3.20.0090.00814.65
7.3.10.0100.00714.61
7.3.00.0080.00914.59
7.2.330.0180.00416.56
7.2.320.0100.00716.60
7.2.310.0100.00616.60
7.2.300.0090.01316.46
7.2.290.0120.00316.41
7.2.230.0090.00814.76
7.2.220.0080.00914.80
7.2.210.0110.00614.76
7.2.200.0090.00914.76
7.2.190.0090.00914.78
7.2.180.0080.00914.84
7.2.170.0100.00814.75
7.2.160.0090.00914.58
7.2.150.0100.00814.88
7.2.140.0120.01114.91
7.2.130.0070.01214.89
7.2.120.0060.01114.85
7.2.110.0080.01014.88
7.2.100.0100.00714.90
7.2.90.0090.00814.85
7.2.80.0080.01014.79
7.2.70.0100.01214.90
7.2.60.0090.00814.91
7.2.50.0140.00914.91
7.2.40.0120.00714.74
7.2.30.0110.00614.91
7.2.20.0070.01114.90
7.2.10.0110.00614.87
7.2.00.0110.00814.86
7.1.320.0100.00713.85
7.1.310.0070.01013.93
7.1.300.0060.01013.83
7.1.290.0070.00913.81
7.1.280.0060.01113.85
7.1.270.0090.00713.70
7.1.260.0080.00813.85
7.1.250.0070.00813.88

preferences:
27.87 ms | 403 KiB | 5 Q