3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Variables to POST $user = "HIDDEN"; $password = "HIDDEN"; $mobiles = "919999999999"; $message = "test"; $sender = "HIDDEN"; //Initialize CURL data to send via POST to the Msg91 SMS API $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://control.msg91.com/sendhttp.php"); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "user=$user& password=$password& mobiles=$mobiles& message=$message& sender=$sender" ); //Execute CURL command and return into variable $result $result = curl_exec($ch); //Do stuff echo "$result" ?>

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.0030.01318.43
8.3.50.0140.00921.08
8.3.40.0100.00718.60
8.3.30.0070.00718.67
8.3.20.0080.00018.87
8.3.10.0080.00021.07
8.3.00.0040.00421.86
8.2.180.0150.00318.66
8.2.170.0080.00822.96
8.2.160.0090.00618.82
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0030.00519.36
8.2.110.0070.00320.22
8.2.100.0090.00319.64
8.2.90.0040.00417.91
8.2.80.0040.00418.05
8.2.70.0060.00317.63
8.2.60.0000.00818.04
8.2.50.0030.00518.07
8.2.40.0000.00818.09
8.2.30.0040.00421.14
8.2.20.0040.00417.71
8.2.10.0040.00417.72
8.2.00.0000.00717.71
8.1.280.0060.00925.92
8.1.270.0060.00321.87
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0080.00022.21
8.1.230.0070.00420.93
8.1.220.0060.00317.78
8.1.210.0030.00518.77
8.1.200.0080.00317.23
8.1.190.0040.00417.40
8.1.180.0030.00518.10
8.1.170.0040.00418.53
8.1.160.0040.00418.89
8.1.150.0000.00818.58
8.1.140.0070.00017.28
8.1.130.0050.00317.70
8.1.120.0040.00417.44
8.1.110.0070.00017.45
8.1.100.0060.00317.29
8.1.90.0000.00717.29
8.1.80.0050.00217.30
8.1.70.0080.00017.38
8.1.60.0040.00417.52
8.1.50.0060.00317.39
8.1.40.0040.00417.50
8.1.30.0000.00717.55
8.1.20.0030.00617.66
8.1.10.0040.00417.61
8.1.00.0000.00917.51
8.0.300.0000.00720.16
8.0.290.0000.00717.01
8.0.280.0000.00718.39
8.0.270.0030.00617.11
8.0.260.0060.00316.86
8.0.250.0020.00516.86
8.0.240.0030.00816.92
8.0.230.0030.00316.91
8.0.220.0030.00316.94
8.0.210.0030.00316.84
8.0.200.0080.00017.00
8.0.190.0030.00316.95
8.0.180.0000.00716.95
8.0.170.0040.00416.85
8.0.160.0030.00317.00
8.0.150.0060.00316.74
8.0.140.0000.00716.80
8.0.130.0000.00513.28
8.0.120.0040.00416.75
8.0.110.0070.00016.91
8.0.100.0050.00316.68
8.0.90.0020.00516.71
8.0.80.0070.01016.86
8.0.70.0070.00016.93
8.0.60.0030.00516.86
8.0.50.0030.00316.74
8.0.30.0130.00917.08
8.0.20.0080.01017.40
8.0.10.0000.00716.80
8.0.00.0030.01316.81
7.4.330.0060.00014.77
7.4.320.0030.00316.38
7.4.300.0030.00316.53
7.4.290.0000.00816.46
7.4.280.0000.00716.41
7.4.270.0040.00416.52
7.4.260.0030.00313.30
7.4.250.0060.00316.48
7.4.240.0000.00816.64
7.4.230.0000.00716.50
7.4.220.0030.01316.47
7.4.210.0070.01116.55
7.4.200.0000.00716.69
7.4.190.0070.00016.42
7.4.160.0130.00616.45
7.4.150.0090.01017.40
7.4.140.0170.00017.86
7.4.130.0100.00816.57
7.4.120.0050.01516.50
7.4.110.0060.01616.59
7.4.100.0100.00716.55
7.4.90.0100.01016.50
7.4.80.0080.00819.39
7.4.70.0120.00616.51
7.4.60.0060.01216.37
7.4.50.0050.00316.61
7.4.40.0060.00922.77
7.4.30.0030.01416.39
7.4.00.0070.01015.18
7.3.330.0050.00013.01
7.3.320.0000.00613.19
7.3.310.0000.00816.10
7.3.300.0000.00716.05
7.3.290.0070.00716.36
7.3.280.0090.00716.31
7.3.270.0160.00617.40
7.3.260.0070.01218.24
7.3.250.0070.01016.39
7.3.240.0160.00316.37
7.3.230.0070.01416.44
7.3.210.0110.00616.49
7.3.200.0100.01319.39
7.3.190.0120.00616.39
7.3.180.0080.00816.39
7.3.170.0130.01016.30
7.3.160.0130.00916.46
7.3.120.0050.01014.75
7.3.110.0130.00315.04
7.3.100.0100.00614.70
7.3.90.0100.01015.04
7.3.80.0120.00614.80
7.3.70.0100.00614.88
7.3.60.0080.00814.80
7.3.50.0000.01314.66
7.3.40.0030.01314.65
7.3.30.0060.01014.63
7.3.20.0050.00516.38
7.3.10.0050.00416.42
7.3.00.0050.00916.57
7.2.330.0160.00616.34
7.2.320.0100.00716.55
7.2.310.0180.00416.31
7.2.300.0030.01316.28
7.2.290.0050.01416.54
7.2.250.0070.01414.80
7.2.240.0060.01314.84
7.2.230.0100.01014.85
7.2.220.0060.01314.75
7.2.210.0090.00915.16
7.2.200.0070.00715.07
7.2.190.0060.00914.91
7.2.180.0120.00314.82
7.2.170.0040.00415.04
7.2.130.0040.00716.77
7.2.120.0120.00316.86
7.2.110.0030.01316.72
7.2.100.0040.00816.84
7.2.90.0060.00616.89
7.2.80.0090.00316.68
7.2.70.0060.00616.52
7.2.60.0070.00516.67
7.2.50.0050.00516.83
7.2.40.0130.00016.72
7.2.30.0110.00016.77
7.2.20.0100.00716.66
7.2.10.0030.00716.82
7.2.00.0030.00818.13
7.1.330.0070.00715.46
7.1.320.0090.00915.75
7.1.310.0090.00415.75
7.1.300.0070.00715.69
7.1.290.0050.00515.73
7.1.280.0090.00615.59
7.1.270.0040.00715.50
7.1.260.0070.00715.80
7.1.250.0000.01115.47
7.1.240.0040.00415.50
7.1.230.0060.00915.74
7.1.220.0070.00715.39
7.1.210.0100.00715.46
7.1.200.0000.00915.35
7.1.190.0060.00615.42
7.1.180.0030.01515.55
7.1.170.0040.00815.60
7.1.160.0090.00315.33
7.1.150.0040.00715.63
7.1.140.0060.00315.72
7.1.130.0100.00315.57
7.1.120.0000.01415.66
7.1.110.0030.00615.49
7.1.100.0050.00916.99
7.1.90.0070.00415.57
7.1.80.0000.01315.59
7.1.70.0030.00716.22
7.1.60.0070.01217.58
7.1.50.0080.00825.18
7.1.40.0030.00915.55
7.1.30.0030.00815.45
7.1.20.0060.00615.52
7.1.10.0040.00715.58
7.1.00.0030.04019.13
7.0.330.0030.01015.49
7.0.320.0070.00415.36
7.0.310.0090.00315.38
7.0.300.0000.01215.12
7.0.290.0000.00715.43
7.0.280.0000.01115.38
7.0.270.0030.00615.48
7.0.260.0030.00615.35
7.0.250.0060.00615.28
7.0.240.0130.00315.43
7.0.230.0070.00715.32
7.0.220.0000.00915.47
7.0.210.0000.01215.33
7.0.200.0050.00515.99
7.0.190.0060.00615.46
7.0.180.0060.00615.22
7.0.170.0040.00915.33
7.0.160.0040.00415.27
7.0.150.0000.01214.97
7.0.140.0070.03918.72
7.0.130.0070.00315.27
7.0.120.0050.00315.39
7.0.110.0000.00715.43
7.0.100.0030.00915.30
7.0.90.0040.00415.46
7.0.80.0000.00815.40
7.0.70.0000.02418.62
7.0.60.0020.02318.54
7.0.50.0090.04418.67
7.0.40.0030.04316.55
7.0.30.0020.04916.72
7.0.20.0090.04016.71
7.0.10.0050.03316.53
7.0.00.0050.04216.70
5.6.380.0000.01114.12
5.6.370.0060.00614.24
5.6.360.0000.01114.35
5.6.350.0030.01014.41
5.6.340.0070.00714.02
5.6.330.0070.01014.07
5.6.320.0080.00414.54
5.6.310.0040.00714.07
5.6.300.0040.01114.05
5.6.290.0110.00414.41
5.6.280.0050.03817.59
5.6.270.0060.00614.43
5.6.260.0060.00313.89
5.6.250.0030.00613.99
5.6.240.0070.00714.20
5.6.230.0070.00714.29
5.6.220.0000.02717.28
5.6.210.0020.02417.41
5.6.200.0100.04117.56
5.6.190.0050.04617.49
5.6.180.0070.02217.78
5.6.170.0070.02217.56
5.6.160.0070.04017.66
5.6.150.0100.04617.52
5.6.140.0050.04717.51
5.6.130.0110.04217.36
5.6.120.0030.03317.51
5.6.110.0090.04517.31
5.6.100.0070.04717.35
5.6.90.0030.03817.54
5.6.80.0050.04217.07
5.6.70.0000.03017.26
5.6.60.0090.03517.19
5.6.50.0070.04217.07
5.6.40.0040.03417.14
5.6.30.0090.02517.28
5.6.20.0070.03517.21
5.6.10.0110.02517.15
5.6.00.0070.04317.16
5.5.380.0060.00610.51
5.5.370.0060.00610.66
5.5.360.0050.02015.46
5.5.350.0040.03215.39
5.5.340.0080.03515.73
5.5.330.0060.02215.71
5.5.320.0040.02415.69
5.5.310.0000.04015.73
5.5.300.0040.04915.92
5.5.290.0020.04415.75
5.5.280.0050.04715.77
5.5.270.0040.02515.69
5.5.260.0020.05015.81
5.5.250.0070.03015.44
5.5.240.0040.04615.30
5.5.230.0080.03815.45
5.5.220.0060.04315.45
5.5.210.0080.03315.54
5.5.200.0000.04715.50
5.5.190.0050.02715.44
5.5.180.0080.03815.41
5.5.170.0060.00610.75
5.5.160.0100.03615.55
5.5.150.0030.04215.29
5.5.140.0080.03815.53
5.5.130.0030.04315.35
5.5.120.0070.03015.57
5.5.110.0070.04215.35
5.5.100.0050.03315.25
5.5.90.0010.02415.52
5.5.80.0010.02315.40
5.5.70.0050.03715.31
5.5.60.0020.04015.44
5.5.50.0030.04215.43
5.5.40.0020.04415.47
5.5.30.0080.02815.28
5.5.20.0060.03915.31
5.5.10.0040.04015.36
5.5.00.0080.03715.21
5.4.450.0030.04614.84
5.4.440.0060.03015.10
5.4.430.0080.03715.01
5.4.420.0010.04815.06
5.4.410.0060.03714.97
5.4.400.0040.03614.78
5.4.390.0080.03714.79
5.4.380.0000.04514.72
5.4.370.0030.04214.83
5.4.360.0000.03714.79
5.4.350.0080.03315.04
5.4.340.0050.04214.82
5.4.330.0040.00410.93
5.4.320.0040.04214.88
5.4.310.0020.04514.99
5.4.300.0050.03614.94
5.4.290.0030.04214.94
5.4.280.0070.03514.76
5.4.270.0030.02714.98
5.4.260.0000.03514.89
5.4.250.0010.02314.75
5.4.240.0040.03714.92
5.4.230.0020.03015.00
5.4.220.0030.04014.95
5.4.210.0030.04414.87
5.4.200.0060.04014.80
5.4.190.0080.03314.83
5.4.180.0100.03815.04
5.4.170.0120.03314.82
5.4.160.0050.02314.94
5.4.150.0020.03315.04
5.4.140.0000.03413.65
5.4.130.0050.03113.62
5.4.120.0050.03913.46
5.4.110.0020.03213.46
5.4.100.0050.03013.52
5.4.90.0030.02413.51
5.4.80.0050.04013.63
5.4.70.0050.03913.60
5.4.60.0020.04213.52
5.4.50.0050.04013.47
5.4.40.0070.02813.69
5.4.30.0020.03013.52
5.4.20.0040.02513.60
5.4.10.0030.03413.56
5.4.00.0010.03313.24
5.3.290.0000.03912.32
5.3.280.0030.03712.35
5.3.270.0020.04112.44
5.3.260.0030.03212.43
5.3.250.0020.04012.44
5.3.240.0020.03912.23
5.3.230.0050.04012.43
5.3.220.0050.04012.38
5.3.210.0020.03812.19
5.3.200.0050.03312.26
5.3.190.0000.04512.43
5.3.180.0030.03612.42
5.3.170.0030.04312.50
5.3.160.0030.03212.45
5.3.150.0060.03712.47
5.3.140.0080.03512.44
5.3.130.0010.04312.42
5.3.120.0020.04412.44
5.3.110.0030.03712.39
5.3.100.0010.04112.13
5.3.90.0020.03412.11
5.3.80.0000.04112.12
5.3.70.0060.02312.04
5.3.60.0020.04312.17
5.3.50.0040.03712.04
5.3.40.0060.02912.09
5.3.30.0040.04012.07
5.3.20.0020.04011.93
5.3.10.0050.03811.88
5.3.00.0060.03711.75
5.2.170.0050.03210.65
5.2.160.0050.03010.83
5.2.150.0000.03410.77
5.2.140.0030.02910.77
5.2.130.0030.03310.73
5.2.120.0000.03810.62
5.2.110.0010.02610.56
5.2.100.0050.03310.74
5.2.90.0070.03010.73
5.2.80.0020.03010.66
5.2.70.0000.02710.54
5.2.60.0020.03410.64
5.2.50.0020.03310.70
5.2.40.0040.03410.75
5.2.30.0050.02810.66
5.2.20.0020.03010.67
5.2.10.0060.02810.62
5.2.00.0030.03110.48
5.1.60.0000.03310.29
5.1.50.0010.02810.23
5.1.40.0040.02810.35
5.1.30.0020.02710.29
5.1.20.0020.02810.24
5.1.10.0010.03110.35
5.1.00.0020.03210.30
5.0.50.0050.02210.23
5.0.40.0020.02410.23
5.0.30.0020.02510.23
5.0.20.0030.02410.23
5.0.10.0010.01610.23
5.0.00.0020.03110.23
4.4.90.0000.02210.23
4.4.80.0030.01810.23
4.4.70.0000.01710.23
4.4.60.0020.01310.23
4.4.50.0070.01010.23
4.4.40.0020.03010.23
4.4.30.0030.01710.23
4.4.20.0000.01910.23
4.4.10.0020.01810.23
4.4.00.0030.03010.23
4.3.110.0020.01910.23
4.3.100.0020.00910.23
4.3.90.0030.01510.23
4.3.80.0000.02210.23
4.3.70.0020.01010.23
4.3.60.0020.01710.23
4.3.50.0020.01310.23
4.3.40.0000.02910.23
4.3.30.0000.01210.23
4.3.20.0000.02210.23
4.3.10.0050.01710.23
4.3.00.0020.02010.23

preferences:
58.91 ms | 400 KiB | 5 Q