3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( 'Super red Megaman T-shirt', 'Super Megaman blue T-shirt', 'Super black Megaman T-shirt', 'Super Megaman T-shirt - aquamarine', ); foreach ($test as $item) { $prodCompare[] = str_split($item); } var_dump(join(array_intersect($prodCompare[0], ...$prodCompare)));

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.5.00.0130.00820.04
8.4.150.0020.00114.05
8.4.140.0130.00817.30
8.4.130.0130.00817.41
8.4.120.0070.00520.65
8.4.110.0080.01118.52
8.4.100.0420.00917.68
8.4.90.0400.00917.84
8.4.80.0410.00917.64
8.4.70.0440.00417.47
8.4.60.0280.00617.54
8.4.50.0310.00517.59
8.4.40.0360.00817.27
8.4.30.0450.00817.32
8.4.20.0250.00517.48
8.4.10.0430.00717.33
8.3.280.0110.00918.53
8.3.270.0100.00916.81
8.3.260.0090.00716.72
8.3.250.0140.00517.01
8.3.240.0080.00516.63
8.3.230.0260.00816.60
8.3.220.0270.00916.43
8.3.210.0170.00516.63
8.3.200.0270.00616.67
8.3.190.0310.00616.58
8.3.180.0250.00816.55
8.3.170.0240.00516.34
8.3.160.0240.00716.40
8.3.150.0290.00716.54
8.3.140.0220.00416.50
8.3.130.0360.00716.45
8.3.120.0350.01216.44
8.3.110.0340.00716.57
8.3.100.0310.00616.58
8.3.90.0280.00416.55
8.3.80.0280.00616.47
8.3.70.0200.00516.53
8.3.60.0270.00316.51
8.3.50.0230.00516.61
8.3.40.0340.00717.63
8.3.30.0230.00817.49
8.3.20.0260.00417.36
8.3.10.0310.00617.63
8.3.00.0220.00918.18
8.2.290.0270.00916.86
8.2.280.0250.00616.66
8.2.270.0230.00616.52
8.2.260.0240.00616.46
8.2.250.0260.00416.65
8.2.240.0240.00616.53
8.2.230.0250.01016.41
8.2.220.0230.00816.61
8.2.210.0300.00716.25
8.2.200.0270.00516.49
8.2.190.0260.00516.59
8.2.180.0250.00616.23
8.2.170.0330.00617.63
8.2.160.0290.00417.64
8.2.150.0240.00817.47
8.2.140.0300.00517.43
8.2.130.0310.00517.51
8.2.120.0230.00617.45
8.2.110.0210.00617.50
8.2.100.0240.00417.78
8.2.90.0220.00517.76
8.2.80.0250.00717.49
8.2.70.0320.00917.31
8.2.60.0360.00817.54
8.2.50.0350.00518.35
8.2.40.0230.00917.64
8.2.30.0260.00917.42
8.2.20.0310.01117.49
8.2.10.0350.01017.38
8.2.00.0300.00817.65

preferences:
34.83 ms | 403 KiB | 5 Q