3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(isset($_POST['submit'])) { $sale_price = $_POST['sale_price']; // posted value $title_insurance = ($sale_price * 0.00575) + 200; ?> <script type="text/javascript"> document.getElementById("title_insurance ").value='<?php echo $title_insurance ; ?>'; </script> <?php } <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data"> <input name="sale_price" type="text" id="sale_price" size="15"> <input name="title_insurance" type="text" id="title_insurance" size="15" value="<?php echo $title_insurance; ?>" /> <input name="button" type="submit" class="bordered" id="button" value="Calculate" /> </form>

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)
5.5.20.0100.06019.33
5.5.10.0030.05719.27
5.5.00.0170.07319.30
5.4.180.0100.07318.99
5.4.170.0130.07319.14
5.4.160.0100.07718.83
5.4.150.0030.06718.83
5.4.140.0130.05716.50
5.4.130.0100.04316.32
5.4.120.0100.07316.30
5.4.110.0070.05016.47
5.4.100.0070.06316.38
5.4.90.0070.07316.44
5.4.80.0270.04316.29
5.4.70.0070.07016.39
5.4.60.0100.07016.35
5.4.50.0070.04716.40
5.4.40.0030.07316.51
5.4.30.0130.03716.36
5.4.20.0100.04716.30
5.4.10.0030.04016.43
5.4.00.0130.04015.71
5.3.270.0030.08314.58
5.3.260.0030.05014.55
5.3.250.0070.07314.55
5.3.240.0070.05014.43
5.3.230.0100.07014.52
5.3.220.0100.06714.49
5.3.210.0100.06014.54
5.3.200.0100.07014.49
5.3.190.0070.07714.36
5.3.180.0070.07714.49
5.3.170.0070.07014.54
5.3.160.0170.07314.65
5.3.150.0070.05714.36
5.3.140.0070.08014.36
5.3.130.0100.07314.43
5.3.120.0200.03714.37
5.3.110.0100.06314.51
5.3.100.0030.06713.99
5.3.90.0070.06714.11
5.3.80.0070.07714.05
5.3.70.0070.07713.94
5.3.60.0130.06713.79
5.3.50.0100.07013.89
5.3.40.0100.03313.86
5.3.30.0030.05713.92
5.3.20.0100.04713.68
5.3.10.0100.06713.48
5.3.00.0070.05313.57

preferences:
142.76 ms | 1394 KiB | 7 Q