3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public function __destruct() { unserialize(serialize($this)); } } $var = new test(); unset($var);

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.0180.02134.35
8.3.50.0390.01133.85
8.3.40.0270.01435.50
8.3.30.0230.02035.54
8.3.20.0130.01037.01
8.3.10.0030.01636.42
8.3.00.0190.01039.13
8.2.180.0130.02328.34
8.2.170.0300.01729.78
8.2.160.0220.00932.23
8.2.150.0140.00329.72
8.2.140.0130.00332.15
8.2.130.0130.00332.15
8.2.120.0160.00029.47
8.2.110.0150.00730.34
8.2.100.0110.01828.84
8.2.90.0110.00730.13
8.2.80.0130.00728.80
8.2.70.0000.02028.50
8.2.60.0160.00328.90
8.2.50.0110.00728.74
8.2.40.0070.01731.44
8.2.30.0060.01030.63
8.2.20.0100.00728.63
8.2.10.0140.00329.02
8.2.00.0000.01729.02
8.1.280.0200.02029.24
8.1.270.0140.00334.09
8.1.260.0260.00731.43
8.1.250.0160.00330.25
8.1.240.0140.00734.13
8.1.230.0170.00729.74
8.1.220.0060.01228.91
8.1.210.0180.00028.73
8.1.200.0080.01528.73
8.1.190.0080.01228.48
8.1.180.0110.00828.60
8.1.170.0090.00929.89
8.1.160.0140.00430.27
8.1.150.0060.01230.30
8.1.140.0090.00930.89
8.1.130.0030.01328.70
8.1.120.0030.01328.73
8.1.110.0140.00328.89
8.1.100.0120.00628.82
8.1.90.0070.01028.87
8.1.80.0000.01628.85
8.1.70.0100.00628.79
8.1.60.0130.00329.05
8.1.50.0120.00628.86
8.1.40.0030.01429.02
8.1.30.0070.01029.08
8.1.20.0100.00728.86
8.1.10.0070.01128.98
8.1.00.0120.00628.98
8.0.300.0070.01427.85
8.0.290.0120.00627.63
8.0.280.0170.00029.31
8.0.270.0120.00328.07
8.0.260.0160.00727.75
8.0.250.0070.01127.67
8.0.240.0070.01027.72
8.0.230.0030.01227.69
8.0.220.0030.01327.65
8.0.210.0030.01227.63
8.0.200.0090.00627.74
8.0.190.0030.01527.81
8.0.180.0070.01027.84
8.0.170.0070.01127.68
8.0.160.0030.01327.79
8.0.150.0030.01427.77
8.0.140.0100.00627.58
8.0.130.0100.00724.18
8.0.120.0070.01027.68
8.0.110.0100.00727.72
8.0.100.0060.01027.75
8.0.90.0030.01327.75
8.0.80.0220.03227.71
8.0.70.0070.01027.86
8.0.60.0070.01027.75
8.0.50.0100.00727.65
8.0.30.0230.01827.64
8.0.20.0190.02327.75
8.0.10.0100.00727.93
8.0.00.0230.01927.61
7.4.330.0060.00926.85
7.4.320.0100.00727.58
7.4.300.0000.01827.63
7.4.290.0060.01827.60
7.4.280.0060.01927.52
7.4.270.0070.01727.66
7.4.260.0060.02027.43
7.4.250.0070.01827.61
7.4.240.0110.01427.63
7.4.230.0100.01427.74
7.4.220.0300.02927.66
7.4.210.0150.02127.57
7.4.200.0110.01427.70
7.4.150.0270.01727.47
7.4.140.0220.03027.48
7.4.130.0230.02527.74
7.4.120.0160.02727.52
7.4.110.0200.02327.55
7.4.100.0200.03627.52
7.4.90.0260.01627.50
7.4.80.0260.03627.54
7.4.70.0250.04127.72
7.4.60.0200.02327.69
7.4.50.0100.02427.47
7.4.40.0160.02827.75
7.4.30.0280.02227.59
7.3.330.0100.01624.35
7.3.320.0070.02324.43
7.3.310.0070.01827.39
7.3.300.0030.02127.38
7.3.290.0100.02827.37
7.3.280.0270.03027.41
7.3.270.0210.02427.42
7.3.260.0220.02627.43
7.3.250.0190.03527.43
7.3.240.0210.02527.72
7.3.230.0070.04027.68
7.3.210.0070.03727.37
7.3.200.0120.03027.52
7.3.190.0280.02227.57
7.3.180.0160.02927.35
7.3.170.0220.02527.63
7.3.160.0170.02727.42
7.2.330.0160.02627.07
7.2.320.0260.02927.14
7.2.310.0160.02927.16
7.2.300.0170.02426.98
7.2.290.0280.01927.12

preferences:
46.89 ms | 401 KiB | 5 Q