3v4l.org

run code in 300+ PHP versions simultaneously
<?php $variable = 'running'; if('running' == $variable) { echo "This looks ok"; } $variable = true; if('running' == $variable) { echo "\nbut it actually is not"; } if('running' === $variable) { echo "\nin a safe world this won't show but"; } $variable = 'running'; if('running' === $variable) { echo "\nin a safe world this will show"; }

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.30
8.3.50.0110.01022.02
8.3.40.0060.00918.71
8.3.30.0160.00618.63
8.3.20.0070.00019.21
8.3.10.0050.00321.73
8.3.00.0050.00319.54
8.2.180.0140.00316.50
8.2.170.0110.00422.96
8.2.160.0100.00320.55
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0070.00019.95
8.2.120.0040.00426.35
8.2.110.0150.00619.19
8.2.100.0000.01118.03
8.2.90.0030.00519.22
8.2.80.0030.00617.97
8.2.70.0090.00017.63
8.2.60.0000.00817.91
8.2.50.0060.00318.09
8.2.40.0000.00822.26
8.2.30.0000.00819.44
8.2.20.0050.00317.69
8.2.10.0000.00718.05
8.2.00.0080.00018.17
8.1.280.0180.00025.92
8.1.270.0050.00323.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0090.00022.64
8.1.230.0000.01117.68
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0030.00617.22
8.1.190.0090.00017.22
8.1.180.0050.00318.10
8.1.170.0050.00318.59
8.1.160.0000.00720.81
8.1.150.0030.00718.96
8.1.140.0040.00419.62
8.1.130.0000.00717.70
8.1.120.0070.00017.45
8.1.110.0080.00317.51
8.1.100.0050.00217.44
8.1.90.0070.00017.41
8.1.80.0030.00617.49
8.1.70.0000.00717.36
8.1.60.0090.00017.46
8.1.50.0000.00817.44
8.1.40.0000.00717.53
8.1.30.0080.00017.59
8.1.20.0000.00817.66
8.1.10.0000.00717.47
8.1.00.0050.00317.46
8.0.300.0000.00818.84
8.0.290.0040.00416.63
8.0.280.0040.00418.36
8.0.270.0030.00417.16
8.0.260.0030.00317.13
8.0.250.0000.00716.98
8.0.240.0030.00316.98
8.0.230.0000.00716.98
8.0.220.0000.00816.79
8.0.210.0030.00316.79
8.0.200.0070.00016.95
8.0.190.0070.00016.93
8.0.180.0080.00016.81
8.0.170.0020.00516.89
8.0.160.0030.00316.74
8.0.150.0040.00416.89
8.0.140.0060.00316.80
8.0.130.0060.00013.24
8.0.120.0050.00316.91
8.0.110.0040.00416.77
8.0.100.0030.00616.89
8.0.90.0060.00316.76
8.0.80.0070.01416.99
8.0.70.0000.00816.74
8.0.60.0000.00716.80
8.0.50.0080.00016.93
8.0.30.0090.00616.90
8.0.20.0120.00717.40
8.0.10.0000.00716.81
8.0.00.0070.01116.67
7.4.330.0000.00515.20
7.4.320.0060.00016.43
7.4.300.0000.00916.51
7.4.290.0070.00016.60
7.4.280.0080.00016.50
7.4.270.0000.00616.65
7.4.260.0000.00716.48
7.4.250.0040.00416.47
7.4.240.0070.00016.40
7.4.230.0000.00716.48
7.4.220.0130.00716.47
7.4.210.0070.01416.61
7.4.200.0030.00316.50
7.4.160.0060.01016.49
7.4.150.0120.00617.40
7.4.140.0150.00517.86
7.4.130.0110.00616.63
7.4.120.0070.01016.48
7.4.110.0130.00316.66
7.4.100.0060.01016.66
7.4.90.0060.01216.42
7.4.80.0130.01019.39
7.4.70.0060.01516.45
7.4.60.0130.00416.60
7.4.50.0060.00916.54
7.4.40.0100.00616.61
7.4.30.0130.00316.39
7.4.00.0030.01214.97
7.3.330.0030.00313.18
7.3.320.0040.00413.02
7.3.310.0000.00716.33
7.3.300.0030.00316.12
7.3.290.0090.00716.36
7.3.280.0070.01216.35
7.3.270.0140.00317.40
7.3.260.0100.00616.57
7.3.250.0100.00816.37
7.3.240.0130.00916.40
7.3.230.0070.01016.49
7.3.210.0030.01416.35
7.3.200.0060.01116.42
7.3.190.0170.00016.29
7.3.180.0130.00316.37
7.3.170.0030.01216.45
7.3.160.0060.01216.42
7.2.330.0080.01116.37
7.2.320.0120.01216.46
7.2.310.0070.01116.28
7.2.300.0120.00616.53
7.2.290.0030.01316.62
7.2.60.0060.01016.71
7.2.00.0040.00819.20
7.1.200.0040.00815.64
7.1.100.0000.00917.92
7.1.70.0070.00017.09
7.1.60.0040.01219.47
7.1.00.0030.09022.31
7.0.200.0500.00614.45
7.0.60.0770.00020.06
7.0.50.0830.00020.45
7.0.40.0770.00020.45
7.0.30.0830.00020.45
7.0.20.0770.00020.28
7.0.10.0770.00020.28
7.0.00.1000.00020.28
5.6.280.0030.07320.92
5.6.210.0900.00020.65
5.6.200.1000.00021.04
5.6.190.0770.00021.02
5.6.180.0730.00021.17
5.6.170.0770.00021.06
5.6.160.1000.00021.07
5.6.150.1070.00021.01
5.6.140.0830.00021.20
5.6.130.0800.00021.02
5.6.120.1230.00021.20
5.6.110.0970.00021.06
5.6.100.0830.00021.16
5.6.90.0830.00021.02
5.6.80.0700.00020.44
5.6.70.0970.00020.42
5.6.60.1000.00020.32
5.6.50.0930.00020.58
5.6.40.0970.00020.52
5.6.30.0830.00020.43
5.6.20.0730.00020.31
5.6.10.0700.00020.46
5.6.00.1000.00020.49
5.5.350.0930.00020.44
5.5.340.0900.00020.99
5.5.330.0730.00020.95
5.5.320.0770.00020.94
5.5.310.0700.00020.75
5.5.300.0770.00020.86
5.5.290.0870.00021.03
5.5.280.0830.00020.86
5.5.270.0770.00020.73
5.5.260.0730.00020.85
5.5.250.0830.00020.54
5.5.240.0870.00020.18
5.5.230.0770.00020.21
5.5.220.0970.00020.20
5.5.210.0970.00020.09
5.5.200.0930.00020.38
5.5.190.0770.00020.19
5.5.180.0770.00020.38
5.5.160.0700.00020.21
5.5.150.0730.00020.20
5.5.140.0770.00020.18
5.5.130.0970.00020.35
5.5.120.0970.00020.18
5.5.110.0970.00020.13
5.5.100.0870.00020.17
5.5.90.0770.00020.10
5.5.80.0730.00020.18
5.5.70.0770.00019.98
5.5.60.0770.00019.98
5.5.50.0700.00020.08
5.5.40.0670.00020.22
5.5.30.0770.00019.93
5.5.20.0700.00020.05
5.5.10.0730.00019.96
5.5.00.0730.00020.05

preferences:
41.67 ms | 401 KiB | 5 Q