3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo ("`test_id`=1")AND("`user_id`=33"); echo "\n---\n"; echo ("`test_id`=1") && ("`user_id`=33"); echo "\n---\n"; echo ("duck") && ("quack");

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.1rc30.0050.00316.88
8.1rc20.0040.00416.92
8.1rc10.0040.00416.87
8.0.120.0040.00416.74
8.0.110.0000.00816.59
8.0.100.0040.00416.63
8.0.90.0040.00416.66
8.0.80.0100.00816.72
8.0.70.0070.00016.73
8.0.60.0040.00416.80
8.0.50.0080.00016.71
8.0.30.0070.01016.77
8.0.20.0120.00617.40
8.0.10.0000.00716.87
8.0.00.0060.01216.71
7.4.250.0050.00316.29
7.4.240.0050.00316.50
7.4.230.0060.00316.57
7.4.220.0030.00616.53
7.4.210.0060.00816.40
7.4.200.0000.00816.55
7.4.160.0090.00816.43
7.4.140.0100.00817.86
7.4.130.0120.00616.33
7.4.120.0110.00716.36
7.4.110.0030.01416.35
7.4.100.0070.01016.26
7.4.90.0090.01616.45
7.4.80.0170.00519.39
7.4.70.0100.01416.39
7.4.60.0130.00716.47
7.4.50.0030.01016.43
7.4.40.0070.01016.11
7.4.10.0150.00314.96
7.4.00.0090.00814.71
7.3.310.0000.00616.19
7.3.300.0000.00616.01
7.3.290.0000.00616.12
7.3.280.0110.00716.14
7.3.260.0090.01216.26
7.3.240.0130.00616.26
7.3.230.0070.01016.23
7.3.210.0170.00616.46
7.3.200.0070.01016.36
7.3.190.0110.00816.41
7.3.180.0040.01916.06
7.3.170.0090.00916.04
7.3.160.0090.00616.26
7.3.130.0040.01414.71
7.3.120.0050.01314.61
7.3.110.0070.01014.68
7.3.100.0090.00614.57
7.3.90.0090.00614.52
7.3.80.0050.00814.76
7.3.70.0080.00714.63
7.3.60.0040.00914.66
7.3.50.0060.00714.63
7.3.40.0070.00514.75
7.3.30.0090.00514.72
7.3.20.0040.00716.49
7.3.10.0040.01016.54
7.3.00.0070.00516.46
7.2.330.0030.01516.19
7.2.320.0100.00916.52
7.2.310.0110.00516.28
7.2.300.0070.01016.48
7.2.290.0090.00916.31
7.2.260.0070.01015.09
7.2.250.0110.00715.05
7.2.240.0080.00914.81
7.2.230.0030.01114.96
7.2.220.0060.01114.73
7.2.210.0040.01015.01
7.2.200.0070.00714.88
7.2.190.0040.01114.77
7.2.180.0070.00914.89
7.2.170.0070.00514.80
7.2.160.0050.00714.69
7.2.150.0070.00916.81
7.2.140.0070.00716.68
7.2.130.0050.00816.74
7.2.120.0060.01016.72
7.2.110.0050.00816.74
7.2.100.0490.00616.07
7.2.90.0460.00716.14
7.2.80.0540.01116.10
7.2.70.0410.00616.01
7.2.60.0500.00616.30
7.2.50.0650.00816.38
7.2.40.0450.00916.15
7.2.30.0470.00916.19
7.2.20.0590.00716.21
7.2.10.0540.00816.12
7.2.00.0430.00616.14
7.1.330.0070.00715.50
7.1.320.0030.01015.67
7.1.310.0070.00715.53
7.1.300.0040.01015.65
7.1.290.0030.01015.56
7.1.280.0030.01015.46
7.1.270.0070.00515.54
7.1.260.0100.00615.73
7.1.250.0080.00415.36
7.1.240.0050.00515.54
7.1.230.0040.00715.52
7.1.220.0850.00914.63
7.1.210.0890.00614.56
7.1.200.0940.00614.60
7.1.190.0720.00814.62
7.1.180.0970.00814.70
7.1.170.0730.00714.50
7.1.160.1480.00314.53
7.1.150.0920.00314.42
7.1.140.1060.01114.58
7.1.130.1150.00814.42
7.1.120.1020.01014.44
7.1.110.0880.00614.38
7.1.100.1200.00814.51
7.1.90.1080.00814.63
7.1.80.1210.00614.44
7.1.70.0980.01114.65
7.1.60.1000.01423.80
7.1.50.1460.00523.58
7.1.40.1170.00923.68
7.1.30.1190.01023.53
7.1.20.1420.00723.42
7.1.10.1340.00814.57
7.1.00.1160.00614.39
7.0.330.0000.01315.09
7.0.320.0030.00915.23
7.0.310.0030.00715.22
7.0.300.0030.01215.12
7.0.290.0060.00614.91
7.0.280.0040.01115.48
7.0.270.0060.00315.20
7.0.260.0040.01115.25
7.0.250.0030.01015.31
7.0.240.0110.00415.42
7.0.230.0050.00315.13
7.0.220.0030.01015.29
7.0.210.0060.00315.41
7.0.200.0000.00815.19
7.0.190.0060.00615.30
7.0.180.0040.00815.07
7.0.170.0060.00315.38
7.0.160.0060.00315.31
7.0.150.0000.00815.34
7.0.140.0080.00015.13
7.0.130.0090.00315.45
7.0.120.0080.00015.13
7.0.110.0000.00815.47
7.0.100.0040.00815.27
7.0.90.0080.00015.44
7.0.80.0030.00615.41
7.0.70.0000.01115.05
7.0.60.0090.00615.21
7.0.50.0040.01115.51
7.0.40.0060.01013.43
7.0.30.0060.00613.30
7.0.20.0040.00813.44
7.0.10.0000.01113.15
7.0.00.0070.00712.95
5.6.400.0090.00014.57
5.6.390.0100.00314.16
5.6.380.0100.00814.28
5.6.370.0040.01113.98
5.6.360.0090.00314.40
5.6.350.0080.00814.20
5.6.340.0000.01513.89
5.6.330.0040.01214.23
5.6.320.0100.00314.18
5.6.310.0100.00614.06
5.6.300.0070.00714.44
5.6.290.0000.00914.15
5.6.280.0030.00714.37
5.6.270.0060.00913.99
5.6.260.0060.00614.18
5.6.250.0090.00314.45
5.6.240.0100.00314.27
5.6.230.0080.00014.11
5.6.220.0030.00914.19
5.6.210.0040.01113.95
5.6.200.0060.00714.25
5.6.190.0070.01014.22
5.6.180.0070.00714.29
5.6.170.0040.00814.34
5.6.160.0100.00314.34
5.6.150.0070.00714.10
5.6.140.0100.00314.39
5.6.130.0100.00714.25
5.6.120.0030.01314.21
5.6.110.0070.00713.97
5.6.100.0070.00414.27
5.6.90.0030.01314.05
5.6.80.0030.00614.13
5.6.70.0070.00714.41
5.6.60.0060.00914.26
5.6.50.0030.01014.30
5.6.40.0110.00014.10
5.6.30.0000.01514.07
5.6.20.0000.01714.31
5.6.10.0030.00614.06
5.6.00.0000.01713.96

preferences:
34.48 ms | 455 KiB | 5 Q