3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = "2sdfsdfjoi"; var_dump($number == 2); // = true (wat?) $number = "22sdfsdfjoi"; var_dump($number == 2); // = false (makes sense...) var_dump($number == 22); // = true (wait, wat?) var_dump($number === 22); // === the only way to be sure.

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.0150.00018.43
8.3.50.0090.00921.92
8.3.40.0150.00018.71
8.3.30.0040.01119.00
8.3.20.0000.00820.21
8.3.10.0080.00023.70
8.3.00.0050.00319.07
8.2.180.0140.00418.27
8.2.170.0110.00322.96
8.2.160.0100.00322.11
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.79
8.2.110.0040.00419.13
8.2.100.0000.01117.91
8.2.90.0000.00719.13
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0000.00818.03
8.2.50.0060.00318.07
8.2.40.0030.00518.18
8.2.30.0000.00817.92
8.2.20.0030.00617.68
8.2.10.0000.00818.11
8.2.00.0070.00017.58
8.1.280.0100.00725.92
8.1.270.0040.00418.89
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0040.00424.02
8.1.230.0000.01220.91
8.1.220.0060.00318.77
8.1.210.0110.00518.85
8.1.200.0060.00317.35
8.1.190.0000.00817.51
8.1.180.0000.00818.10
8.1.170.0050.00318.70
8.1.160.0000.00718.80
8.1.150.0060.00318.92
8.1.140.0000.00717.36
8.1.130.0040.00417.86
8.1.120.0040.00317.34
8.1.110.0000.00817.48
8.1.100.0030.00617.27
8.1.90.0030.00317.43
8.1.80.0070.00017.34
8.1.70.0040.00417.46
8.1.60.0030.00617.58
8.1.50.0060.00317.41
8.1.40.0040.00417.42
8.1.30.0000.00917.56
8.1.20.0030.00617.54
8.1.10.0000.00717.50
8.1.00.0080.00017.45
8.0.300.0110.00019.81
8.0.290.0000.00717.05
8.0.280.0000.01118.34
8.0.270.0000.00717.20
8.0.260.0000.00817.36
8.0.250.0000.00716.91
8.0.240.0040.00416.96
8.0.230.0000.00716.85
8.0.220.0030.00316.89
8.0.210.0030.00316.84
8.0.200.0000.00716.83
8.0.190.0000.00716.94
8.0.180.0070.00016.94
8.0.170.0000.00816.87
8.0.160.0050.00316.89
8.0.150.0080.00016.89
8.0.140.0040.00416.89
8.0.130.0000.00513.28
8.0.120.0000.00816.85
8.0.110.0040.00416.88
8.0.100.0050.00216.82
8.0.90.0000.00716.70
8.0.80.0140.00716.83
8.0.70.0080.00016.74
8.0.60.0070.00016.69
8.0.50.0000.00816.83
8.0.30.0130.00917.25
8.0.20.0080.01017.40
8.0.10.0000.00816.82
8.0.00.0090.00916.60
7.4.330.0000.00515.03
7.4.320.0000.00616.51
7.4.300.0070.00016.63
7.4.290.0000.00816.50
7.4.280.0040.00416.48
7.4.270.0000.00716.50
7.4.260.0000.00513.25
7.4.250.0000.00816.45
7.4.240.0040.00416.56
7.4.230.0030.00316.57
7.4.220.0190.00016.44
7.4.210.0100.00416.39
7.4.200.0000.00816.59
7.4.160.0090.00916.38
7.4.150.0070.01117.40
7.4.140.0050.01217.86
7.4.130.0070.01216.63
7.4.120.0100.00716.40
7.4.110.0150.00316.38
7.4.100.0180.00016.55
7.4.90.0100.00716.43
7.4.80.0070.01419.39
7.4.70.0110.01116.34
7.4.60.0130.00316.36
7.4.50.0040.00416.48
7.4.40.0080.00816.40
7.4.30.0080.01116.58
7.4.00.0070.01014.93
7.3.330.0020.00213.24
7.3.320.0060.00013.17
7.3.310.0070.00016.10
7.3.300.0060.00016.16
7.3.290.0060.00816.27
7.3.280.0080.00916.28
7.3.270.0130.01017.40
7.3.260.0150.00316.60
7.3.250.0120.00816.46
7.3.240.0080.00916.20
7.3.230.0100.00716.39
7.3.210.0030.01716.51
7.3.200.0140.00419.39
7.3.190.0080.00816.59
7.3.180.0120.00616.32
7.3.170.0100.01016.27
7.3.160.0000.01616.29
7.3.10.0110.00316.69
7.3.00.0110.00416.56
7.2.330.0100.00716.67
7.2.320.0090.00916.51
7.2.310.0060.01116.59
7.2.300.0070.01016.31
7.2.290.0030.01316.45
7.2.130.0060.00916.60
7.2.120.0060.00616.76
7.2.110.0090.00316.58
7.2.100.0030.00616.87
7.2.90.0100.00316.89
7.2.80.0100.00316.84
7.2.70.0050.00516.84
7.2.60.0000.01516.93
7.2.50.0030.01016.86
7.2.40.0070.00316.90
7.2.30.0070.00716.72
7.2.20.0030.00616.75
7.2.10.0000.01416.74
7.2.00.0060.00818.03
7.1.250.0000.01415.56
7.1.100.0100.01018.12
7.1.70.0030.01017.01
7.1.60.0140.01019.22
7.1.50.0030.01016.79
7.1.00.0100.07022.28
7.0.200.0000.00716.89
7.0.140.0070.03021.95
7.0.60.0070.06019.93
7.0.50.0130.07717.82
7.0.40.0070.07320.08
7.0.30.0530.05320.09
7.0.20.0330.07720.20
7.0.10.0200.04320.09
7.0.00.0070.08720.30
5.6.280.0100.06721.13
5.6.210.0100.06020.54
5.6.200.0000.04718.13
5.6.190.0070.05020.58
5.6.180.3570.04320.48
5.6.170.0270.04720.49
5.6.160.0070.08320.71
5.6.150.0070.05318.18
5.6.140.0130.07318.20
5.6.130.0030.07018.10
5.6.120.0070.05021.04
5.6.110.0170.07321.10
5.6.100.0100.08320.98
5.6.90.0070.08720.96
5.6.80.0070.07020.37
5.6.70.0330.05720.36
5.5.350.0070.04020.29
5.5.340.0000.06017.92
5.5.330.0100.03320.40
5.5.320.0430.06020.30
5.5.310.0800.04720.28
5.5.300.0030.08017.89
5.5.290.0030.04718.01
5.5.280.0070.03720.94
5.5.270.0000.05020.88
5.5.260.0170.07320.88
5.5.250.0070.03720.78
5.5.240.0370.05320.18
5.4.450.0870.05319.63
5.4.440.0130.07719.54
5.4.430.0070.05719.63
5.4.420.0200.04719.32
5.4.410.0100.05719.38
5.4.400.0270.04018.83
5.4.390.0130.05719.13
5.4.380.1130.07718.73
5.4.370.1030.07318.63
5.4.360.1000.05018.49
5.4.350.0930.06318.66
5.4.340.1100.06718.49
5.4.320.0770.06318.48
5.4.310.0900.05318.64
5.4.300.1130.05718.49
5.4.290.0900.05018.45
5.4.280.0830.05318.47
5.4.270.1130.06718.72
5.4.260.0900.05718.47
5.4.250.0830.05718.55
5.4.240.0870.06718.64
5.4.230.1030.05318.60
5.4.220.0970.05318.75
5.4.210.1270.07018.63
5.4.200.1130.05316.45
5.4.190.0930.06318.76
5.4.180.0900.05318.64
5.4.170.0900.05318.53
5.4.160.0830.06718.57
5.4.150.0900.07018.55
5.4.140.1000.04316.23
5.4.130.0770.06016.27
5.4.120.0970.04316.28
5.4.110.1030.07016.05
5.4.100.0930.05016.05
5.4.90.0900.05316.11
5.4.80.0930.05316.12
5.4.70.0900.05316.12
5.4.60.0870.05016.02
5.4.50.1030.04315.98
5.4.40.0870.05316.03
5.4.30.0900.05316.15
5.4.20.0830.05316.02
5.4.10.0800.05716.19
5.4.00.0900.05715.49
5.3.290.0900.05714.73
5.3.280.0930.04714.58
5.3.270.0800.05714.59
5.3.260.1000.04714.58
5.3.250.0770.05714.59
5.3.240.0800.06014.50
5.3.230.0970.06014.67
5.3.220.0830.06014.54
5.3.210.0830.05714.61
5.3.200.1100.05714.47
5.3.190.0900.05314.49
5.3.180.0900.05314.63
5.3.170.0830.05714.45
5.3.160.1000.06714.48
5.3.150.1200.05314.50
5.3.140.1030.05714.46
5.3.130.0970.07314.50
5.3.120.1070.07314.52
5.3.110.0830.05714.51
5.3.100.0870.05013.93
5.3.90.0900.05014.07
5.3.80.0930.04713.94
5.3.70.0930.05013.93
5.3.60.0930.05013.93
5.3.50.0930.04313.89
5.3.40.0800.06013.97
5.3.30.1070.06013.89
5.3.20.0900.05713.67
5.3.10.0970.04013.56
5.3.00.0830.05313.60
5.2.170.0770.03711.19
5.2.160.0670.04711.13
5.2.150.0630.04711.18
5.2.140.0670.04311.29
5.2.130.0700.04011.23
5.2.120.0800.04311.14
5.2.110.0830.03311.23
5.2.100.0700.04011.02
5.2.90.0700.04011.23
5.2.80.0670.04711.05
5.2.70.0730.04011.15
5.2.60.1030.03711.02
5.2.50.0770.03710.96
5.2.40.0670.03310.97
5.2.30.0570.04310.90
5.2.20.0670.03711.08
5.2.10.0570.04310.90
5.2.00.0830.04310.84
5.1.60.0670.04310.14
5.1.50.0600.03010.02
5.1.40.0570.03310.00
5.1.30.0630.03710.38
5.1.20.0600.03710.39
5.1.10.0530.03710.12
5.1.00.0530.04010.13
5.0.50.0300.0308.57
5.0.40.0270.0308.38
5.0.30.0370.0408.36
5.0.20.0300.0278.27
5.0.10.0230.0338.24
5.0.00.0230.0478.19
4.4.90.0300.0235.84
4.4.80.0300.0205.91
4.4.70.0270.0235.86
4.4.60.0230.0275.86
4.4.50.0300.0235.88
4.4.40.0370.0335.90
4.4.30.0330.0275.88
4.4.20.0270.0235.91
4.4.10.0270.0235.96
4.4.00.0330.0335.92
4.3.110.0270.0275.82
4.3.100.0330.0235.74
4.3.90.0300.0235.87
4.3.80.0300.0335.81
4.3.70.0270.0235.89
4.3.60.0270.0205.83
4.3.50.0270.0235.90
4.3.40.0270.0335.76
4.3.30.0170.0274.56
4.3.20.0200.0204.61
4.3.10.0130.0234.52
4.3.00.0000.0237.34

preferences:
70.24 ms | 401 KiB | 5 Q