3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( !"foo", "foo" or 0, "foo" and "bar", "foo" == "bar", "foo" && "bar", "foo" > "bar" );

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.0040.01118.31
8.3.50.0130.00318.04
8.3.40.0150.00018.46
8.3.30.0120.00318.64
8.3.20.0080.00019.00
8.3.10.0060.00321.74
8.3.00.0000.00720.64
8.2.180.0130.00718.29
8.2.170.0070.01422.96
8.2.160.0070.00720.73
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0070.00019.65
8.2.110.0000.00919.21
8.2.100.0090.00317.66
8.2.90.0000.00817.38
8.2.80.0030.00617.97
8.2.70.0000.00817.91
8.2.60.0030.00518.03
8.2.50.0090.00018.10
8.2.40.0000.00719.22
8.2.30.0070.00019.12
8.2.20.0070.00017.95
8.2.10.0050.00217.81
8.2.00.0040.00717.39
8.1.280.0110.00725.92
8.1.270.0000.00823.77
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00722.40
8.1.230.0110.00022.21
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0070.00317.10
8.1.190.0050.00317.22
8.1.180.0060.00318.10
8.1.170.0040.00418.53
8.1.160.0040.00418.74
8.1.150.0080.00018.67
8.1.140.0050.00222.12
8.1.130.0030.00320.09
8.1.120.0040.00417.32
8.1.110.0040.00717.25
8.1.100.0000.00717.32
8.1.90.0000.00717.26
8.1.80.0000.00717.30
8.1.70.0040.00417.27
8.1.60.0000.00817.41
8.1.50.0060.00517.37
8.1.40.0000.00917.36
8.1.30.0040.00417.46
8.1.20.0060.00617.53
8.1.10.0080.00017.38
8.1.00.0020.00517.18
8.0.300.0000.00718.77
8.0.290.0000.00816.58
8.0.280.0040.00418.35
8.0.270.0030.00316.99
8.0.260.0000.00718.24
8.0.250.0090.00016.70
8.0.240.0030.00316.88
8.0.230.0070.00016.84
8.0.220.0070.00016.67
8.0.210.0030.00316.73
8.0.200.0000.00616.70
8.0.190.0030.00416.85
8.0.180.0000.00716.68
8.0.170.0000.00916.83
8.0.160.0000.00716.76
8.0.150.0040.00716.64
8.0.140.0000.00816.75
8.0.130.0070.00013.18
8.0.120.0000.00816.72
8.0.110.0040.00416.65
8.0.100.0000.00816.53
8.0.90.0000.00816.63
8.0.80.0070.01316.74
8.0.70.0000.00716.77
8.0.60.0040.00416.66
8.0.50.0070.00016.55
8.0.30.0060.00916.75
8.0.20.0090.01317.40
8.0.10.0000.00816.75
8.0.00.0120.00616.63
7.4.330.0000.00515.55
7.4.320.0000.00616.43
7.4.300.0030.00316.35
7.4.290.0090.00016.26
7.4.280.0040.00416.45
7.4.270.0070.00016.41
7.4.260.0040.00416.49
7.4.250.0000.00716.41
7.4.240.0040.00416.50
7.4.230.0040.00416.48
7.4.220.0030.00616.53
7.4.210.0060.01216.43
7.4.200.0070.00016.39
7.4.160.0110.00816.33
7.4.140.0120.01117.86
7.4.130.0150.00516.28
7.4.120.0060.01116.32
7.4.110.0090.01516.34
7.4.100.0060.00916.32
7.4.90.0040.01916.42
7.4.80.0040.01319.39
7.4.70.0070.01016.31
7.4.60.0090.00616.51
7.4.50.0040.01116.35
7.4.40.0040.01216.43
7.4.00.0100.00314.48
7.3.330.0050.00013.00
7.3.320.0000.00513.04
7.3.310.0080.00015.98
7.3.300.0070.00016.17
7.3.290.0030.00316.14
7.3.280.0110.00516.14
7.3.260.0080.01316.28
7.3.240.0100.00716.17
7.3.230.0080.00816.22
7.3.210.0090.00916.27
7.3.200.0060.01616.32
7.3.190.0090.00816.28
7.3.180.0070.01016.22
7.3.170.0140.00716.27
7.3.160.0110.01116.26
7.3.10.0070.00716.45
7.3.00.0150.00016.51
7.2.330.0100.00716.08
7.2.320.0090.01016.36
7.2.310.0040.01916.35
7.2.300.0070.01716.34
7.2.290.0060.01416.23
7.2.130.0030.01316.75
7.2.120.0070.00716.67
7.2.110.0190.00815.25
7.2.100.0220.00415.21
7.2.90.0170.01015.69
7.2.80.0130.01215.39
7.2.70.0290.00615.66
7.2.60.0200.01015.77
7.2.50.0260.00915.76
7.2.40.0180.00815.60
7.2.30.0210.00915.84
7.2.20.0240.00815.63
7.2.10.0230.00715.48
7.2.00.0160.00915.56
7.1.250.0070.00715.61
7.1.230.0290.00913.38
7.1.220.1080.01213.70
7.1.210.0360.01013.48
7.1.200.0330.00913.67
7.1.190.0280.00613.60
7.1.180.0390.00913.74
7.1.170.0290.00613.80
7.1.160.0430.00713.75
7.1.150.0430.00613.59
7.1.140.0360.01013.73
7.1.130.0390.00313.72
7.1.120.0360.00713.55
7.1.110.1120.00713.79
7.1.100.0440.00713.66
7.1.90.0340.00313.59
7.1.80.0370.00313.75
7.1.70.0320.00613.82
7.1.60.0550.00631.77
7.1.50.0500.01031.74
7.1.40.0730.01031.73
7.1.30.0500.01331.70
7.1.20.0520.01031.62
7.1.10.0550.00713.45
7.1.00.0330.00613.41
5.6.380.0120.00313.82

preferences:
35.55 ms | 400 KiB | 5 Q