3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'ほげ'; // "ほげ" $b = 'ほげ';// "ほ\x0Fげ"; echo '$a===$b: ',($a === $b ? 'true' : 'false')."\n"; echo ' $a: '.$a."\n"; echo ' $b: '.$b."\n"; /* $a===$b: false $a: ほげ $b: ほげ */

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.0040.00417.13
8.3.130.0080.00018.29
8.3.120.0110.00320.48
8.3.110.0050.00520.94
8.3.100.0040.00424.06
8.3.90.0110.00426.77
8.3.80.0000.00818.30
8.3.70.0040.01516.58
8.3.60.0030.01718.30
8.3.50.0160.00618.00
8.3.40.0070.00720.22
8.3.30.0150.00918.93
8.3.20.0050.00324.18
8.3.10.0000.00824.66
8.3.00.0080.00026.16
8.2.250.0090.00016.43
8.2.240.0000.00918.51
8.2.230.0030.00522.58
8.2.220.0040.00437.54
8.2.210.0070.00026.77
8.2.200.0060.00316.63
8.2.190.0150.00616.58
8.2.180.0070.00725.92
8.2.170.0110.00418.94
8.2.160.0110.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0070.00720.56
8.2.110.0120.00422.27
8.2.100.0120.00017.91
8.2.90.0070.00020.40
8.2.80.0060.00317.97
8.2.70.0130.00017.00
8.2.60.0040.00417.50
8.2.50.0040.00417.98
8.2.40.0000.00918.22
8.2.30.0040.00417.97
8.2.20.0040.00420.37
8.2.10.0000.00717.92
8.2.00.0030.00619.34
8.1.300.0040.00420.16
8.1.290.0090.00030.84
8.1.280.0170.00325.92
8.1.270.0100.00720.54
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00321.98
8.1.230.0070.00320.97
8.1.220.0000.00817.74
8.1.210.0040.00420.80
8.1.200.0000.00917.23
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0040.00417.62
8.1.160.0030.00518.84
8.1.150.0000.00718.64
8.1.140.0000.00717.45
8.1.130.0050.00218.88
8.1.120.0030.00317.52
8.1.110.0040.00417.30
8.1.100.0030.00317.42
8.1.90.0050.00317.45
8.1.80.0030.00517.36
8.1.70.0000.00717.39
8.1.60.0140.00417.45
8.1.50.0050.01117.49
8.1.40.0100.00717.49
8.1.30.0110.00817.37
8.1.20.0090.00917.60
8.1.10.0170.00317.44
8.1.00.0140.00617.39
8.0.300.0000.00720.09
8.0.290.0030.00616.75
8.0.280.0000.00718.48
8.0.270.0000.00716.80
8.0.260.0000.00618.43
8.0.250.0030.00316.97
8.0.240.0040.00416.92
8.0.230.0040.00416.95
8.0.220.0070.00016.90
8.0.210.0030.00316.93
8.0.200.0030.00316.84
8.0.190.0100.00716.95
8.0.180.0110.00416.92
8.0.170.0090.00616.82
8.0.160.0100.00516.71
8.0.150.0140.00216.33
8.0.140.0090.00516.27
8.0.130.0030.01216.18
8.0.120.0040.00916.67
8.0.110.0050.00915.72
8.0.100.0090.00416.54
8.0.90.0130.00016.43
8.0.80.0090.00416.43
8.0.70.0110.00316.73
8.0.60.0110.00416.80
8.0.50.0120.00216.12
8.0.30.0080.00516.59
8.0.20.0090.00616.64
8.0.10.0090.00316.72
7.4.330.0000.00615.55
7.4.320.0060.00016.64
7.4.300.0030.00316.48
7.4.290.0110.00016.09
7.4.280.0130.00015.98
7.4.270.0060.00616.40
7.4.260.0130.00016.09
7.4.250.0120.00015.99
7.4.240.0110.00416.11
7.4.230.0060.00616.09
7.4.220.0040.00816.08
7.4.210.0040.00915.79
7.4.200.0080.00016.39
7.4.190.0130.00016.39
7.4.180.0090.00316.37
7.4.160.0100.00316.00
7.4.150.0120.00315.96
7.4.140.0000.01116.03
7.4.130.0110.00415.85
7.4.120.0090.00916.17
7.4.110.0150.00016.02
7.4.100.0110.00416.20
7.4.90.0120.00015.98
7.4.80.0070.00716.07
7.4.70.0070.00715.99
7.4.60.0080.00416.41
7.4.50.0060.00915.88
7.4.40.0090.00316.02
7.4.30.0080.00616.14
7.4.20.0120.00016.02
7.4.10.0110.00416.29
7.4.00.0090.00615.88

preferences:
34.86 ms | 403 KiB | 5 Q