3v4l.org

run code in 300+ PHP versions simultaneously
<?php $client_pass = array(1); $server_pass = '1'; if ($client_pass == $server_pass) { print 'samezies 1'; } else { print 'not same 1'; } $server_pass = 'foo'; if ($client_pass == $server_pass) { print 'samezies foo'; } else { print 'not same foo'; } $client_pass = TRUE; if ($client_pass == $server_pass) { print 'samezies TRUE'; } else { print 'not same TRUE'; }

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.0070.00718.18
8.3.50.0120.00721.14
8.3.40.0070.00718.66
8.3.30.0120.00320.29
8.3.20.0080.00020.39
8.3.10.0140.00322.04
8.3.00.0040.00422.58
8.2.180.0070.00718.16
8.2.170.0100.01319.00
8.2.160.0070.01022.96
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0050.00526.16
8.2.120.0090.00019.44
8.2.110.0060.00322.06
8.2.100.0040.00819.34
8.2.90.0030.00619.22
8.2.80.0040.00419.41
8.2.70.0080.00017.49
8.2.60.0080.00018.04
8.2.50.0030.00518.07
8.2.40.0060.00318.28
8.2.30.0000.00718.04
8.2.20.0030.00617.57
8.2.10.0000.00817.67
8.2.00.0000.00717.55
8.1.280.0070.00725.92
8.1.270.0060.00322.13
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0070.00323.97
8.1.230.0070.00319.10
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0000.00917.25
8.1.190.0060.00317.65
8.1.180.0000.00920.24
8.1.170.0000.00818.65
8.1.160.0040.00422.24
8.1.150.0040.00418.59
8.1.140.0020.00517.37
8.1.130.0000.00717.55
8.1.120.0030.00517.38
8.1.110.0000.00717.49
8.1.100.0030.00517.50
8.1.90.0000.00717.41
8.1.80.0080.00017.35
8.1.70.0070.00017.42
8.1.60.0060.00317.46
8.1.50.0070.00017.39
8.1.40.0030.00717.36
8.1.30.0000.00817.45
8.1.20.0000.00817.68
8.1.10.0050.00217.42
8.1.00.0000.00817.46
8.0.300.0050.00318.77
8.0.290.0040.00417.15
8.0.280.0020.00518.50
8.0.270.0040.00417.25
8.0.260.0040.00416.74
8.0.250.0070.00016.98
8.0.240.0000.00816.94
8.0.230.0050.00216.85
8.0.220.0000.00816.79
8.0.210.0000.00716.89
8.0.200.0000.00616.80
8.0.190.0030.00616.86
8.0.180.0000.00716.94
8.0.170.0070.00016.91
8.0.160.0030.00416.77
8.0.150.0070.00016.72
8.0.140.0070.00016.89
8.0.130.0000.00513.31
8.0.120.0050.00316.86
8.0.110.0050.00316.91
8.0.100.0050.00216.95
8.0.90.0040.00416.91
8.0.80.0090.01316.95
8.0.70.0040.00416.88
8.0.60.0020.00516.86
8.0.50.0040.00416.71
8.0.30.0130.00517.07
8.0.20.0090.01117.40
8.0.10.0040.00417.03
8.0.00.0150.00516.82
7.4.330.0020.00215.00
7.4.320.0030.00316.51
7.4.300.0000.00616.52
7.4.290.0000.00716.42
7.4.280.0000.00716.59
7.4.270.0070.00016.63
7.4.260.0030.00316.52
7.4.250.0080.00016.44
7.4.240.0020.00516.52
7.4.230.0030.00316.39
7.4.220.0120.00616.43
7.4.210.0080.00716.63
7.4.200.0000.00716.39
7.4.190.0000.00716.46
7.4.160.0060.00916.58
7.4.150.0100.00717.40
7.4.140.0070.01117.86
7.4.130.0150.00216.55
7.4.120.0060.01416.56
7.4.110.0100.00716.45
7.4.100.0040.01316.56
7.4.90.0030.01716.48
7.4.80.0030.01319.39
7.4.70.0070.01416.54
7.4.60.0140.01016.52
7.4.50.0050.00316.33
7.4.40.0070.01122.77
7.4.30.0060.01316.63
7.4.00.0120.00415.02
7.3.330.0030.00313.10
7.3.320.0030.00313.04
7.3.310.0000.00716.25
7.3.300.0030.00316.18
7.3.290.0070.00816.14
7.3.280.0110.00916.22
7.3.270.0070.01017.40
7.3.260.0140.00416.30
7.3.250.0150.01416.27
7.3.240.0120.00416.24
7.3.230.0070.01716.39
7.3.210.0110.00516.33
7.3.200.0100.00719.39
7.3.190.0090.00916.24
7.3.180.0100.01016.52
7.3.170.0060.01116.44
7.3.160.0090.01316.24
7.3.120.0090.00714.77
7.3.110.0070.00714.71
7.3.100.0120.00314.66
7.3.90.0030.01014.49
7.3.80.0030.01314.62
7.3.70.0080.00614.74
7.3.60.0030.01314.75
7.3.50.0040.00414.48
7.3.40.0070.01114.70
7.3.30.0030.01414.68
7.3.20.0030.01016.55
7.3.10.0030.01216.44
7.3.00.0060.00616.62
7.2.330.0130.00516.77
7.2.320.0000.01716.68
7.2.310.0030.01416.46
7.2.300.0060.01016.63
7.2.290.0090.01316.68
7.2.250.0070.01314.90
7.2.240.0030.01314.69
7.2.230.0040.01514.90
7.2.220.0110.00715.07
7.2.210.0040.01514.73
7.2.200.0070.00314.59
7.2.190.0100.00614.91
7.2.180.0060.00614.68
7.2.170.0070.00714.82
7.2.130.0030.01317.01
7.2.120.0100.00316.94
7.2.110.0080.00616.90
7.2.100.0040.01416.65
7.2.90.0030.01316.93
7.2.80.0040.01116.94
7.2.70.0030.00716.75
7.2.60.0040.01116.74
7.2.50.0070.01016.86
7.2.40.0030.00616.59
7.2.30.0030.01016.83
7.2.20.0030.01317.06
7.2.10.0060.00316.84
7.2.00.0070.00716.68
7.1.330.0030.01015.30
7.1.320.0060.00915.77
7.1.310.0000.01315.68
7.1.300.0000.01415.57
7.1.290.0070.00715.65
7.1.280.0040.01115.51
7.1.270.0070.00715.50
7.1.260.0110.00015.85
7.1.250.0060.00615.64
7.1.200.0070.00715.58
7.1.70.0000.00917.11
7.1.60.0060.00617.09
7.1.50.0030.02016.52
7.1.00.0000.04322.36
7.0.200.0070.00316.43
7.0.140.0100.06722.04
7.0.60.0200.06319.89
7.0.50.0030.04317.89
7.0.40.0030.08720.12
7.0.30.0200.04320.21
7.0.20.0230.07020.16
7.0.10.0230.06720.00
7.0.00.0070.08320.16
5.6.280.0030.07320.77
5.6.210.0070.06320.47
5.6.200.0070.08018.08
5.6.190.0070.08320.59
5.6.180.0200.05020.39
5.6.170.0270.08020.40
5.6.160.0000.07320.40
5.6.150.0030.07018.18
5.6.140.0170.07318.11
5.6.130.0030.08318.15
5.6.120.0100.08320.98
5.6.110.0230.05721.12
5.6.100.0100.03720.97
5.6.90.0070.05321.00
5.6.80.0070.03720.35
5.6.70.0270.06020.41
5.5.350.0200.07720.34
5.5.340.0130.04017.92
5.5.330.0070.04020.25
5.5.320.0170.04720.51
5.5.310.0170.03720.16
5.5.300.0030.04017.92
5.5.290.0070.04317.89
5.5.280.0070.08320.84
5.5.270.0100.07320.64
5.5.260.0070.09020.86
5.5.250.0100.08020.65
5.5.240.0100.07320.18
5.4.450.0570.06019.41
5.4.440.0630.06319.58
5.4.430.0830.04719.27
5.4.420.0470.04719.23
5.4.410.0070.05719.40
5.4.400.0500.06718.50
5.4.390.0400.05018.75
5.4.380.0370.04018.61
5.4.370.0170.05018.71
5.4.360.0100.05318.70
5.4.350.0060.03411.98
5.4.340.0100.03311.96
5.4.320.0060.03712.45
5.4.310.0080.04312.45
5.4.300.0070.03612.45
5.4.290.0050.03812.45
5.4.280.0080.04612.34
5.4.270.0050.03712.34
5.4.260.0100.03712.35
5.4.250.0130.04318.80
5.4.240.0070.05318.98
5.4.230.0170.04318.89
5.4.220.0100.05718.71
5.4.210.0100.04718.99
5.4.200.0030.05318.64
5.4.190.0070.05318.86
5.4.180.0030.05718.76
5.4.170.0070.05018.86
5.4.160.0030.05718.73
5.4.150.0000.06018.80
5.4.140.0030.06016.48
5.4.130.0030.05016.46
5.4.120.0030.06316.29
5.4.110.0030.05316.45
5.4.100.0070.05016.45
5.4.90.0130.04316.18
5.4.80.0130.04316.34
5.4.70.0100.04716.44
5.4.60.0130.04316.23
5.4.50.0030.07716.36
5.4.40.0000.05716.23
5.4.30.0170.06016.29
5.4.20.0000.05316.38
5.4.10.0100.04716.38
5.4.00.0030.05315.69
5.3.290.0090.04012.80
5.3.280.0030.05314.61
5.3.270.0100.04714.46
5.3.260.0070.05314.60
5.3.250.0070.05014.49
5.3.240.0100.05014.61
5.3.230.0170.04014.61
5.3.220.0000.05714.48
5.3.210.0030.05714.71
5.3.200.0070.05014.58
5.3.190.0100.04714.60
5.3.180.0070.05014.65
5.3.170.0000.05714.62
5.3.160.0130.04014.26
5.3.150.0000.05714.55
5.3.140.0030.05314.41
5.3.130.0070.05314.25
5.3.120.0100.04714.64
5.3.110.0030.06014.55
5.3.100.0070.05013.91
5.3.90.0070.04713.87
5.3.80.0070.05014.03
5.3.70.0070.04714.11
5.3.60.0170.05013.86
5.3.50.0130.04014.01
5.3.40.0130.04313.96
5.3.30.0130.04013.95
5.3.20.0100.04713.85
5.3.10.0100.04713.50
5.3.00.0030.05313.57
5.2.170.0000.04711.16
5.2.160.0130.03311.16
5.2.150.0000.05011.04
5.2.140.0100.03711.29
5.2.130.0070.05710.98
5.2.120.0100.03311.25
5.2.110.0100.03311.10
5.2.100.0070.03710.98
5.2.90.0070.04311.11
5.2.80.0070.04011.09
5.2.70.0030.04011.10
5.2.60.0030.04011.05
5.2.50.0070.05310.93
5.2.40.0070.04011.10
5.2.30.0070.04010.90
5.2.20.0000.04011.06
5.2.10.0070.03311.07
5.2.00.0100.03310.78
5.1.60.0030.03310.05
5.1.50.0000.0409.90
5.1.40.0030.04710.08
5.1.30.0200.03710.09
5.1.20.0030.03710.51
5.1.10.0000.03710.09
5.1.00.0070.03310.21
5.0.50.0070.0278.59
5.0.40.0030.0308.46
5.0.30.0000.0478.45
5.0.20.0030.0278.14
5.0.10.0000.0438.20
5.0.00.0070.0378.19
4.4.90.0100.0136.29
4.4.80.0000.0236.27
4.4.70.0000.0236.20
4.4.60.0000.0236.19
4.4.50.0000.0306.19
4.4.40.0070.0306.19
4.4.30.0030.0276.19
4.4.20.0030.0306.19
4.4.10.0030.0206.19
4.4.00.0070.0306.19
4.3.110.0030.0206.19
4.3.100.0030.0206.19
4.3.90.0070.0176.19
4.3.80.0000.0376.19
4.3.70.0000.0236.19
4.3.60.0030.0176.19
4.3.50.0070.0176.19
4.3.40.0100.0276.19
4.3.30.0000.0236.19
4.3.20.0070.0236.19
4.3.10.0000.0236.19
4.3.00.0100.0206.71

preferences:
47.85 ms | 401 KiB | 5 Q