3v4l.org

run code in 300+ PHP versions simultaneously
<?php class User { public string $name; } for ($i = 0; $i < 10000; $i++) { $rp = new ReflectionProperty('User', 'name'); echo $rp->getType()->getName(); }

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.0190.00616.50
8.3.50.0170.01719.91
8.3.40.0130.01020.35
8.3.30.0230.00318.71
8.3.20.0120.00024.18
8.3.10.0260.00324.66
8.3.00.0090.00326.16
8.2.180.0190.00425.92
8.2.170.0140.01122.96
8.2.160.0140.01422.96
8.2.150.0060.00625.66
8.2.140.0100.00324.66
8.2.130.0060.00626.16
8.2.120.0080.00426.16
8.2.110.0110.00420.58
8.2.100.0150.00417.91
8.2.90.0060.00619.53
8.2.80.0000.01020.53
8.2.70.0000.01117.50
8.2.60.0040.00717.93
8.2.50.0030.00917.93
8.2.40.0080.00419.76
8.2.30.0030.00718.18
8.2.20.0000.01020.57
8.2.10.0090.00617.71
8.2.00.0040.00819.19
8.1.280.0220.00625.92
8.1.270.0100.00323.99
8.1.260.0120.00026.35
8.1.250.0060.00628.09
8.1.240.0150.00022.46
8.1.230.0150.00322.50
8.1.220.0040.00817.74
8.1.210.0110.00018.91
8.1.200.0040.01117.13
8.1.190.0110.00017.22
8.1.180.0000.01118.10
8.1.170.0060.00617.62
8.1.160.0100.00018.89
8.1.150.0080.00318.54
8.1.140.0000.01117.47
8.1.130.0070.00420.33
8.1.120.0070.00417.38
8.1.110.0000.01217.43
8.1.100.0100.00017.43
8.1.90.0080.00317.44
8.1.80.0060.00617.48
8.1.70.0060.00317.45
8.1.60.0080.00317.59
8.1.50.0060.00617.52
8.1.40.0070.00317.52
8.1.30.0080.00417.64
8.1.20.0190.01017.38
8.1.10.0170.01017.48
8.1.00.0180.00917.41
8.0.300.0040.00820.04
8.0.290.0060.00616.63
8.0.280.0040.00718.45
8.0.270.0000.01216.67
8.0.260.0080.00318.38
8.0.250.0060.00616.91
8.0.240.0070.00416.83
8.0.230.0080.00416.82
8.0.220.0070.00416.81
8.0.210.0100.00016.68
8.0.200.0070.00416.70
8.0.190.0100.00316.85
8.0.180.0040.00816.68
8.0.170.0040.00816.67
8.0.160.0030.01216.77
8.0.150.0210.00316.59
8.0.140.0150.00916.53
8.0.130.0140.00916.60
8.0.120.0160.00816.63
8.0.110.0190.00516.63
8.0.100.0120.01216.61
8.0.90.0120.01216.61
8.0.80.0260.00216.59
8.0.70.0180.00616.50
8.0.60.0150.00916.50
8.0.50.0140.01116.44
8.0.30.0190.00516.61
8.0.20.0170.00816.53
8.0.10.0150.00916.70
7.4.330.0000.01015.55
7.4.320.0000.01016.46
7.4.300.0000.01216.44
7.4.290.0040.00816.35
7.4.280.0000.01216.29
7.4.270.0200.00716.18
7.4.260.0170.01016.29
7.4.250.0220.00616.23
7.4.240.0190.00816.27
7.4.230.0180.00916.21
7.4.220.0210.00416.28
7.4.210.0200.00316.16
7.4.200.0140.01016.17
7.4.190.0190.00516.18
7.4.180.0150.01016.18
7.4.160.0170.00716.28
7.4.150.0160.00816.14
7.4.140.0170.00616.04
7.4.130.0200.00316.10
7.4.120.0080.01616.10
7.4.110.0140.01116.16
7.4.100.0180.00716.23
7.4.90.0170.00616.20
7.4.80.0170.00816.11
7.4.70.0140.01116.20
7.4.60.0160.00816.21
7.4.50.0140.00816.11
7.4.40.0220.00316.16
7.4.30.0210.00716.21
7.4.20.0240.01016.23
7.4.10.0290.00416.08
7.4.00.0180.00716.11

preferences:
56.59 ms | 400 KiB | 5 Q