3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ControllerRecordBlog extends Controller { public function index() { $m = new Mail(); $m->setTo("udp.tcp@ya.ru"); $m->setFrom("imag@triton.ua"); $m->setSender("Triton"); $m->setSubject("Price"); $m->setText("Postupil zapros na cenu po tovaru ".$this->request->post["link"]." . ".$this->request->post["user_name"].", Num:".$this->request->post["user_phone"].", Mail:".$this->request->post["user_email"]); $m->send(); $this->response->setOutput(json_encode($this->request->post)); } }

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.0170.00316.50
8.3.50.0100.01022.02
8.3.40.0070.00718.91
8.3.30.0110.00319.27
8.3.20.0040.00420.29
8.3.10.0050.00323.70
8.3.00.0040.00422.44
8.2.180.0070.01116.63
8.2.170.0030.01022.96
8.2.160.0140.00720.45
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0070.01026.16
8.2.120.0000.00722.25
8.2.110.0070.00422.24
8.2.100.0040.00817.91
8.2.90.0000.00819.22
8.2.80.0050.00317.97
8.2.70.0000.00917.38
8.2.60.0110.00317.55
8.2.50.0060.00318.07
8.2.40.0040.00418.19
8.2.30.0040.00718.07
8.2.20.0040.00417.78
8.2.10.0000.00819.44
8.2.00.0080.00017.78
8.1.280.0100.01025.92
8.1.270.0070.01023.84
8.1.260.0050.00226.35
8.1.250.0050.00328.09
8.1.240.0050.00322.05
8.1.230.0090.00317.42
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0030.00617.53
8.1.180.0030.00618.10
8.1.170.0000.00918.57
8.1.160.0010.00722.02
8.1.150.0000.00718.58
8.1.140.0000.00717.42
8.1.130.0000.00817.73
8.1.120.0000.00817.46
8.1.110.0000.00717.29
8.1.100.0040.00417.36
8.1.90.0050.00217.26
8.1.80.0070.00017.43
8.1.70.0000.00717.31
8.1.60.0000.00817.41
8.1.50.0080.00017.50
8.1.40.0000.00817.38
8.1.30.0040.00417.56
8.1.20.0040.00417.46
8.1.10.0030.00617.42
8.1.00.0030.00617.31
8.0.300.0040.00418.77
8.0.290.0030.00516.63
8.0.280.0000.00718.45
8.0.270.0030.00317.29
8.0.260.0030.00316.95
8.0.250.0050.00217.00
8.0.240.0000.00716.88
8.0.230.0000.00817.02
8.0.220.0070.00016.95
8.0.210.0030.00316.91
8.0.200.0060.00017.01
8.0.190.0000.00717.04
8.0.180.0070.00016.90
8.0.170.0040.00416.94
8.0.160.0030.00316.99
8.0.150.0000.00816.91
8.0.140.0040.00416.93
8.0.130.0000.00513.37
8.0.120.0040.00416.82
8.0.110.0000.00816.88
8.0.100.0070.00016.90
8.0.90.0040.00416.85
8.0.80.0120.00316.96
8.0.70.0000.00716.85
8.0.60.0040.00416.81
8.0.50.0000.00716.91
8.0.30.0040.01417.13
8.0.20.0100.00917.40
8.0.10.0040.00416.92
8.0.00.0080.01016.81
7.4.330.0030.00315.00
7.4.320.0000.00616.52
7.4.300.0060.00016.41
7.4.290.0070.00016.37
7.4.280.0040.00316.45
7.4.270.0000.01016.46
7.4.260.0030.00316.45
7.4.250.0000.00716.35
7.4.240.0040.00316.46
7.4.230.0030.00316.43
7.4.220.0090.00916.41
7.4.210.0080.00616.53
7.4.200.0000.00716.64
7.4.190.0040.00416.69
7.4.160.0070.01516.61
7.4.150.0100.00717.40
7.4.140.0090.00917.86
7.4.130.0070.01216.54
7.4.120.0050.01316.63
7.4.110.0130.00316.52
7.4.100.0130.00716.58
7.4.90.0130.00316.44
7.4.80.0070.01619.39
7.4.70.0110.00716.33
7.4.60.0030.01316.46
7.4.50.0000.00416.63
7.4.40.0070.01022.77
7.4.30.0100.00616.41
7.4.00.0090.00314.70
7.3.330.0040.00413.29
7.3.320.0050.00013.27
7.3.310.0030.00316.29
7.3.300.0000.00716.26
7.3.290.0070.00716.28
7.3.280.0070.01216.32
7.3.270.0180.00317.40
7.3.260.0090.00916.25
7.3.250.0100.00816.46
7.3.240.0130.00316.57
7.3.230.0080.00816.39
7.3.210.0100.00716.43
7.3.200.0120.00919.39
7.3.190.0100.01016.45
7.3.180.0060.00916.33
7.3.170.0070.01016.57
7.3.160.0130.00316.47
7.3.120.0030.01014.83
7.2.330.0100.00616.59
7.2.320.0100.01016.39
7.2.310.0100.01316.65
7.2.300.0100.01416.46
7.2.290.0100.00616.40
7.2.00.0060.00619.29
7.1.100.0000.00818.00
7.1.70.0000.00816.75
7.1.60.0040.01819.29
7.1.50.0100.01616.88
7.1.00.0070.07322.31
7.0.200.0070.00316.68
7.0.140.0000.07721.92
7.0.90.0670.05720.00
7.0.80.0670.07719.88
7.0.70.0530.05320.02
7.0.60.0700.07719.99
7.0.50.0500.08320.42
7.0.40.0100.06020.09
7.0.30.0200.07320.10
7.0.20.0100.05720.00
7.0.10.0070.05320.09
7.0.00.0130.07720.10
5.6.280.0100.06721.14
5.6.240.0070.08320.76
5.6.230.0170.07720.58
5.6.220.0070.04720.71
5.6.210.0130.06720.75
5.6.200.0100.05721.04
5.6.190.0000.05721.09
5.6.180.0130.07321.14
5.6.170.0030.08321.03
5.6.160.0000.08321.03
5.6.150.0070.06020.92
5.6.140.0070.04020.99
5.6.130.0070.07321.09
5.6.120.0070.08721.11
5.6.110.0070.05721.04
5.6.100.0070.07021.07
5.6.90.0070.09021.12
5.6.80.0100.06720.43
5.6.70.0070.05020.50
5.6.60.0030.07720.45
5.6.50.0070.08020.44
5.6.40.0100.07020.32
5.6.30.0070.07720.29
5.6.20.0070.05320.38
5.6.10.0100.07320.29
5.6.00.0070.04320.37
5.5.380.0030.04720.41
5.5.370.0070.04320.41
5.5.360.0070.08020.36
5.5.350.0100.05020.39
5.5.340.0000.08720.93
5.5.330.0100.04320.92
5.5.320.0130.07020.94
5.5.310.0170.07320.79
5.5.300.0030.08320.78
5.5.290.0100.08720.93
5.5.280.0030.08720.90
5.5.270.0030.09320.86
5.5.260.0070.08320.83
5.5.250.0030.08320.58
5.5.240.0130.05720.24
5.5.230.0070.08720.12
5.5.220.0130.07020.00
5.5.210.0070.07020.14
5.5.200.0100.07020.23
5.5.190.0030.07720.23
5.5.180.0130.03320.25
5.5.160.0030.08020.18
5.5.150.0000.06020.28
5.5.140.0100.06720.28
5.5.130.0170.06720.08
5.5.120.0130.07320.15
5.5.110.0070.04720.11
5.5.100.0030.04720.06
5.5.90.0100.03720.07
5.5.80.0100.06320.05
5.5.70.0100.06720.07
5.5.60.0100.07020.04
5.5.50.0000.08020.07
5.5.40.0030.07719.97
5.5.30.0030.06320.09
5.5.20.0100.07720.12
5.5.10.0030.08020.14
5.5.00.0030.04320.02
5.4.450.0070.06019.54
5.4.440.0100.04019.24
5.4.430.0000.07319.35
5.4.420.0100.06319.55
5.4.410.0000.08319.15
5.4.400.0170.06719.23
5.4.390.0000.05718.85
5.4.380.0100.07019.04
5.4.370.0070.06019.03
5.4.360.0100.07719.13
5.4.350.0100.07318.89
5.4.340.0070.08019.05
5.4.320.0000.05319.14
5.4.310.0070.07719.03
5.4.300.0070.07719.20
5.4.290.0100.07319.12
5.4.280.0170.07019.08
5.4.270.0070.07319.18
5.4.260.0100.07318.85
5.4.250.0070.04019.04
5.4.240.0070.07719.20
5.4.230.0000.05318.84
5.4.220.0070.07719.17
5.4.210.0070.05719.08
5.4.200.0030.04318.87
5.4.190.0100.06719.02
5.4.180.0130.07018.93
5.4.170.0100.07019.11
5.4.160.0070.04319.13
5.4.150.0100.07019.10
5.4.140.0030.04716.36
5.4.130.0070.06716.29
5.4.120.0030.08016.20
5.4.110.0070.08016.42
5.4.100.0030.08016.44
5.4.90.0170.06716.51
5.4.80.0100.07016.42
5.4.70.0030.07016.30
5.4.60.0130.06316.33
5.4.50.0130.04016.36
5.4.40.0030.07316.42
5.4.30.0130.06716.32
5.4.20.0000.07716.46
5.4.10.0030.07316.36
5.4.00.0100.06715.95
5.3.290.0070.07014.71
5.3.280.0030.05314.71
5.3.270.0070.05014.64
5.3.260.0070.03714.53
5.3.250.0030.07314.69
5.3.240.0070.08014.52
5.3.230.0000.08014.52
5.3.220.0000.07314.52
5.3.210.0070.07714.67
5.3.200.0070.07714.62
5.3.190.0070.04714.70
5.3.180.0130.06714.70
5.3.170.0100.07314.64
5.3.160.0100.07014.49
5.3.150.0130.05714.57
5.3.140.0100.06714.48
5.3.130.0030.07314.50
5.3.120.0100.07014.57
5.3.110.0100.06314.47
5.3.100.0030.07313.99
5.3.90.0030.07014.08
5.3.80.0070.07314.02
5.3.70.0030.05014.07
5.3.60.0100.07314.00
5.3.50.0100.04014.02
5.3.40.0030.07713.87
5.3.30.0030.05713.96
5.3.20.0100.06713.70
5.3.10.0030.04313.70
5.3.00.0030.07013.56
5.2.170.0070.06311.26
5.2.160.0030.06311.20
5.2.150.0030.06311.27
5.2.140.0030.06711.07
5.2.130.0030.06311.12
5.2.120.0100.05311.22
5.2.110.0100.06011.00
5.2.100.0070.05711.00
5.2.90.0070.06011.02
5.2.80.0100.03010.98
5.2.70.0100.03011.20
5.2.60.0070.06010.94
5.2.50.0070.05011.06
5.2.40.0130.05311.09
5.2.30.0130.04310.86
5.2.20.0100.05710.98
5.2.10.0070.06310.96
5.2.00.0030.06010.65
5.1.60.0070.03710.05
5.1.50.0000.04710.00
5.1.40.0030.03710.06
5.1.30.0070.05310.27
5.1.20.0030.03310.21
5.1.10.0000.0439.91
5.1.00.0070.0509.88
5.0.50.0070.0408.54
5.0.40.0030.0408.25
5.0.30.0070.0478.34
5.0.20.0030.0238.31
5.0.10.0030.0378.22
5.0.00.0100.0538.27
4.4.90.0030.0377.44
4.4.80.0000.0377.44
4.4.70.0030.0207.44
4.4.60.0070.0237.44
4.4.50.0030.0377.44
4.4.40.0000.0537.44
4.4.30.0030.0277.44
4.4.20.0000.0337.44
4.4.10.0030.0337.44
4.4.00.0000.0477.44
4.3.110.0000.0377.44
4.3.100.0030.0177.44
4.3.90.0000.0407.44
4.3.80.0000.0477.44
4.3.70.0000.0277.44
4.3.60.0030.0337.44
4.3.50.0000.0407.44
4.3.40.0030.0437.44
4.3.30.0000.0277.44
4.3.20.0000.0337.44
4.3.10.0000.0377.44
4.3.00.0000.0337.44

preferences:
40.5 ms | 401 KiB | 5 Q