2014-11-28 2:13 GMT+01:00 Bostjan Skufca bost...@a2o.si:
Hello everyone,
this is a proposal to add new function to PHP core: spl_object_id()
The story:
Recently I was debugging some larger libraries and sorely missed a function
that would return an object ID. A function called
Hi,
2014-11-27 4:47 GMT+01:00 guilhermebla...@gmail.com
guilhermebla...@gmail.com:
Hi,
I worked on an implementation of a somehow controversial concept that
exists in hack and C#: abstract final classes.
https://wiki.php.net/rfc/abstract_final_class
The example is a little bit
2013/9/30 Yasuo Ohgaki yohg...@ohgaki.net
Hi all,
I would like to get _exactly_ the same sources that has been released.
I though all archives are stored in museum.php.net, but apparently not.
http://museum.php.net/php5/
Is there any place that archives old release tar ball?
Or anyone
2013/9/27 Michael Wallner m...@php.net
On 27 September 2013 09:55, Nicolas Grekas nicolas.grekas+...@gmail.com
wrote:
If you need access to the methods in AProxifier then why does the
anonymous
class extend A, you should extend AProxifier as you would with any other
class.
Because
2013/9/27 Gordon Oheim g...@php.net
Independent but related to
-
https://wiki.php.net/rfc/**constructor-promotionhttps://wiki.php.net/rfc/constructor-promotion
I wrote an RFC about porting Dart-like Automatic Property Initialization
to PHP. Nikic was so generous to provide an initial PoC
2013/9/27 Matthieu Napoli matth...@mnapoli.fr
Le 27/09/2013 09:17, Gordon Oheim a écrit :
Independent but related to
-
https://wiki.php.net/rfc/**constructor-promotionhttps://wiki.php.net/rfc/constructor-promotion
I wrote an RFC about porting Dart-like Automatic Property Initialization
2013/9/23 Rasmus Lerdorf ras...@lerdorf.com
On 09/22/2013 11:39 PM, Joe Watkins wrote:
https://wiki.php.net/rfc/anonymous_classes
I'd like to hear thoughts regarding the addition of anonymous
classes, patch included.
I am having a hard time picturing a real-world use-case for
2013/9/23 Joe Watkins krak...@php.net
On 09/23/2013 02:43 PM, Lars Strojny wrote:
Hi Joe,
what about serialization for those classes?
cu,
Lars
Am 23.09.2013 um 08:39 schrieb Joe Watkins krak...@php.net:
Morning All,
2013/9/23 Kingsquare.nl - Robin Speekenbrink ro...@kingsquare.nl
Everyone,
As a lurker i rarely have anthing to say, but this time i'd like to make an
exception: I see some usability for this type of usage, but would like to
disagree on the extra class...
My usage would be more in line with
2013/9/23 Joe Watkins krak...@php.net
On 09/23/2013 07:39 AM, Joe Watkins wrote:
Morning All,
https://wiki.php.net/rfc/**anonymous_classeshttps://wiki.php.net/rfc/anonymous_classes
I'd like to hear thoughts regarding the addition of anonymous
classes, patch included.
Cheers
2013/9/18 Igor Wiedler i...@wiedler.ch
On Sep 18, 2013, at 11:53 AM, Leigh lei...@gmail.com wrote:
Hi Internals.
How do you feel about expanding the is_* functions to accept multiple
parameters similar to the way isset() already does?
...
Thoughts?
For isset() there is a good
2013/9/3 Levi Morrison morrison.l...@gmail.com
On Tue, Sep 3, 2013 at 10:54 AM, Pierre Joye pierre@gmail.com wrote:
On Tue, Sep 3, 2013 at 6:04 PM, Levi Morrison morrison.l...@gmail.com
wrote:
In which case we have very different ideas about what good design
is and would never
2013/9/2 Lester Caine les...@lsces.co.uk
Ferenc Kovacs wrote:
you write your code where you copypaste the default value
some time passes
somebody changes the default value in the called function definition
your code now calls the function with a non-default value.
Actually THAT is a
2013/9/2 Pierre Joye pierre@gmail.com
hi Stas,
On Mon, Sep 2, 2013 at 9:17 AM, Stas Malyshev smalys...@sugarcrm.com
wrote:
Hi!
I've finally took some time to revive the skipping parameter RFC and
patch. For those who doesn't remember what it is please see:
2013/9/2 Stas Malyshev smalys...@sugarcrm.com
Hi!
I would not agree with your argument that it should be introduced
because it
is requested by real people for years and it is simple to add. Isn't that
pretty much the same as because we can?
No, it is pretty much the opposite. It is
2013/8/31 Vartolomei Nicolae nvartolo...@gmail.com
So you say you will create a file for every function you want to support
autoloading?
I already _have_ create files for functions of a namespace... Closed
source.
As I already asked, tell us about realworld use case, for example where
2013/8/30 Stas Malyshev smalys...@sugarcrm.com
Hi!
I disagree on the basis that namespaced functions/constants *do* fit the
same autoloading paradigm.
If they're already namespaced, what prevents one to put it in a class
and use good old PSR-compatible loading?
Well, static methods
2013/8/30 Stas Malyshev smalys...@sugarcrm.com
Hi!
I have created a new draft RFC implementing function and constant
autoloading in master:
https://wiki.php.net/rfc/function_autoloading
All feedback is welcome.
I think it is an unnecessary complication. Classes fit autoloader
2013/8/30 Stas Malyshev smalys...@sugarcrm.com
Hi!
Well, static methods aren't the same as functions.
The big difference being?
A function is stateless [1], a method isn't. A function operates only on
the passed parameters [1], the method operates on the parameters and the
context it
2013/8/30 jbo...@openmv.com jbo...@openmv.com
On Wed Aug 28 11:47 AM, Nikita Popov wrote:
https://wiki.php.net/rfc/variadics
Interesting idea, expanding on:
function log($message, ...$options) {}
It would seem convenient to allow ...$options to be passed as a key-value
array of
2013/8/31 Stas Malyshev smalys...@sugarcrm.com
Hi!
We got a performance win from exactly this at Facebook. We have some
extensions in HHVM to autoload that allowed us to remove almost all
our *_once calls.
But autoloading does not remove require - you still have to load the
files.
2013/8/22 Yasuo Ohgaki yohg...@ohgaki.net
Hi all,
I realized that not many users are using more entropy parameter
Therefore, I made
Request #65501 uniqid(): More entropy parameter should be true by default
https://bugs.php.net/bug.php?id=65501
The comment title explains what this FR is.
2013/8/22 Leigh lei...@gmail.com
On 22 August 2013 13:39, Sebastian Krebs krebs@gmail.com wrote:
Tbh I don't get the real problem with the _current_ behaviour. Who need
the
entropy, can set it as second parameter and I am not sure, if it is wise
to
use uniqid() for _security purposes_
Am 14.08.2013 08:17 schrieb Christian Stoller stol...@leonex.de:
Hello all,
I'd like to propose a new RFC for 5.NEXT:
https://wiki.php.net/rfc/const_scalar_expressions
This allows for defining constant expressions which are resolved at
compile
time.
What should that be for?
Hi,
Just asking: Does this cover only declarations, or every constant
expression, for example
$weeks = $secs / (60 * 60 * 24 * 7);
becomes to the opcode-equivalent of
$weeks = $secs / (604800);
?
2013/8/14 Anthony Ferrara ircmax...@gmail.com
Stas,
On Wed, Aug 14, 2013 at 5:01 AM, Stas
Hi,
Whats about constants?
Regards,
Sebastian
Am 19.07.2013 19:30 schrieb Igor Wiedler i...@wiedler.ch:
Hello internals,
I posted the initial idea for a use_function RFC a few months back. I
would like to make the proposal official now, and open it for discussion.
I also did some work on
Hi,
Thanks for that.
But actually I don't see: Why is use not enough? As far as I can see your
example, why it would introduce a BC, doesn't really match to original
question, why use function is used. Especially I don't see any ambiguity:
foo(); // Always a function. You cannot call classes
2013/7/23 Stas Malyshev smalys...@sugarcrm.com
Hi!
But actually I don't see: Why is use not enough? As far as I can see
your
example, why it would introduce a BC, doesn't really match to original
Consider this:
use a\b\c as foo;
foo();
Now it would resolve to global function foo().
2013/7/23 Igor Wiedler i...@wiedler.ch
Hi Sebastian,
The reason is precisely to avoid BC breaks, such as the one that you
quoted from the FAQ.
Are you suggesting that such a BC break is acceptable for 5.6?
I don't fear BCs and actually I prefer BCs against weak compromises. This
depends
2013/7/16 Giuseppe Ronca giuseppe.ron...@gmail.com
I've studied Composer and as i thought ..it's a component installer
(implementing an autoload system) .. nothing else ( i can have similar
result using git submodules )
anyway , *you can have a class collision using or not using composer (
2013/7/16 Giuseppe Ronca giuseppe.ron...@gmail.com
You can have multiple objects from the same type in different
implemenations in the same process?
No i'm not saying it.
OK, what then? You have A and B, that both rely on X, but in version 1 and
2. Both A and B are used at the same time.
2013/7/15 Lester Caine les...@lsces.co.uk
Marco Pivetta wrote:
PS i'm not so practice with composer ( used few times ) but when modular
systems , such as CMS , give the possibility to extends them with
external
components...i don't think that composer could solve this problem.
It is
2013/7/14 Giuseppe Ronca giuseppe.ron...@gmail.com
Php is now used by many CMS, many of which use a modular system with a wide
range of add-ons developed by third parties. This can cause various
conflicts, such as when two or more external components using the same
library (i.g. with a
2013/6/27 Tjerk Anne Meesters datib...@php.net
On Thu, Jun 27, 2013 at 4:27 PM, Florin Patan florinpa...@gmail.com
wrote:
On Thu, Jun 27, 2013 at 10:17 AM, Tjerk Anne Meesters datib...@php.net
wrote:
On Wed, Jun 26, 2013 at 11:20 PM, Jeremy Curcio j.cur...@icloud.com
wrote:
2013/6/27 Kingsquare.nl - Robin Speekenbrink ro...@kingsquare.nl
I'd thought this would have been `solved` by allowing the list statement in
foreach (
http://nl3.php.net/manual/en/control-structures.foreach.php#control-structures.foreach.list
)
Doesnt that solve your problem already?
2013/6/27 Florin Patan florinpa...@gmail.com
On Thu, Jun 27, 2013 at 4:10 PM, Christian Stoller stol...@leonex.de
wrote:
Hi internals,
during my current work I had an idea for shorter array iteration with
foreach. I haven’t seen such a syntax until now, but I think it is easy to
2013/6/27 Anthony Ferrara ircmax...@gmail.com
Stas et al,
So, the question of what is the difference between the two errors
remains unanswered. If the whole diff is that one of the errors has word
recoverable in the message, it's not substantial difference at all and
one that does not
2013/5/28 Amaury Bouchard ama...@amaury.net
2013/5/28 Maciek Sokolewicz maciek.sokolew...@gmail.com
It’s a good idea in general but what about having it for variables as
well? Could open interesting possibilities for an optimizer.
final $foo = str;
$foo = bar; // bails out
Don't
2013/5/28 Amaury Bouchard ama...@amaury.net
2013/5/28 Sebastian Krebs krebs@gmail.com
print($$b);
print(constant($b));
It's definitely different. In your example you have to know that you are
manipulating constants only.
And in your example you have to know, that you
2013/5/7 Thomas Anderson zeln...@gmail.com
If you do user_error('whatever') it'll show, as the line number for that
error, the line number on which that user_error() call is made. It'd be
nice if you could control the line number and file name that was displayed.
eg.
?php
function test()
2013/5/7 Bob Weinand bobw...@hotmail.com
Am 7.5.2013 um 18:25 schrieb Ferenc Kovacs tyr...@gmail.com:
On Tue, May 7, 2013 at 6:09 PM, Thomas Anderson zeln...@gmail.com
wrote:
If you do user_error('whatever') it'll show, as the line number for that
error, the line number on which that
2013/5/7 Thomas Anderson zeln...@gmail.com
On Tue, May 7, 2013 at 2:04 PM, Sebastian Krebs krebs@gmail.comwrote:
2013/5/7 Thomas Anderson zeln...@gmail.com
If you do user_error('whatever') it'll show, as the line number for that
error, the line number on which that user_error
2013/5/7 Bob Weinand bobw...@hotmail.com
Am 7.5.2013 um 21:07 schrieb Sebastian Krebs krebs@gmail.com:
2013/5/7 Bob Weinand bobw...@hotmail.com
Am 7.5.2013 um 18:25 schrieb Ferenc Kovacs tyr...@gmail.com:
On Tue, May 7, 2013 at 6:09 PM, Thomas Anderson zeln...@gmail.com
wrote
2013/5/7 Bob Weinand bobw...@hotmail.com
Am 7.5.2013 um 22:11 schrieb Stas Malyshev smalys...@sugarcrm.com:
Hi!
And today we have the problem that we cannot use in any useful manner
trigger_error in libraries, when we don't know where the error
originates from. You debug today
Hi,
Are you going to cover autoloading of functions too?
Regards,
Sebastian
2013/5/2 Igor Wiedler i...@wiedler.ch
Hi internals,
Since there's been no major objection to this proposed RFC, I will go
ahead and create it on the wiki. I will amend it to address some of the
points that were
to simply use the prefixed one,
so the benefit seems quite small to me :X
use MyFoo\Bar\MathFunctions as math;
$x = math\sin($y);
Just saying :)
Regards,
Sebastian
On May 2, 2013, at 11:40 PM, Sebastian Krebs krebs@gmail.com wrote:
Hi,
Are you going to cover autoloading
2013/5/1 Rasmus Schultz ras...@mindplay.dk
Any PHP dev who works with a mainstream framework does this daily, but the
frameworks rely on strings for property-names.
Take this example from the Symfony manual, for example:
class Task
{
protected $task;
2013/3/15 Steve Clay st...@mrclay.org
I'm sure this question has been discussed before, so if anyone can point
to me to links or briefly recap I'd appreciate it.
Why can't we make $someCallable() always work? E.g. http://3v4l.org/FLpAq
I understand the problem of $obj-foo() where -foo is a
2013/3/15 Steve Clay st...@mrclay.org
My subject was misleading. I didn't mean to suggest call_user_func() be
removed, just be made unnecessary by direct call syntax.
This should make the inconsistency clearer: http://3v4l.org/L8Yvq
On 3/15/13 10:21 AM, Sebastian Krebs wrote:
You don't
2013/3/15 Stas Malyshev smalys...@sugarcrm.com
Hi!
why not enable then this getCallback()();?
There's an RFC for that: https://wiki.php.net/rfc/fcallfcall
but it has some edge cases which I didn't have time to figure out yet.
In the long run I think it would be great :) Earlier I also
2013/3/7 Stas Malyshev smalys...@sugarcrm.com
Hi!
RFC updated.
Any other comments about this RFC?
Could you provide a use case for this - which practical value this has?
It also still contains factually incorrect claim that unset() is a
function and that there's some inconsistency in
2013/3/5 Lazare Inepologlou linep...@gmail.com
2013/3/5 Tom Boutell t...@punkave.com
Can't you do this already? memory_limit can be fetched via ini_read,
and together with memory_get_usage you should be able to check for
this sort of thing. Admittedly having to parse memory_limit (which
2013/2/28 Jens Riisom Schultz ibmu...@me.com
Hi everyone,
(I got hooked off this discussion, so I have tried to keep up by reading
the digest... This makes it impossible for me to correctly interleave my
comments, so I'll just top post or whatever the term is) (I'm sure this
has been
2013/2/27 Jens Riisom Schultz ibmu...@me.com
Hi,
I just want to get a feel for whether the following idea would be
instantly rejected (for example I get the feeling that adding keywords is a
big deal):
Often, when writing frameworks, you need to make public or protected
functionality or
2013/2/27 Frank Schenk frank.sch...@2e-systems.com
Hi Crypto Compress,
big congratz to that name, your mummy Hash Compress and your daddy Image
Compress must be very proud!
SCNR
Am 02/27/2013 03:54 PM, schrieb Crypto Compress:
Hello Mike,
thank you! It is a useful feature to me.
2013/2/27 Steve Clay st...@mrclay.org
On 2/27/13 3:18 AM, Nikita Nefedov wrote:
I, for one, think it should be solved on the IDE side. I used a lot of
Doctrine's internal
methods lately and if they would be not accessible I wouldn't be able to
do a lot of things.
Of course internal
2013/2/26 Lazare Inepologlou linep...@gmail.com
Hello Nikita,
2013/2/25 Nikita Popov nikita@gmail.com
Hi internals!
PHP 5.4 added support for expressions of the kind (new Foo)-bar(), (new
Foo)-bar and (new Foo)['bar'].
I guess it must have been discussed, but Is there any
2013/2/25 Jens Riisom Schultz ibmu...@me.com
Hi everybody,
I have read up on this, and done some testing.
First up, my findings with PHP5.5 alpha5:
?php
namespace spacy;
class classy {
public static function fqcn() {
/* This works but is not useful enough: */
2013/2/25 Nils Andre nilsan...@gmail.com
Hi Everyone on the list, I have no RFC Karma here so far, so I post this to
the list at first. There has been ongoing discussion about new APIs and so
fort, so this is a suggestion for language cleanup by Autoboxing. I'd
really appreciate comments.
2013/2/22 Rasmus Schultz ras...@mindplay.dk
I've been thinking about this RCF for a while now:
https://wiki.php.net/rfc/trailing-comma-function-args
It just doesn't seem necessary - the only time I've ever found something
like this to be necessary, is when a function takes closures or other
2013/2/21 Tjerk Anne Meesters datib...@php.net
Hi,
I found myself wanting a feature of array_filter() with which I can perform
filtering based on the array key instead of the value.
To scratch this itch, I decided to dive into C again and just add the
feature. My proposal is to add a third
2013/2/20 Klaus Ufo klaus...@yahoo.fr
Hi there !
We all know that the current PHP API has flaws. Maybe we could use
namespaces to build a new coherent PHP API ? Like :
- \arr
- \num
- \str
and so on. Advantages :
- no more global functions
Just to throw that in: Even if you pack
2013/2/15 Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net
On 15/02/13 14:20, Sebastian Krebs wrote:
2013/2/15 Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net**
Hi Stas,
On 14/02/13 22:37, Stas Malyshev wrote:
Hi!
A missing feature in PHP is a file system watcher/monitoring
2013/2/14 Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net
Hello Julien,
On 14/02/13 15:29, Julien Pauli wrote:
On Thu, Feb 14, 2013 at 3:03 PM, Ivan Enderlin @ Hoa
ivan.ender...@hoa-project.net wrote:
Hi internal,
A missing feature in PHP is a file system watcher/monitoring
2013/2/12 Asbjørn Sannes asbjorn.san...@interhost.no
https://wiki.php.net/rfc/**mysqlnd_localhost_overridehttps://wiki.php.net/rfc/mysqlnd_localhost_override
I propose we introduce a new option called mysqlnd.localhost_override
which enables a system administrator or php distributor to
2013/2/3 Sebastian Bergmann sebast...@php.net
Am 03.02.2013 18:07, schrieb Sebastian Bergmann:
Can you explain why you are using eval() instead of a real anonymous
function? Thanks!
Please ignore my email; I mixed up create_function() and eval(). Then
again, your code still does not
2013/1/31 Chris Wright chr...@aquacool.ltd.uk
I propose the following syntax:
php://memory/id
php://temp/id/maxmemory:size
I would very much like to see this as well.
Would this also allow you to open multiple pointers to the same bucket?
For example would this work?
?php
2013/1/31 Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net
On 31/01/13 12:00, Sebastian Krebs wrote:
2013/1/31 Chris Wright chr...@aquacool.ltd.uk
I propose the following syntax:
php://memory/id
php://temp/id/maxmemory:**size
I would very much like to see this as well
2013/1/25 Thomas Bley thbley+...@gmail.com
One thing I can guarantee is that if we add it to core in its current
condition it will delay 5.5 by 6+ months if not longer.
I think it is fine if APC doesn't support all features of PHP. When
there is a clear documentation, everybody can decide
2013/1/25 Pierre Joye pierre@gmail.com
hi,
On Fri, Jan 25, 2013 at 3:37 PM, Martin Keckeis
martin.kecke...@gmail.com wrote:
Hello,
you are right Damian.
Also today on a german page:
2013/1/22 Lester Caine les...@lsces.co.uk
Clint Priest wrote:
There seems to be a lot of userland support for this proposal from people
who
don't have voting rights.
And what about the userland people who don't want the additional
complexity who don't have voting rights?
Don't use it.
2013/1/14 Johannes Schlüter johan...@schlueters.de
On Mon, 2013-01-14 at 04:10 +, Paulo Henrique Torrens wrote:
Hi,
I'm currently interested in two features I'd like to see in PHP; how do
I proceed to request/propose them? I'd be glad to help implementing them as
well, if necessary.
; which
closure?!?
I guess you are in fact looking for regular instance methods.
2013/1/14 Sebastian Krebs krebs@gmail.com:
2013/1/14 Alexander Lissachenko lisachenko...@gmail.com
Hi! It's my first letter here )
I want to suggest a small improvement for ReflectionMethod-invoke
2013/1/6 Yahav Gindi Bar g.b.ya...@gmail.com
On Mon, Jan 7, 2013 at 12:41 AM, Marco Pivetta ocram...@gmail.com wrote:
I think that our work is to isolate each annotation so it'll be easy to
access, then, it'll be easy enough to write the code that creates
complex
annotations, such as
Hi,
are you mabe just looking for
$date-add(new DateInterval('P15D'));
?
2012/12/10 Christian Stoller stol...@leonex.de
Hi internals,
what do you think about improving the modification functionality of the
DateTime class. I always get a cold shiver, when I write something like
this:
2012/11/26 Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net
Hi internals,
I would to modify a \DateTime object to the current time, thus I wrote
this:
$d = new \DateTime('+1 hour');
$d-modify('now');
It did not work. Why? Because the documentation (http://php.net/datetime.*
2012/11/20 Lester Caine les...@lsces.co.uk
Pierre Joye wrote:
https://www.google.de/search?**q=php+mysqli+tutorialhttps://www.google.de/search?q=php+mysqli+tutorial
Which gives About 273,000 results and the first of them are causing more
confusion with PDO alternative.
BUT newcomers know
2012/11/11 Patrick E. zeno...@gmail.com
Hi,
use My\Math
Math\sin();
very intuitive.
And it would be a bit like Python Modules,
where you import symbols (including global variables of the module)
of modules:
import math
print math.sin(math.pi)
Const autoload would also make sense,
2012/11/10 Laupretre François francois.laupre...@francetv.fr
Given the strong opposition of core devs against this feature in the past,
I want a vote on the RFC before I start working on a patch.
Before this vote can take place, as you note, we need to solve the
function fallback issue: in
Hi,
Maybe it goes way to far, but there is a PECL-extension [1], that allows to
overload every(?) operator. However, it seems to be unmaintained for 6
years now and will probably not work anymore, but it may be usable as a
starting point. Python provides this too [2]
Regards,
Sebastian
[1]
2012/11/8 Anthony Ferrara ircmax...@gmail.com
Florin,
On Thu, Nov 8, 2012 at 6:42 AM, Florin Razvan Patan
florinpa...@gmail.comwrote:
Hello,
After a talk on the Symfony framework here:
https://github.com/symfony/symfony/issues/5911
Long story short, the point that @Seldaek
2012/11/7 Laupretre François francois.laupre...@francetv.fr
De : sebastian.krebs.ber...@gmail.com
I hope you find more support on this than I had. Technically
speaking,
it would be easy to extend autoloading to functions and constants. It
can even be done without BC breaks, combining
2012/11/6 Laupretre François francois.laupre...@francetv.fr
I've asked this question for a while (one, or two years ago or so).
Must say, that I didn't remember the answer, but I would like to see
autoloading for namespace-constants and functions too :)
I proposed extending the autoload
2012/11/5 Peter Cowburn sala...@php.net
Pushing to internals list.
On 5 November 2012 20:41, Levi Morrison morrison.l...@gmail.com wrote:
I hear people complaining about this out in user-land all the time, but
I've never seen anyone from internals respond. With practically everyone
using
2012/10/25 crankypuss fullm...@newsguy.com
On 10/24/2012 11:34 PM, Sherif Ramadan wrote:
On Thu, Oct 25, 2012 at 1:03 AM, JJ ja...@php.net wrote:
Hey all - I'd like start a discussion around pull request 221
(https://github.com/php/php-**src/pull/221https://github.com/php/php-src/pull/221
2012/10/11 Clint Priest cpri...@zerocue.com
Why is everyone so dead set against read-only and write-only?
my opinion
1.
public read-only $hours {
get { /* .. */ }
set { /* .. */ }
}
And now? That this is even possible is reason enough for me. Especially now
the engine must take
2012/10/11 Clint Priest cpri...@zerocue.com
Rather than go to the trouble of finding a reasonable way to hold a vote
on these issues, is there anyone against the following changes:
1) Eliminate the ability for an accessor to be called via
$o-__getHours(), the accessor functions will be
2012/10/9 Christian Kaps christian.k...@mohiva.com
Hi,
typehinting should definitely be available for this feature. But I have
another question. Why not go more consistent with the rest of the language?
I have mentioned this previously as the first proposal comes up on the
list. In my
2012/9/19 Tomas Creemers tomas.creem...@gmail.com
Hi all,
If this is going to be implemented as a class, what is the advantage
of instantiation for this? Unless I'm missing it, I would propose that
the functions are made static.
In other words, I would prefer this:
echo
2012/9/19 Steve Clay st...@mrclay.org
Hello,
https://wiki.php.net/rfc/**alternative_callback_syntaxhttps://wiki.php.net/rfc/alternative_callback_syntaxis
a proposal for a simple alternative syntax for creating function
callbacks.
The basics: Given a function/method call, replace the
2012/9/19 Tomas Creemers tomas.creem...@gmail.com
On Wed, Sep 19, 2012 at 8:34 AM, Sebastian Krebs krebs@gmail.com
wrote:
2012/9/19 Tomas Creemers tomas.creem...@gmail.com
Hi all,
If this is going to be implemented as a class, what is the advantage
of instantiation
2012/9/19 Tomas Creemers tomas.creem...@gmail.com
On Wed, Sep 19, 2012 at 8:34 AM, Sebastian Krebs krebs@gmail.com
wrote:
2012/9/19 Tomas Creemers tomas.creem...@gmail.com
Hi all,
If this is going to be implemented as a class, what is the advantage
of instantiation
2012/9/17 jpauli jpa...@php.net
I'm confused.. --enable-all is already supported, just like
--disable-all ?
-Hannes
AFAIR no :) We have a --disable-all , but no --enable-all.
I'm +1 to add such an option if possible :)
Julien.P
I don't like the idea, because once --enable-all is
Am 16.09.2012 22:20, schrieb Hannes Magnusson:
On Sun, Sep 16, 2012 at 8:50 PM, Michael Felt mamf...@gmail.com wrote:
Hi. My apologies if I missed an obvious clue somewhere, but I am looking
for a configure
option to enable nearly everything - to be supplemented by select disable
statements.
Hi,
As far as I can see everything works as expected: Because HEAD-requests
should not send any content, you don't get any.
Regards,
Sebastian
2012/9/12 Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net
Hello,
It is probably me but it seems like the build-in HTTP server does not well
Am 25.08.2012 18:38, schrieb Ferenc Kovacs:
would this trigger a notice if $foo is not defined?
if yes, then it would be different from the current behavior of the
ternary operator.
Couldn't believe it, thus I tested it myself
snip
Don't know, what you are
Am 25.08.2012 01:53, schrieb Nikita Popov:
On Sat, Aug 25, 2012 at 1:49 AM, Sebastian Krebs krebs@gmail.com wrote:
Hi,
It's like with any other compound operator: A _real_ reason isn't there. But
saying It's not worth it is something I can live with (even if I don't
know how much effort
Am 26.08.2012 01:57, schrieb Ferenc Kovacs:
So you are saying that your (teams) IDE doesn't tell you the method
signature which contains also the default values?
I guess that the fact that many of the php core functions have
optional
arguments and non null defaults
trace, what happens
when and why. Also as I mentioned I don't even have any better idea ;)
Regards,
Sebastian
2012/8/23 Sebastian Krebs krebs@gmail.com
Hi,
From my users point of view: I would like to see it. Maybe not in this
implementation/syntax, especially because it hasn't
trigger a notice like
| $foo['xy'] = $foo['xy'] ?: 'bar';
would do.
Regards,
Sebastian
Am 17.08.2012 23:41, schrieb Sebastian Krebs:
Hi,
Don't know, how complicated this is (and also someone (not me) must
implement it, because I can't :X), but to be in sync with the operators
the short ternary
1 - 100 of 156 matches
Mail list logo