3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public $x; } $t = new Test(); var_dump($t->x);

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.130.0100.01019.48
8.4.120.0080.00222.41
8.4.110.0100.01022.23
8.4.100.0090.00920.42
8.4.90.0030.00719.00
8.4.80.0140.00618.53
8.4.70.0100.00717.80
8.4.60.0070.01318.74
8.4.50.0120.00720.23
8.4.40.0170.00317.66
8.4.30.0160.00320.14
8.4.20.0040.00418.06
8.4.10.0160.00319.43
8.3.260.0090.00616.48
8.3.250.0130.00618.85
8.3.240.0050.00418.73
8.3.230.0110.00816.31
8.3.220.0140.00418.70
8.3.210.0040.00318.18
8.3.200.0060.00316.35
8.3.190.0090.00818.64
8.3.180.0150.00316.48
8.3.170.0080.01120.82
8.3.160.0120.00616.47
8.3.150.0060.00818.96
8.3.140.0080.00016.50
8.3.130.0040.00418.16
8.3.120.0060.01020.77
8.3.110.0060.00320.94
8.3.100.0030.00616.43
8.3.90.0070.00726.77
8.3.80.0090.00017.97
8.3.70.0130.00916.36
8.3.60.0080.00818.18
8.3.50.0070.01416.68
8.3.40.0070.01021.88
8.3.30.0140.00320.18
8.3.20.0060.01325.66
8.3.10.0110.00725.66
8.3.00.0120.00625.66
8.2.290.0110.00920.47
8.2.280.0140.00518.52
8.2.270.0100.01017.17
8.2.260.0050.00318.16
8.2.250.0060.00318.25
8.2.240.0000.00817.04
8.2.230.0040.00422.58
8.2.220.0040.00424.06
8.2.210.0140.00726.77
8.2.200.0090.00018.25
8.2.190.0090.01216.69
8.2.180.0070.01116.63
8.2.170.0070.01418.91
8.2.160.0080.00622.96
8.2.150.0100.00725.66
8.2.140.0100.00625.66
8.2.130.0100.01025.66
8.2.120.0060.01025.66
8.2.110.0130.00725.66
8.2.100.0140.00725.66
8.2.90.0150.00025.66
8.2.80.0040.01125.66
8.2.70.0060.00925.66
8.2.60.0180.00325.66
8.2.50.0110.00425.66
8.2.40.0120.00325.66
8.2.30.0000.01525.66
8.2.20.0060.01225.66
8.2.10.0130.01325.66
8.2.00.0070.01425.66
8.1.330.0040.00522.10
8.1.320.0120.00615.90
8.1.310.0070.01018.40
8.1.300.0130.00318.29
8.1.290.0060.00330.84
8.1.280.0130.00625.92
8.1.270.0090.00925.66
8.1.260.0080.00825.66
8.1.250.0150.00025.66
8.1.240.0070.01025.66
8.1.230.0150.00025.66
8.1.220.0100.00625.66
8.1.210.0120.00325.66
8.1.200.0040.01125.66
8.1.190.0070.00725.66
8.1.180.0150.00025.66
8.1.170.0120.00425.66
8.1.160.0100.00625.66
8.1.150.0100.00325.66
8.1.140.0090.00625.66
8.1.130.0080.00625.66
8.1.120.0090.00625.66
8.1.110.0110.00425.66
8.1.100.0110.00425.66
8.1.90.0120.00325.66
8.1.80.0110.00425.66
8.1.70.0080.00825.66
8.1.60.0070.00725.66
8.1.50.0090.00625.66
8.1.40.0120.00325.66
8.1.30.0120.00325.66
8.1.20.0100.00725.66
8.1.10.0070.01325.66
8.1.00.0100.00625.66

preferences:
28.69 ms | 403 KiB | 5 Q