3v4l.org

run code in 300+ PHP versions simultaneously
<?php class CustomerController extends CoreCustomerController { public function remind() { return View::make('customers.remind'); } public function request() { $credentials = array('email' => Input::get('email')); return CustomerPassword::remind( $credentials, function($message){ $message->subject(Lang::get('customer.password_reminder_email_title')); } ); } public function reset($token) { return View::make('customers.reset')->with('token', $token); } public function update() { $credentials = array('email' => Input::get('email')); return CustomerPassword::reset($credentials, function ($user, $password) { $user->password = Hash::make($password); $user->save(); return Redirect::to('login')->with('flash', 'Your password has been reset'); }); } }

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.0110.00316.63
8.3.50.0070.01021.99
8.3.40.0000.01418.94
8.3.30.0140.00019.12
8.3.20.0080.00020.39
8.3.10.0080.00023.56
8.3.00.0080.00022.32
8.2.180.0130.00716.63
8.2.170.0090.00622.96
8.2.160.0100.00320.40
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0030.00626.16
8.2.120.0000.00822.25
8.2.110.0030.00620.38
8.2.100.0130.00017.91
8.2.90.0030.00519.21
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0030.00617.93
8.2.50.0040.00418.07
8.2.40.0080.00018.12
8.2.30.0100.00018.06
8.2.20.0000.00817.63
8.2.10.0040.00419.52
8.2.00.0050.00317.71
8.1.280.0090.00625.92
8.1.270.0050.00323.97
8.1.260.0070.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00623.97
8.1.230.0110.00017.52
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0000.00917.23
8.1.190.0090.00017.52
8.1.180.0050.00318.10
8.1.170.0040.00418.50
8.1.160.0040.00422.08
8.1.150.0040.00418.52
8.1.140.0000.00817.52
8.1.130.0030.00317.79
8.1.120.0000.00717.46
8.1.110.0050.00317.46
8.1.100.0000.00717.45
8.1.90.0040.00417.43
8.1.80.0040.00417.32
8.1.70.0070.00017.28
8.1.60.0000.00817.54
8.1.50.0080.00017.51
8.1.40.0040.00417.36
8.1.30.0000.00817.58
8.1.20.0000.00817.58
8.1.10.0080.00017.52
8.1.00.0040.00417.41
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0030.00318.46
8.0.270.0070.00017.23
8.0.260.0000.00716.90
8.0.250.0070.00016.88
8.0.240.0000.00717.03
8.0.230.0040.00416.93
8.0.220.0030.00316.93
8.0.210.0070.00017.00
8.0.200.0030.00317.05
8.0.190.0030.00516.94
8.0.180.0030.00516.93
8.0.170.0080.00017.03
8.0.160.0040.00416.91
8.0.150.0000.00716.88
8.0.140.0040.00416.85
8.0.130.0030.00313.41
8.0.120.0070.00016.96
8.0.110.0030.00316.92
8.0.100.0000.00816.79
8.0.90.0030.00516.88
8.0.80.0150.00616.98
8.0.70.0040.00416.98
8.0.60.0080.00016.96
8.0.50.0000.00717.02
8.0.30.0070.01517.14
8.0.20.0140.00817.40
8.0.10.0050.00316.98
8.0.00.0070.01316.82
7.4.330.0020.00215.00
7.4.320.0060.00016.47
7.4.300.0060.00016.59
7.4.290.0030.00516.60
7.4.280.0030.00316.47
7.4.270.0000.00716.45
7.4.260.0050.00216.45
7.4.250.0070.00016.44
7.4.240.0030.00316.59
7.4.230.0000.00716.36
7.4.220.0130.00616.40
7.4.210.0050.01216.51
7.4.200.0030.00516.50
7.4.190.0000.00716.41
7.4.160.0030.01216.55
7.4.150.0120.00617.40
7.4.140.0080.01217.86
7.4.130.0070.01016.60
7.4.120.0100.00816.36
7.4.110.0120.00616.43
7.4.100.0060.01616.61
7.4.90.0080.00916.48
7.4.80.0100.00819.39
7.4.70.0100.00616.50
7.4.60.0060.01016.71
7.4.50.0030.00316.33
7.4.40.0040.01222.77
7.4.30.0060.00916.61
7.4.00.0140.00415.07
7.3.330.0030.00313.15
7.3.320.0030.00313.35
7.3.310.0040.00416.33
7.3.300.0030.00316.29
7.3.290.0100.01016.33
7.3.280.0090.00916.31
7.3.270.0160.00617.40
7.3.260.0120.00616.48
7.3.250.0100.00716.38
7.3.240.0090.01116.36
7.3.230.0120.00616.39
7.3.210.0100.00716.45
7.3.200.0070.01119.39
7.3.190.0140.00516.44
7.3.180.0060.01116.48
7.3.170.0100.01016.33
7.3.160.0080.00816.55
7.3.120.0030.01014.81
7.2.330.0000.01716.45
7.2.320.0040.01216.33
7.2.310.0130.00916.44
7.2.300.0060.01016.66
7.2.290.0060.00916.55
7.2.60.0100.00316.45
7.1.200.0170.00915.30
7.1.70.0040.00416.67
7.1.60.0100.01419.29
7.1.50.0000.01116.75
7.1.00.0030.07722.35
7.0.200.0030.00316.70
7.0.140.0030.07722.18
7.0.60.0070.08719.95
7.0.50.0130.08017.88
7.0.40.0030.04320.40
7.0.30.0330.07320.08
7.0.20.0330.05720.20
7.0.10.0100.06320.10
7.0.00.0030.04020.11
5.6.280.0100.06321.04
5.6.210.0070.08320.69
5.6.200.0130.08018.25
5.6.190.0070.05720.57
5.6.180.0330.03720.47
5.6.170.0400.06020.58
5.6.160.0070.05020.46
5.6.150.0030.07718.29
5.6.140.0230.06718.17
5.6.130.0070.07718.25
5.6.120.0030.04321.07
5.6.110.0000.04720.95
5.6.100.0130.04721.13
5.6.90.0200.06720.92
5.6.80.0130.08020.39
5.5.350.0070.06720.42
5.5.340.0130.07317.99
5.5.330.0070.06020.41
5.5.320.0270.04720.52
5.5.310.0170.05020.19
5.5.300.0130.07317.98
5.5.290.0130.07318.08
5.5.280.0070.08320.91
5.5.270.0030.08320.66
5.5.260.0100.08320.78
5.5.250.0000.08720.63
5.5.240.4200.03720.39
5.4.450.0700.07019.48
5.4.440.0870.04719.33
5.4.430.0870.05319.63
5.4.420.0630.00019.54
5.4.410.0170.05319.01
5.4.400.1070.07018.72
5.4.390.0900.06018.71
5.4.380.0330.05318.76
5.4.370.0100.05018.44
5.4.360.0200.04018.71
5.4.350.0030.03812.04
5.4.340.0060.03312.04
5.4.320.0040.04412.52
5.4.310.0060.04912.51
5.4.300.0110.04212.52
5.4.290.0080.04312.52
5.4.280.0110.04112.41
5.4.270.0030.03812.42
5.4.260.0070.05012.41
5.4.250.0070.05212.42
5.4.240.0200.04512.39
5.4.230.0160.05012.38
5.4.220.0190.04912.38
5.4.210.0140.05312.38
5.4.200.0150.05112.38
5.4.190.0230.04012.38
5.4.180.0140.05012.38
5.4.170.0160.04812.39
5.4.160.0170.04512.39
5.4.150.0160.04612.38
5.4.140.0130.05012.07
5.4.130.0180.04812.06
5.4.120.0200.04712.01
5.4.110.0180.05012.01
5.4.100.0170.05112.01
5.4.90.0190.04412.01
5.4.80.0170.04512.01
5.4.70.0150.04612.00
5.4.60.0250.04112.00
5.4.50.0220.05012.00
5.4.40.0230.04511.99
5.4.30.0210.05011.98
5.4.20.0180.04211.98
5.4.10.0200.04511.99
5.4.00.0180.03911.48
5.3.290.0070.04512.80
5.3.280.0190.04712.71
5.3.270.0180.04712.73
5.3.260.0170.04812.72
5.3.250.0200.04312.71
5.3.240.0260.04712.71
5.3.230.0240.05012.70
5.3.220.0210.04512.68
5.3.210.0200.04912.68
5.3.200.0170.05312.68
5.3.190.0180.04712.67
5.3.180.0180.04812.67
5.3.170.0180.05212.67
5.3.160.0250.05312.68
5.3.150.0220.05912.68
5.3.140.0200.04812.66
5.3.130.0220.04412.65
5.3.120.0220.04512.65
5.3.110.0240.05212.66
5.3.100.0150.05212.12
5.3.90.0220.04712.10
5.3.80.0230.05112.08
5.3.70.0250.05012.08
5.3.60.0210.04512.07
5.3.50.0200.05012.01
5.3.40.0210.04612.00
5.3.30.0260.05111.97
5.3.20.0200.05411.75
5.3.10.0160.05511.72
5.3.00.0220.04811.70
5.2.170.0200.0389.19
5.2.160.0170.0439.19
5.2.150.0170.0389.19
5.2.140.0140.0439.19
5.2.130.0190.0389.14
5.2.120.0170.0429.14
5.2.110.0140.0429.15
5.2.100.0180.0349.16
5.2.90.0160.0359.14
5.2.80.0150.0419.15
5.2.70.0190.0359.14
5.2.60.0200.0319.10
5.2.50.0150.0429.07
5.2.40.0110.0439.05
5.2.30.0180.0369.01
5.2.20.0180.0339.02
5.2.10.0150.0358.92
5.2.00.0230.0318.76
5.1.60.0140.0348.05
5.1.50.0190.0308.05
5.1.40.0170.0298.04
5.1.30.0140.0378.39
5.1.20.0170.0408.41
5.1.10.0120.0398.14
5.1.00.0110.0378.13
5.0.50.0120.0256.61
5.0.40.0120.0246.46
5.0.30.0140.0356.29
5.0.20.0070.0306.25
5.0.10.0090.0236.23
5.0.00.0100.0436.22
4.4.90.0120.0194.78
4.4.80.0160.0154.75
4.4.70.0100.0204.75
4.4.60.0110.0184.76
4.4.50.0060.0244.77
4.4.40.0090.0394.71
4.4.30.0100.0214.76
4.4.20.0100.0234.84
4.4.10.0040.0234.85
4.4.00.0090.0324.76
4.3.110.0090.0204.67
4.3.100.0100.0214.66
4.3.90.0080.0264.64
4.3.80.0060.0374.58
4.3.70.0090.0194.63
4.3.60.0140.0174.63
4.3.50.0100.0214.63
4.3.40.0090.0314.54
4.3.30.0240.0653.29
4.3.20.0100.0163.27
4.3.10.0050.0203.23
4.3.00.0100.0176.58

preferences:
43.67 ms | 401 KiB | 5 Q