3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); namespace Forum { class Message {} } namespace Messenger { class Message {} } namespace { $forumMessage = new Forum\Message; $messengerMessage = new Messenger\Message; var_dump($forumMessage::class); var_dump($messengerMessage::class); }

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.4.20.0000.00918.75
8.4.10.0240.00317.62
8.3.150.0120.00616.97
8.3.140.0210.01016.78
8.3.130.0170.00617.49
8.3.120.0170.00718.37
8.3.110.0220.00718.54
8.3.100.0250.00530.44
8.3.90.0180.00721.61
8.3.80.0200.00517.82
8.3.70.0260.00816.58
8.3.60.0180.00416.38
8.3.50.0250.00517.26
8.3.40.0190.00817.86
8.3.30.0190.00617.88
8.3.20.0210.00320.86
8.3.10.0160.00520.91
8.3.00.0090.00721.77
8.2.260.0150.00517.60
8.2.250.0240.00316.53
8.2.240.0200.00316.96
8.2.230.0160.00719.38
8.2.220.0200.00420.30
8.2.210.0160.00721.52
8.2.200.0140.00817.52
8.2.190.0220.00816.67
8.2.180.0240.00321.09
8.2.170.0220.01017.91
8.2.160.0170.01020.29
8.2.150.0170.00421.59
8.2.140.0110.00320.92
8.2.130.0110.00221.77
8.2.120.0160.00419.18
8.2.110.0120.00620.76
8.2.100.0180.00617.70
8.2.90.0190.00517.83
8.2.80.0180.00518.23
8.2.70.0190.00217.45
8.2.60.0110.00517.61
8.2.50.0120.00417.88
8.2.40.0150.00819.21
8.2.30.0170.00718.27
8.2.20.0140.00817.64
8.2.10.0160.00418.19
8.2.00.0190.00418.38
8.1.310.0240.00416.24
8.1.300.0180.00517.18
8.1.290.0170.00623.54
8.1.280.0200.00720.81
8.1.270.0180.00520.50
8.1.260.0220.00221.67
8.1.250.0200.00422.73
8.1.240.0200.00220.60
8.1.230.0200.00517.90
8.1.220.0180.00217.52
8.1.210.0210.00317.83
8.1.200.0170.00517.14
8.1.190.0170.00517.03
8.1.180.0160.00517.55
8.1.170.0130.00817.84
8.1.160.0180.00418.01
8.1.150.0140.00618.04
8.1.140.0170.00517.85
8.1.130.0160.00517.20
8.1.120.0130.00517.66
8.1.110.0150.00517.61
8.1.100.0120.00717.65
8.1.90.0140.00517.72
8.1.80.0100.00917.64
8.1.70.0090.00617.64
8.1.60.0110.00917.69
8.1.50.0160.00417.62
8.1.40.0150.00617.66
8.1.30.0190.00217.78
8.1.20.0140.00317.69
8.1.10.0180.00417.80
8.1.00.0150.00617.68
8.0.300.0160.00417.69
8.0.290.0180.00316.52
8.0.280.0120.00617.36
8.0.270.0200.00216.66
8.0.260.0200.00216.58
8.0.250.0130.00517.11
8.0.240.0130.00617.13
8.0.230.0140.00517.10
8.0.220.0170.00417.00
8.0.210.0140.00717.10
8.0.200.0090.00516.93
8.0.190.0150.00516.98
8.0.180.0140.00716.95
8.0.170.0120.00816.94
8.0.160.0130.00716.93
8.0.150.0160.00316.88
8.0.140.0150.00416.88
8.0.130.0120.00616.85
8.0.120.0110.01017.00
8.0.110.0130.00616.95
8.0.100.0110.00616.95
8.0.90.0140.00516.93
8.0.80.0110.00917.02
8.0.70.0110.00716.91
8.0.60.0140.00416.89
8.0.50.0160.00616.89
8.0.30.0160.00816.87
8.0.20.0170.00517.01
8.0.10.0160.00417.10
8.0.00.0100.00717.15
7.4.330.0120.00315.77
7.4.320.0100.00816.67
7.4.300.0090.00316.52
7.4.290.0160.00216.58
7.4.280.0140.00616.64
7.4.270.0170.00416.60
7.4.260.0140.00616.60
7.4.250.0160.00416.55
7.4.240.0150.00616.61
7.4.230.0140.00516.58
7.4.220.0140.00216.63
7.4.210.0120.00616.56
7.4.200.0140.00516.67
7.4.190.0140.00516.57
7.4.180.0120.00516.63
7.4.160.0130.00616.49
7.4.150.0150.00516.55
7.4.140.0090.01016.49
7.4.130.0180.00316.36
7.4.120.0130.00616.35
7.4.110.0160.00416.34
7.4.100.0140.00716.42
7.4.90.0160.00516.41
7.4.80.0200.00616.43
7.4.70.0160.00416.35
7.4.60.0130.00516.41
7.4.50.0110.00516.33
7.4.40.0150.00516.22
7.4.30.0150.00516.42
7.4.20.0130.00616.33
7.4.10.0150.00416.31
7.4.00.0120.00716.27
7.3.330.0130.00516.46
7.3.320.0140.00516.33
7.3.310.0160.00216.41
7.3.300.0150.00416.35
7.3.290.0170.00216.45
7.3.280.0130.00616.39
7.3.270.0160.00516.32
7.3.260.0160.00616.31
7.3.250.0150.00716.28
7.3.240.0150.00616.36
7.3.230.0180.00616.19
7.3.220.0170.00516.29
7.3.210.0160.00816.25
7.3.200.0170.00616.28
7.3.190.0140.00716.29
7.3.180.0180.00416.28
7.3.170.0160.00516.32
7.3.160.0130.00916.23
7.3.150.0160.00516.32
7.3.140.0160.00616.34
7.3.130.0160.00616.25
7.3.120.0150.00716.31
7.3.110.0120.00816.26
7.3.100.0170.00416.17
7.3.90.0170.00416.55
7.3.80.0190.00216.32
7.3.70.0160.00316.32
7.3.60.0110.00616.46
7.3.50.0140.00416.43
7.3.40.0120.00416.34
7.3.30.0100.00816.45
7.3.20.0130.00617.86
7.3.10.0140.00717.80
7.3.00.0190.00417.85

preferences:
64.36 ms | 403 KiB | 5 Q