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_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.70.0070.00716.75
8.3.60.0110.00416.75
8.3.50.0110.00922.00
8.3.40.0070.01418.79
8.3.30.0070.00719.07
8.3.20.0070.00020.21
8.3.10.0050.00323.66
8.3.00.0030.00620.68
8.2.190.0120.00816.58
8.2.180.0120.00316.75
8.2.170.0040.01122.96
8.2.160.0120.00322.26
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00422.20
8.2.110.0000.00922.04
8.2.100.0060.00617.84
8.2.90.0020.00519.23
8.2.80.0050.00317.97
8.2.70.0030.00517.50
8.2.60.0040.00417.93
8.2.50.0050.00518.07
8.2.40.0040.00418.16
8.2.30.0070.00417.88
8.2.20.0000.00717.60
8.2.10.0050.00217.75
8.2.00.0040.00417.64
8.1.280.0100.00325.92
8.1.270.0150.00423.97
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0100.00623.82
8.1.230.0080.00419.16
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0000.00817.41
8.1.180.0050.00318.10
8.1.170.0080.00018.51
8.1.160.0000.00821.95
8.1.150.0040.00418.58
8.1.140.0030.00517.35
8.1.130.0070.00017.87
8.1.120.0000.00717.31
8.1.110.0040.00417.39
8.1.100.0030.00417.32
8.1.90.0030.00317.41
8.1.80.0040.00417.38
8.1.70.0040.00417.34
8.1.60.0030.00517.39
8.1.50.0040.00417.41
8.1.40.0000.00717.53
8.1.30.0000.00817.54
8.1.20.0000.00817.64
8.1.10.0120.00017.45
8.1.00.0000.00717.53
8.0.300.0040.00418.77
8.0.290.0030.00317.05
8.0.280.0030.00518.48
8.0.270.0070.00017.24
8.0.260.0060.00016.73
8.0.250.0030.00316.92
8.0.240.0030.00316.86
8.0.230.0000.00716.81
8.0.220.0030.00316.90
8.0.210.0030.00316.96
8.0.200.0030.00316.84
8.0.190.0040.00416.83
8.0.180.0040.00316.80
8.0.170.0000.00916.81
8.0.160.0000.00716.86
8.0.150.0040.00416.94
8.0.140.0000.00816.84
8.0.130.0030.00313.32
8.0.120.0000.00816.86
8.0.110.0040.00416.81
8.0.100.0080.00016.94
8.0.90.0000.00716.79
8.0.80.0070.01416.88
8.0.70.0050.00316.86
8.0.60.0040.00416.85
8.0.50.0030.00516.95
8.0.30.0100.00817.02
8.0.20.0100.00817.40
8.0.10.0050.00217.02
8.0.00.0090.00916.77
7.4.330.0050.00015.00
7.4.320.0030.00316.43
7.4.300.0060.00016.52
7.4.290.0030.00316.55
7.4.280.0030.00316.50
7.4.270.0030.00316.50
7.4.260.0030.00316.48
7.4.250.0080.00016.47
7.4.240.0020.00516.50
7.4.230.0000.00716.51
7.4.220.0110.00616.63
7.4.210.0090.00916.53
7.4.200.0030.00316.64
7.4.190.0000.00716.68
7.4.160.0080.00816.23
7.4.150.0120.00617.40
7.4.140.0050.01117.86
7.4.130.0070.01116.54
7.4.120.0090.00716.51
7.4.110.0160.00316.60
7.4.100.0120.00916.43
7.4.90.0140.00816.34
7.4.80.0100.01016.39
7.4.70.0110.00616.36
7.4.60.0070.01016.40
7.4.50.0030.00516.39
7.4.40.0030.01222.77
7.4.30.0000.01616.60
7.4.00.0030.01015.03
7.3.330.0050.00013.12
7.3.320.0030.00313.11
7.3.310.0030.00316.09
7.3.300.0020.00516.13
7.3.290.0060.01216.33
7.3.280.0140.00716.34
7.3.270.0140.00417.40
7.3.260.0090.00916.60
7.3.250.0120.00516.41
7.3.240.0030.01316.35
7.3.230.0130.00316.39
7.3.210.0110.00616.37
7.3.200.0120.01119.39
7.3.190.0130.01016.50
7.3.180.0060.00916.46
7.3.170.0080.00816.27
7.3.160.0120.00316.26
7.3.120.0060.01014.68
7.3.110.0070.01114.95
7.3.100.0000.01714.48
7.3.90.0060.00914.70
7.3.80.0080.00414.68
7.3.70.0120.00314.73
7.3.60.0100.00014.81
7.3.50.0070.00414.68
7.3.40.0030.01014.77
7.3.30.0060.01014.81
7.3.20.0040.01116.31
7.3.10.0080.00616.38
7.3.00.0020.01116.51
7.2.330.0080.01116.37
7.2.320.0070.01016.63
7.2.310.0170.00316.53
7.2.300.0110.00616.29
7.2.290.0100.00616.39
7.2.240.0030.01314.91
7.2.230.0030.01414.78
7.2.220.0070.00714.66
7.2.210.0080.00815.05
7.2.200.0100.00714.96
7.2.190.0060.00914.81
7.2.180.0090.00614.72
7.2.170.0100.00714.86
7.2.160.0040.00814.84
7.2.150.0030.01016.75
7.2.140.0060.00616.80
7.2.130.0030.01016.41
7.2.120.0110.00316.52
7.2.110.0070.00516.73
7.2.100.0030.01216.64
7.2.90.0070.00716.71
7.2.80.0060.00316.75
7.2.70.0080.00516.49
7.2.60.0060.00816.78
7.2.50.0080.00816.72
7.2.40.0060.00816.56
7.2.30.0100.00516.58
7.2.20.0050.00916.70
7.2.10.0050.00516.85
7.2.00.0070.00717.42
7.1.330.0070.01015.45
7.1.320.0000.01115.48
7.1.310.0030.01015.38
7.1.300.0030.01015.65
7.1.290.0030.01315.63
7.1.280.0060.00915.44
7.1.270.0030.01015.69
7.1.260.0050.00815.54
7.1.250.0020.01115.53
7.1.200.0040.01115.40
7.1.100.0040.00417.69
7.1.70.0060.00316.97
7.1.60.0120.01219.27
7.1.50.0100.01016.82
7.1.00.0100.08322.32
7.0.200.0030.01016.53
7.0.140.0170.06021.93
7.0.60.0030.05320.02
7.0.50.0030.08317.89
7.0.40.0130.07719.98
7.0.30.0270.07020.18
7.0.20.0270.08320.09
7.0.10.0100.06320.33
7.0.00.0030.06020.09
5.6.280.0030.09021.10
5.6.210.0100.06020.50
5.6.200.0070.03718.08
5.6.190.0070.05320.67
5.6.180.0200.04020.78
5.6.170.0300.07720.50
5.6.160.0070.08720.50
5.6.150.0070.07318.11
5.6.140.0230.06718.11
5.6.130.0030.08018.09
5.6.120.0030.04320.98
5.6.110.0130.05320.98
5.6.100.0130.08021.08
5.6.90.0030.05321.09
5.6.80.0070.04720.54
5.5.350.3170.03020.40
5.5.340.0130.07317.91
5.5.330.0070.05020.41
5.5.320.0300.07720.18
5.5.310.0200.05020.36
5.5.300.0000.04017.98
5.5.290.0130.08317.96
5.5.280.0030.08020.67
5.5.270.0070.05020.84
5.5.260.0070.08320.64
5.5.250.0130.08320.78
5.5.240.0030.07720.35
5.4.450.3230.03719.58
5.4.440.3500.04019.57
5.4.430.3500.04019.40
5.4.420.3170.04319.54
5.4.410.3470.03718.98
5.4.400.3670.04018.93
5.4.390.3430.03719.16
5.4.380.3470.03318.88
5.4.370.3430.04019.24
5.4.360.3400.03719.09
5.4.350.3300.03718.92
5.4.340.3230.03719.16
5.4.320.3200.04019.13
5.4.310.3000.04019.09
5.4.300.3030.03719.26
5.4.290.3170.03718.91
5.4.280.3230.03018.88
5.4.270.0130.07019.08
5.4.260.0870.04318.80
5.4.250.3470.03719.07
5.4.240.4870.04719.25
5.4.230.4170.03719.08
5.4.220.3900.03719.08
5.4.210.3870.02719.14
5.4.200.3900.04319.12
5.4.190.3330.03318.78
5.4.180.3400.03718.92
5.4.170.0770.05319.21
5.4.160.0030.05018.91
5.4.150.4100.03719.13
5.4.140.3630.03316.26
5.4.130.4000.04016.35
5.4.120.4000.04016.29
5.4.110.3470.03316.20
5.4.100.3500.03716.39
5.4.90.3430.03716.34
5.4.80.3430.03716.37
5.4.70.3430.03716.33
5.4.60.3230.03316.23
5.4.50.3500.03316.46
5.4.40.3170.03716.03
5.4.30.3470.04016.17
5.4.20.3500.03716.35
5.4.10.3230.04316.36
5.4.00.3570.03715.99
5.3.290.3300.04014.52
5.3.280.4170.04014.43
5.3.270.3130.04014.46
5.3.260.1530.07014.70
5.3.250.3700.04014.69
5.3.240.4000.03714.45
5.3.230.4100.03314.54
5.3.220.3200.04014.63
5.3.210.3570.05014.43
5.3.200.3130.04014.42
5.3.190.3400.03714.55
5.3.180.3400.04314.65
5.3.170.3600.04714.47
5.3.160.3470.04314.51
5.3.150.3470.03714.39
5.3.140.3330.04014.41
5.3.130.3500.03314.48
5.3.120.4270.03014.38
5.3.110.3500.03714.38
5.3.100.3400.03314.14
5.3.90.3300.03313.95
5.3.80.3530.03714.11
5.3.70.3330.03313.92
5.3.60.3230.03714.09
5.3.50.3170.03313.93
5.3.40.4000.03713.77
5.3.30.3430.03313.79
5.3.20.3330.04013.52
5.3.10.3330.03013.59
5.3.00.3830.03313.59
5.2.170.2600.03311.15
5.2.160.3130.02710.98
5.2.150.2870.03011.16
5.2.140.2970.02711.03
5.2.130.2900.02710.96
5.2.120.2530.02710.99
5.2.110.2930.03011.15
5.2.100.2500.02311.20
5.2.90.2800.02311.19
5.2.80.3100.03710.98
5.2.70.2870.02711.20
5.2.60.2830.02011.20
5.2.50.3130.03710.95
5.2.40.2370.03011.16
5.2.30.2430.03310.98
5.2.20.2330.03310.82
5.2.10.2430.02710.82
5.2.00.2330.03010.79
5.1.60.2200.02310.11
5.1.50.2130.0209.96
5.1.40.2470.0209.95
5.1.30.2630.02310.20
5.1.20.2100.02710.32
5.1.10.2830.03010.18
5.1.00.2700.0279.95
5.0.50.1300.0238.58
5.0.40.1030.0278.58
5.0.30.1230.0338.58
5.0.20.1130.0208.58
5.0.10.1000.0438.58
5.0.00.1100.0278.58
4.4.90.1430.0178.55
4.4.80.1070.0178.55
4.4.70.1070.0138.58
4.4.60.1400.0178.58
4.4.50.1370.0178.58
4.4.40.1330.0278.58
4.4.30.1330.0208.58
4.4.20.1500.0178.58
4.4.10.1170.0208.58
4.4.00.1270.0278.58
4.3.110.1270.0208.58
4.3.100.1270.0208.58
4.3.90.1030.0178.58
4.3.80.1300.0208.58
4.3.70.1600.0108.58
4.3.60.1430.0208.58
4.3.50.1370.0178.58
4.3.40.1330.0278.58
4.3.30.0570.0138.58
4.3.20.0630.0238.58
4.3.10.0600.0138.58
4.3.00.0670.0238.58

preferences:
45.93 ms | 401 KiB | 5 Q