3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public function __wakeup() { echo 'exploited'; } } $userInput = serialize(new foo); echo $userInput; $serialisedStr = serialize([ $userInput, ]); unserialize($serialisedStr);

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.40.0150.00418.67
8.3.30.0140.00418.44
8.3.20.0040.00420.90
8.3.10.0050.00322.13
8.3.00.0000.00823.45
8.2.170.0030.01422.96
8.2.160.0100.00320.45
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0110.00426.16
8.2.110.0030.00619.39
8.2.100.0120.00017.91
8.2.90.0020.00520.59
8.2.80.0040.00417.97
8.2.70.0050.00317.93
8.2.60.0040.00418.22
8.2.50.0040.00418.10
8.2.40.0090.00019.47
8.2.30.0040.00419.12
8.2.20.0060.00317.94
8.2.10.0020.00519.14
8.2.00.0000.00719.09
8.1.270.0040.00420.52
8.1.260.0080.00026.35
8.1.250.0110.00428.09
8.1.240.0070.00322.54
8.1.230.0080.00321.02
8.1.220.0050.00317.74
8.1.210.0040.00418.96
8.1.200.0030.00617.35
8.1.190.0050.00317.23
8.1.180.0000.00818.10
8.1.170.0040.00418.57
8.1.160.0070.00318.86
8.1.150.0050.00318.88
8.1.140.0040.00420.88
8.1.130.0080.00020.04
8.1.120.0030.00317.35
8.1.110.0030.00517.39
8.1.100.0070.00017.41
8.1.90.0000.00717.45
8.1.80.0050.00217.41
8.1.70.0040.00417.35
8.1.60.0060.00317.56
8.1.50.0040.00417.48
8.1.40.0060.00317.50
8.1.30.0040.00417.68
8.1.20.0040.00717.64
8.1.10.0000.00817.57
8.1.00.0000.00817.51
8.0.300.0000.00819.89
8.0.290.0040.00416.75
8.0.280.0070.00018.39
8.0.270.0030.00317.25
8.0.260.0000.00620.06
8.0.250.0000.01016.90
8.0.240.0030.00317.05
8.0.230.0080.00016.95
8.0.220.0030.00516.99
8.0.210.0000.00716.88
8.0.200.0000.00616.98
8.0.190.0080.00016.89
8.0.180.0000.00816.96
8.0.170.0060.00616.98
8.0.160.0030.00316.96
8.0.150.0030.00516.91
8.0.140.0100.00016.96
8.0.130.0030.00313.38
8.0.120.0060.00316.91
8.0.110.0070.00016.93
8.0.100.0000.00717.01
8.0.90.0030.00516.81
8.0.80.0070.00716.95
8.0.70.0040.00416.96
8.0.60.0030.00516.85
8.0.50.0040.00416.84
8.0.30.0110.00817.13
8.0.20.0080.01117.14
8.0.10.0050.00217.19
8.0.00.0120.01016.66
7.4.330.0000.00515.55
7.4.320.0030.00316.59
7.4.300.0000.00716.57
7.4.290.0050.00316.51
7.4.280.0030.00316.61
7.4.270.0070.00316.60
7.4.260.0050.00013.29
7.4.250.0070.00016.44
7.4.240.0020.00516.58
7.4.230.0060.00016.30
7.4.220.0030.00316.44
7.4.210.0080.00616.50
7.4.200.0040.00416.67
7.4.130.0090.00916.58
7.4.120.0080.00816.50
7.4.110.0140.00516.66
7.4.100.0080.01116.46
7.4.90.0030.01316.52
7.4.80.0070.01019.39
7.4.70.0070.01316.49
7.4.60.0130.00316.54
7.4.50.0060.01216.60
7.4.40.0120.00916.47
7.4.10.0000.01915.11
7.4.00.0070.01015.15
7.3.330.0000.00616.22
7.3.320.0030.00313.20
7.3.310.0000.00716.28
7.3.300.0000.00716.13
7.3.290.0030.00316.25
7.3.280.0100.01016.25
7.3.260.0140.00916.45
7.3.240.0090.00816.47
7.3.230.0090.01216.56
7.3.210.0110.00516.22
7.3.200.0090.00616.28
7.3.190.0100.00716.62
7.3.180.0080.01016.35
7.3.170.0120.00316.48
7.3.160.0080.00816.34
7.3.130.0090.00614.62
7.3.120.0090.00714.83
7.3.110.0100.00714.65
7.3.100.0060.01114.72
7.3.90.0120.00514.70
7.3.80.0090.00214.68
7.3.70.0070.00414.74
7.3.60.0030.01214.71
7.3.50.0050.00714.77
7.3.40.0080.00514.73
7.3.30.0070.00614.72
7.3.20.0090.00816.09
7.3.10.0080.00715.83
7.3.00.0060.00816.09
7.2.330.0150.00916.61
7.2.320.0090.00916.71
7.2.310.0070.01016.61
7.2.300.0120.00916.69
7.2.290.0090.00616.70
7.2.260.0070.01015.06
7.2.250.0090.00515.22
7.2.240.0050.01314.99
7.2.230.0110.00414.91
7.2.220.0020.01514.92
7.2.210.0070.00414.98
7.2.200.0080.00414.92
7.2.190.0070.00715.00
7.2.180.0070.00614.95
7.2.170.0060.00814.89
7.2.160.0030.00915.06
7.2.150.0090.00715.91
7.2.140.0080.00815.71
7.2.130.0050.01115.88
7.2.120.0080.00915.90
7.2.110.0150.00316.01
7.2.100.0080.00615.85
7.2.90.0060.00815.96
7.2.80.0060.00815.92
7.2.70.0050.00915.91
7.2.60.0070.01215.76
7.2.50.0110.00815.95
7.2.40.0100.01015.88
7.2.30.0080.00515.94
7.2.20.0110.00515.84
7.2.10.0060.01015.94
7.2.00.0130.00215.91
7.1.330.0060.00916.05
7.1.320.0060.00815.87
7.1.310.0090.00515.23
7.1.300.0430.01015.27
7.1.290.0110.00515.11
7.1.280.0080.01015.20
7.1.270.0140.00615.17
7.1.260.0070.00515.23
7.1.250.0080.00414.78
7.1.240.0050.00515.65
7.1.230.0150.00015.77
7.1.220.0000.01215.63
7.1.210.0090.00015.54
7.1.200.0030.00715.99
7.1.190.0000.01015.55
7.1.180.0090.00615.66
7.1.170.0040.01415.83
7.1.160.0030.00615.47
7.1.150.0050.00515.79
7.1.140.0040.01115.64
7.1.130.0100.00315.93
7.1.120.0100.00015.71
7.1.110.0030.00915.80
7.1.100.0060.00315.92
7.1.90.0030.00615.95
7.1.80.0100.00715.66
7.1.70.0000.01215.60
7.1.60.0080.00615.99
7.1.50.0090.00615.95
7.1.40.0060.00815.61
7.1.30.0030.01015.74
7.1.20.0060.00315.86
7.1.10.0000.00915.85
7.1.00.0030.01015.68

preferences:
60.25 ms | 400 KiB | 5 Q