3v4l.org

run code in 300+ PHP versions simultaneously
<?php $EMAIL_FROM = 'MobileWays Notify'; $EMAIL_TO = 'suman.varanasi@gmail.com'; $SUBJECT = 'Transaction Test'; $BODY = 'SECURITY CHECK'; $HEADER = "From:" . $EMAIL_FROM; $data = {"name":"Testing","email":"Testing","subject":"Testing","message":"ACTIVE"}; $data_string = json_encode($data); $ch = curl_init('http://jaamoon.in/services/contactus'); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json', 'Content-Length: ' . strlen($data_string)) ); $result = curl_exec($ch); echo "<script type='text/javascript'>alert('$result');</script>"; ?>

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.4.240.0200.03719.08
5.4.230.0230.03719.16
5.4.220.0200.03719.15
5.4.210.0230.03719.30
5.4.200.0270.03019.05
5.4.190.0200.04019.20
5.4.180.0270.04319.20
5.4.170.0270.04319.24
5.4.160.0300.04719.06
5.4.150.0230.03719.10
5.4.140.0270.03016.38
5.4.130.0230.03316.46
5.4.120.0300.06716.56
5.4.110.0230.06716.20
5.4.100.0200.05316.45
5.4.90.0300.06716.24
5.4.80.0300.07716.39
5.4.70.0230.06716.54
5.4.60.0270.03016.53
5.4.50.0300.06716.25
5.4.40.0230.05316.55
5.4.30.0300.06016.55
5.4.20.0330.04716.34
5.4.10.0230.03716.43
5.4.00.0400.04715.78
5.3.280.0270.06714.52
5.3.270.0230.05314.62
5.3.260.0270.04014.45
5.3.250.0230.04714.45
5.3.240.0230.07714.48
5.3.230.0270.06314.59
5.3.220.0270.07314.42
5.3.210.0230.04014.44
5.3.200.0330.06314.42
5.3.190.0370.05714.52
5.3.180.0270.07014.44
5.3.170.0270.07014.47
5.3.160.0200.04014.39
5.3.150.0200.04714.51
5.3.140.0300.07014.65
5.3.130.0270.07014.50
5.3.120.0300.04014.57
5.3.110.0200.04714.42
5.3.100.0300.03014.13
5.3.90.0270.06313.88
5.3.80.0230.04313.86
5.3.70.0230.03713.97
5.3.60.0230.04314.05
5.3.50.0170.03713.77
5.3.40.0170.04313.85
5.3.30.0330.06313.75
5.3.20.0200.03313.74
5.3.10.0200.03313.75
5.3.00.0170.04313.43

preferences:
137.51 ms | 1394 KiB | 7 Q