3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'ほげ'; $b = 'ほげ'; var_dump([ '$a===$b' => $a === $b, '$a' => bin2hex($a), '$b' => bin2hex($b), ]); /* array(3) { ["$a===$b"]=> bool(false) ["$a"]=> string(12) "e381bbe38192" ["$b"]=> string(14) "e381bb0fe38192" } */

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.140.0080.00016.83
8.3.130.0090.00616.49
8.3.120.0090.00020.68
8.3.110.0080.00820.94
8.3.100.0050.00316.36
8.3.90.0080.00026.77
8.3.80.0100.00016.75
8.3.70.0120.00316.63
8.3.60.0090.00616.38
8.3.50.0120.00918.39
8.3.40.0120.00420.34
8.3.30.0040.01419.13
8.3.20.0080.00024.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.250.0140.00716.42
8.2.240.0040.00418.96
8.2.230.0100.00722.58
8.2.220.0060.00324.06
8.2.210.0150.00426.77
8.2.200.0130.00016.38
8.2.190.0070.01016.75
8.2.180.0040.01125.92
8.2.170.0120.00318.88
8.2.160.0100.00322.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0030.00719.24
8.2.110.0060.00321.00
8.2.100.0070.00419.21
8.2.90.0090.00018.93
8.2.80.0040.00420.36
8.2.70.0030.00617.63
8.2.60.0040.00418.16
8.2.50.0030.00517.98
8.2.40.0040.00418.09
8.2.30.0030.00518.12
8.2.20.0000.00820.43
8.2.10.0040.00417.92
8.2.00.0000.00719.06
8.1.300.0090.00618.13
8.1.290.0080.00030.84
8.1.280.0120.00325.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00322.09
8.1.230.0030.00820.96
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0090.00017.00
8.1.190.0040.00417.11
8.1.180.0050.00318.10
8.1.170.0000.00917.62
8.1.160.0070.00318.73
8.1.150.0000.00718.48
8.1.140.0050.00217.29
8.1.130.0040.00418.80
8.1.120.0030.00617.40
8.1.110.0030.00617.34
8.1.100.0000.00817.26
8.1.90.0000.00717.34
8.1.80.0000.00817.37
8.1.70.0030.00317.41
8.1.60.0130.00417.41
8.1.50.0090.00417.44
8.1.40.0050.00917.45
8.1.30.0050.00917.39
8.1.20.0130.00017.48
8.1.10.0070.00817.55
8.1.00.0120.00417.51
8.0.300.0000.00720.16
8.0.290.0000.00716.61
8.0.280.0070.00018.25
8.0.270.0040.00417.27
8.0.260.0060.00018.37
8.0.250.0000.00816.90
8.0.240.0070.00016.83
8.0.230.0030.00316.77
8.0.220.0040.00416.77
8.0.210.0040.00416.71
8.0.200.0000.00616.81
8.0.190.0060.00816.85
8.0.180.0140.00216.74
8.0.170.0100.00516.68
8.0.160.0030.00616.66
8.0.150.0090.00416.70
8.0.140.0090.00516.71
8.0.130.0100.00516.58
8.0.120.0100.00516.75
8.0.110.0080.00616.84
8.0.100.0110.00416.67
8.0.90.0070.00716.86
8.0.80.0080.00816.76
8.0.70.0110.00416.63
8.0.60.0000.01516.80
8.0.50.0090.00516.63
8.0.30.0090.00516.51
8.0.20.0140.00016.65
8.0.10.0040.00916.77
7.4.330.0020.00215.55
7.4.320.0000.00616.40
7.4.300.0030.00316.60
7.4.290.0080.00016.46
7.4.280.0040.00916.45
7.4.270.0150.00016.39
7.4.260.0080.00816.49
7.4.250.0090.00616.57
7.4.240.0110.00216.58
7.4.230.0050.01016.46
7.4.220.0040.00416.55
7.4.210.0000.01116.54
7.4.200.0100.00316.29
7.4.190.0130.00316.58
7.4.180.0100.00516.49
7.4.160.0040.01116.55
7.4.150.0070.00716.46
7.4.140.0050.00516.18
7.4.130.0000.01016.13
7.4.120.0050.00516.13
7.4.110.0030.00716.13
7.4.100.0090.00315.83
7.4.90.0000.01016.18
7.4.80.0040.00716.32
7.4.70.0000.00916.23
7.4.60.0030.00516.26
7.4.50.0070.00216.20
7.4.40.0080.00316.32
7.4.30.0090.00616.21
7.4.20.0140.00016.25
7.4.10.0090.00516.41
7.4.00.0100.00316.35

preferences:
33.35 ms | 403 KiB | 5 Q