Re: [VOTE] Void Return Type RFC

From: Date: Thu, 29 Oct 2015 12:47:20 +0000
Subject: Re: [VOTE] Void Return Type RFC
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-88991@lists.php.net to get a copy of this message
On 29 October 2015 at 06:24, Marcio Almada <marcio.web2@gmail.com> wrote: > Welcome back, Andrea! It's great to see you contributing here again :) +1. :) > 1) functions declared with "void" return type will still return > "null", so "void" is a big fat lie for PHP while "null" is > currently > accurate. I voted -1 for the same reason. I'd be +1 on "null" as a return type, but I'm just not comfortable implying that the function doesn't return a value when it always will in practice. Adam

« previous php.internals (#88991) next »