3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public function __wakeup() { echo 'exploited'; } } $userInput = serialize(new foo); $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.60.0100.01018.18
8.3.50.0120.00916.11
8.3.40.0140.00718.72
8.3.30.0100.01018.57
8.3.20.0140.00422.57
8.3.10.0090.00922.09
8.3.00.0180.00023.58
8.2.180.0150.00618.29
8.2.170.0110.01122.96
8.2.160.0170.00322.13
8.2.150.0120.00625.66
8.2.140.0100.01024.66
8.2.130.0070.01326.16
8.2.120.0110.00726.16
8.2.110.0170.00322.25
8.2.100.0090.00317.72
8.2.90.0040.00419.60
8.2.80.0050.00317.97
8.2.70.0030.00517.68
8.2.60.0000.00818.22
8.2.50.0000.00918.10
8.2.40.0000.00819.33
8.2.30.0090.00019.11
8.2.20.0000.00718.10
8.2.10.0000.00719.25
8.2.00.0040.00419.23
8.1.280.0110.01125.92
8.1.270.0120.00620.47
8.1.260.0070.01126.35
8.1.250.0110.00728.09
8.1.240.0090.01323.96
8.1.230.0110.00018.97
8.1.220.0080.00017.74
8.1.210.0100.00718.77
8.1.200.0030.00617.13
8.1.190.0060.00317.25
8.1.180.0030.00518.10
8.1.170.0080.00018.64
8.1.160.0090.00018.91
8.1.150.0040.00418.88
8.1.140.0070.00020.79
8.1.130.0070.00020.06
8.1.120.0000.00717.38
8.1.110.0000.00817.33
8.1.100.0040.00417.46
8.1.90.0000.00817.46
8.1.80.0040.00417.48
8.1.70.0070.00017.48
8.1.60.0050.00317.57
8.1.50.0040.00417.35
8.1.40.0040.00417.49
8.1.30.0050.00317.68
8.1.20.0030.00617.66
8.1.10.0000.00717.52
8.1.00.0080.00017.39
8.0.300.0040.00419.65
8.0.290.0000.00816.88
8.0.280.0040.00418.48
8.0.270.0000.00717.15
8.0.260.0000.00720.12
8.0.250.0000.00816.90
8.0.240.0040.00416.99
8.0.230.0030.00516.89
8.0.220.0000.00716.83
8.0.210.0040.00416.91
8.0.200.0080.00017.04
8.0.190.0000.00717.03
8.0.180.0030.00616.86
8.0.170.0000.00916.85
8.0.160.0030.00517.04
8.0.150.0040.00416.92
8.0.140.0090.00516.96
8.0.130.0000.00613.39
8.0.120.0000.00816.93
8.0.110.0000.00816.80
8.0.100.0000.00816.78
8.0.90.0000.00816.84
8.0.80.0110.00416.92
8.0.70.0040.00416.85
8.0.60.0030.00616.91
8.0.50.0050.00316.82
8.0.30.0040.01517.11
8.0.20.0040.01417.20
8.0.10.0040.00416.92
8.0.00.0090.01016.71
7.4.330.0060.00016.79
7.4.320.0030.00316.58
7.4.300.0070.00016.54
7.4.290.0050.00216.59
7.4.280.0040.00416.61
7.4.270.0040.00816.52
7.4.260.0060.00013.22
7.4.250.0030.00516.39
7.4.240.0040.00416.50
7.4.230.0000.00716.24
7.4.220.0050.00216.63
7.4.210.0070.00816.58
7.4.200.0070.00016.39
7.4.130.0070.01016.36
7.4.120.0140.00816.45
7.4.110.0180.00616.62
7.4.100.0090.00916.34
7.4.90.0200.00316.46
7.4.80.0150.00319.39
7.4.70.0070.01016.51
7.4.60.0120.00816.45
7.4.50.0110.00316.45
7.4.40.0100.00716.59
7.4.10.0000.01614.75
7.4.00.0120.00514.87
7.3.330.0000.00716.20
7.3.320.0000.00613.17
7.3.310.0080.00016.06
7.3.300.0050.00316.14
7.3.290.0040.00416.29
7.3.260.0120.00916.36
7.3.230.0080.00916.23
7.3.210.0070.01016.41
7.3.200.0110.00516.32
7.3.190.0000.01716.33
7.3.180.0080.01116.37
7.3.170.0170.00016.33
7.3.160.0070.00916.28
7.3.130.0000.01714.64
7.3.120.0110.00414.63
7.3.110.0090.00914.84
7.3.100.0040.01114.61
7.3.90.0060.00614.74
7.3.80.0060.00714.59
7.3.70.0060.00714.63
7.3.60.0070.00414.48
7.3.50.0070.00614.53
7.3.40.0070.00814.69
7.3.30.0090.00614.71
7.3.20.0320.00416.09
7.3.10.0080.00715.97
7.3.00.0090.00715.96
7.2.330.0200.00416.61
7.2.320.0090.00616.66
7.2.310.0090.01316.42
7.2.300.0070.01016.55
7.2.290.0090.01216.70
7.2.260.0060.01214.69
7.2.250.0100.00314.82
7.2.240.0030.01215.09
7.2.230.0000.01514.95
7.2.220.0070.01114.61
7.2.210.0040.00914.79
7.2.200.0060.00814.98
7.2.190.0060.00914.80
7.2.180.0090.00414.95
7.2.170.0050.00914.91
7.2.160.0090.00514.74
7.2.150.0080.00716.31
7.2.140.0080.01116.16
7.2.130.0090.00616.40
7.2.120.0090.00616.33
7.2.110.0100.00716.20
7.2.100.0070.00716.23
7.2.90.0060.00816.39
7.2.80.0090.00716.28
7.2.70.0080.00816.23
7.2.60.0080.00916.13
7.2.50.0070.00916.31
7.2.40.0100.00516.26
7.2.30.0080.00816.32
7.2.20.0070.00916.39
7.2.10.0090.00916.15
7.2.00.0090.00916.25
7.1.330.0110.00415.90
7.1.320.0120.00015.69
7.1.310.0060.01015.40
7.1.300.0090.00615.17
7.1.290.0080.00715.17
7.1.280.0100.00415.36
7.1.270.0060.00915.15
7.1.260.0080.00615.31
7.1.250.0090.00615.15
7.1.240.0040.01115.72
7.1.230.0100.00015.89
7.1.220.0090.00315.47
7.1.210.0040.00815.65
7.1.200.0030.01015.66
7.1.190.0130.00015.75
7.1.180.0070.01015.84
7.1.170.0030.00515.65
7.1.160.0070.00315.79
7.1.150.0100.00715.46
7.1.140.0030.01015.88
7.1.130.0040.01115.94
7.1.120.0110.00015.70
7.1.110.0070.00315.68
7.1.100.0000.00915.79
7.1.90.0060.00615.85
7.1.80.0040.00715.82
7.1.70.0090.00015.73
7.1.60.0030.01015.96
7.1.50.0030.00615.75
7.1.40.0030.01115.69
7.1.30.0000.01115.89
7.1.20.0030.00915.88
7.1.10.0040.01115.88
7.1.00.0030.00915.72

preferences:
37.09 ms | 400 KiB | 5 Q