3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test1 = 0; $test2 = 0; $test = 1 === $test1 || 1 === $test2; var_dump($test);

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.5.30.0110.00719.54
8.5.20.0090.00920.12
8.5.10.0080.01016.81
8.5.00.0120.00919.82
8.4.180.0150.01119.38
8.4.170.0140.00821.86
8.4.160.0150.00822.03
8.4.150.0030.00014.05
8.4.140.0120.00917.30
8.4.130.0120.00817.32
8.4.120.0150.00520.57
8.4.110.0120.00918.93
8.4.100.0100.01117.49
8.4.90.0150.00517.74
8.4.80.0130.00417.77
8.4.70.0100.01019.38
8.4.60.0150.00617.88
8.4.50.0130.00820.53
8.4.40.0170.00318.65
8.4.30.0090.00920.49
8.4.20.0140.00721.31
8.4.10.0040.00419.57
8.3.300.0150.00519.03
8.3.290.0120.00720.70
8.3.280.0120.00918.23
8.3.270.0090.01016.63
8.3.260.0060.00316.63
8.3.250.0100.00818.76
8.3.240.0110.00916.34
8.3.230.0120.00916.60
8.3.220.0040.00417.36
8.3.210.0120.00716.58
8.3.200.0100.00816.57
8.3.190.0100.00817.04
8.3.180.0140.00618.59
8.3.170.0190.00017.04
8.3.160.0110.00618.12
8.3.150.0040.01317.19
8.3.140.0050.00316.62
8.3.130.0400.00716.18
8.3.120.0230.00016.52
8.3.110.0190.00216.35
8.3.100.0220.00716.28
8.3.90.0230.00018.01
8.3.80.0190.00416.18
8.3.70.0230.00018.18
8.3.60.0210.00016.47
8.3.50.0170.00416.41
8.3.40.0150.00317.00
8.3.30.0210.00017.13
8.3.20.0170.00017.26
8.3.10.0150.00417.05
8.3.00.0140.00317.13
8.2.300.0140.00820.32
8.2.290.0060.01120.41
8.2.280.0150.00416.64
8.2.270.0120.00616.46
8.2.260.0080.00016.93
8.2.250.0110.00816.50
8.2.240.0160.00516.18
8.2.230.0110.00816.18
8.2.220.0130.00716.30
8.2.210.0160.00416.30
8.2.200.0150.00416.38
8.2.190.0120.00618.07
8.2.180.0130.00416.23
8.2.170.0200.00017.41
8.2.160.0210.00017.55
8.2.150.0140.00717.43
8.2.140.0200.00217.27
8.2.130.0190.00017.66
8.2.120.0110.00817.39
8.2.110.0170.00317.46
8.2.100.0240.00217.26
8.2.90.0180.00017.61
8.2.80.0170.00317.41
8.2.70.0130.00619.30
8.2.60.0130.00417.47
8.2.50.0190.00017.43
8.2.40.0110.00617.42
8.2.30.0130.00417.34
8.2.20.0290.00317.36
8.2.10.0180.00317.40
8.2.00.0140.00317.44
8.1.340.0130.00720.14
8.1.330.0070.00816.82
8.1.320.0120.00715.92
8.1.310.0040.00416.77
8.1.300.0160.00616.18
8.1.290.0290.00916.18
8.1.280.0330.00816.18
8.1.270.0150.00517.41
8.1.260.0170.00017.43
8.1.250.0220.01117.17
8.1.240.0160.01317.19
8.1.230.0290.00617.27
8.1.220.0330.00417.13
8.1.210.0370.00017.09
8.1.200.0290.00817.34
8.1.190.0330.00017.18
8.1.180.0240.00717.05
8.1.170.0310.00417.02
8.1.160.0250.00717.20
8.1.150.0180.01117.15
8.1.140.0220.00717.29
8.1.130.0180.00617.34
8.1.120.0110.00717.48
8.1.110.0170.00417.08
8.1.100.0330.00317.13
8.1.90.0270.00917.10
8.1.80.0360.00017.13
8.1.70.0220.01316.93
8.1.60.0290.01017.35
8.1.50.0310.00417.41
8.1.40.0190.00617.51
8.1.30.0120.00617.45
8.1.20.0290.00717.30
8.1.10.0340.00017.17
8.1.00.0220.01117.09

preferences:
32.57 ms | 475 KiB | 5 Q