3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Test { public string $prop { get; } } class Proof implements Test { public string $prop = "success"; } echo (new Proof)->prop;

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.140.0140.01117.46
8.4.130.0340.00917.46
8.4.120.0120.01117.79
8.4.110.0310.01217.70
8.4.100.0320.00717.53
8.4.90.0150.00817.34
8.4.80.0170.00917.56
8.4.70.0170.00717.49
8.4.60.0170.00817.88
8.4.50.0160.00717.66
8.4.40.0150.00917.46
8.4.30.0120.01117.83
8.4.20.0160.00817.52
8.4.10.0160.00817.72
8.3.270.0190.00716.51
8.3.260.0390.00916.51
8.3.250.0430.00616.76
8.3.240.0440.00816.46
8.3.230.0500.00816.35
8.3.220.0400.00716.57
8.3.210.0350.01316.49
8.3.200.0360.01016.80
8.3.190.0360.01316.44
8.3.180.0350.01016.59
8.3.170.0400.01016.63
8.3.160.0350.01216.18
8.3.150.0400.00716.29
8.3.140.0410.01016.41
8.3.130.0330.01016.36
8.3.120.0340.01016.82
8.3.110.0280.01116.62
8.3.100.0380.01016.71
8.3.90.0370.01216.35
8.3.80.0410.00816.49
8.3.70.0410.01216.31
8.3.60.0450.00916.60
8.3.50.0400.01116.46
8.3.40.0430.00917.50
8.3.30.0310.01017.16
8.3.20.0340.01017.41
8.3.10.0330.01117.55
8.3.00.0200.01317.31
8.2.290.0320.00916.48
8.2.280.0320.00716.25
8.2.270.0340.01116.71
8.2.260.0310.01016.49
8.2.250.0340.00916.39
8.2.240.0280.01116.80
8.2.230.0320.01116.46
8.2.220.0350.00716.39
8.2.210.0330.00816.27
8.2.200.0330.01016.16
8.2.190.0310.01216.22
8.2.180.0290.01116.47
8.2.170.0350.01217.22
8.2.160.0300.01117.36
8.2.150.0390.00517.25
8.2.140.0360.00717.26
8.2.130.0350.00717.31
8.2.120.0350.00917.22
8.2.110.0380.00716.96
8.2.100.0310.01117.36
8.2.90.0330.01017.32
8.2.80.0440.01317.36
8.2.70.0360.00817.23
8.2.60.0380.01217.42
8.2.50.0180.00217.02
8.2.40.0150.00417.37
8.2.30.0190.00717.30
8.2.20.0310.00817.25
8.2.10.0310.01017.26
8.2.00.0120.00517.31

preferences:
246.44 ms | 997 KiB | 8 Q