Hello all,
I just wanted to drop an opp. Just to see the logic, when we have
programming structure class, interface, function, if statement, switch
statement etc, we have bracers encapsulation. This is the logic that most
programming language give to show a programmer that something is inside
some
The solution is already in pear : http://pear.php.net/package/Math_RPN
Calm down David :) He is referring only 3 cases. Please check the link he is
providing too :)
Hello mr. Antonio Touriño,
So as if I understand, you want to change the syntax of array() keyword.
Will you mind to update the changes in all php scripts in the world too?
PS. You can always have your [] in custom patch, but I do not think
it's useful to want it globally changed.
-1
On Jan 13, 2008 11:25 PM, Adler Medrado <[EMAIL PROTECTED]> wrote:
> +1
>
> ""Andi Gutmans"" <[EMAIL PROTECTED]> escreveu na notícia da
> mensagem:[EMAIL PROTECTED]
> > Andi 2003:
> > http://www.mail-archive.com/internals@lists.php.net/msg03896.html
> >
> >
> >
> > Andi's brain evolves 2007:
>
+1
Remove switch.
Make unicode strings default.
Hi All,
A property can share it's value with it's parent but methods need to call
parent::$method() and this is not done by default that is why the behavior
is different. Is that the right behavior?! I really don't know. I think the
inheritance of the static methods as two distinct methods is righ
-1
On Feb 5, 2008 10:23 PM, Pierre Joye <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It seems that there is voices in favor of keeping the GPC related
> functions in HEAD/php6 but returning always FALSE. I thought the
> decision was already done but I rather prefer to ask the list a second
> time and be
Hello, Sebastian
This seems to be a known bug http://bugs.php.net/bug.php?id=43408 and in
fact already assigned.
Fallbacks occur in static/self calls, as static/self resolve to "foo"
> and it returns foo as expected.
>
> However, when you do a parent::demo() you actually call bar::demo(),
> which
Hello there,
I am not sure here is the right place to mention this, but
I still think it will be cool, if there is some spell checking
before posting news on php.net. There are mistakes like
the word 'Addded' -> perhaps should be 'Added'.
This thing lead me to the idea, of spell checker who logs
Hello David,
> telling us what we already know.
I am not quite sure, that all developers, for example the junior one, know
that.
Hi Gregory and others,
Traits rox! I will never use them cause I think in different way,
but for many people this will be a great feature.
Gregory, the comment you added here:
OK, since none of my suggestions are acceptable, let me put it this way:
Childish story! I want my toy!
I am fully +1
Hello Robin,
This interesting issue, this should be patched asap!
Vote +1.
Best Regards, Dimitar Isusov
Hi Stefan,
I suggest you to remove words like 'discussion' from the wiki,
+1 to multiple namespaces with brackets.
Dimitar Isusov
Hello Internals,
This discussion was very interesting to me so I made some research about all
languages OOP.
Each time I saw definition of public, protected, private there was an
explanation which never
mentioned instances, but classes. I certainly thought that Richard is right
saying:
Surely it
Hello Marco,
May be you should check the "[PHP-DEV] Inconsistencies when accessing
protected members" thread.
It's said there:
Private means this API belongs to this class only, protected means this API
> belongs to this class and the children.
and you can find there a lot of useful thoughts a
Hi,
The company I work for has as a rule to update it's projects to the latest
php. This starts usually one month before the official release.
Can you tell me when will php 5.3 be released? Of course not the exact date
but something around it :) Like month?
Best Regards, Dimitar Isusov
Hello,
-100. This discussion is closed long ago.
Hello,
You got +1 from me for this idea.
Regards, Dimitar Isusov
Hello,
As I always will say -1 to this.
But I have a question, people here talk that this is very very useful in
some cases. Can you please show others such cases so we can get your point?
I really want to know this super hyper cases, this syntax is mega useful.
Regards, Dimitar
Hello again,
renderSomething(array('exclude' => array('a', 'b', 'c'), 'include' =>
array('d', 'e', 'f')));
vs:
renderSomething(['exclude' => ['a', 'b', 'c'], 'include' => ['d', 'e',
'f']]);
Your version is more readable but try this one:
renderSomething(
array(
'exclude' => a
Hello there,
I don't have enough time to write more detailed example, but I still want to
write my opinion.
I totally agree with Stanislav, because for me magic functions should be
used in last leaf of some class extend tree. They are some kind of feature
when you are producing the non-framework,
On Thu, Jul 10, 2008 at 5:09 PM, Scott MacVicar <[EMAIL PROTECTED]> wrote:
> The PHP Internals list isn't an appropriate place to spam your blog.
>
> Scott
>
>
> Gustav F. Nyvell wrote:
>
>> Read: http://talkingtocomputers.wordpress.com/
>>
>>
> --
> PHP Internals - PHP Runtime Development Mailing
Hello,
For me, this is just a wrong way of using enums for the sake of opinionated
solution of specific problem.
Regards,
Dimitar
On Sun, 23 Apr 2023 at 14:23, Niels Dossche wrote:
> Hi
>
> On 4/19/23 17:11, Garet Claborn wrote:
> > Hello PHP Internals,
> >
> > I am Garet Claborn, CTO for Suit
Hello everyone,
Would this change affect WeakMap somehow?
Regards,
Dimitar
On Sat, 29 Apr 2023 at 0:48, Garet Claborn wrote:
> You are correct, thank you.
>
> The RFC draft has been posted to
> https://wiki.php.net/rfc/treat_enum_instances_as_values
>
> -Garet
>
> On Tue, Apr 25, 2023 at 8:14
Hey there,
Looking at how to achieve “readonly input object” now a few things come in
my mind:
* Write a readonly class in first place, assuming it’s not a class from a
package you cannot or don’t want to update
* Clone the object
* Use a new immutable DTO for data transfer
* Use stateless “se
On Mon, 17 Aug 2020 at 19:46, Mathieu Rochette wrote:
> Hi,
>
>
>
> I’m writing a message here to receive feedback on a two ideas related to
> class constructors before going more in details with an RFC. I hope this is
> appropriate behavior for this list
>
>
>
> With the Constructor Property Pro
Hello Kamil,
I believe that PHP should not try to act as a “framework” that provides you
with ready solutions for such cases.
Being able to actually modify the default behaviour of some functions
through the ini .. is even scarier.
For 25 year writing in PHP I never relied on this “magic” for se
to write it since the language
> itself is very basic. I'm for PHP to keep built-in solutions for most
> common problems in the context of the web. Having passe ZCE exam and
> writing just 15 years on php.
>
> On Sun, Oct 2, 2022, 2:19 AM Lokrain wrote:
>
>> Hello K
30 matches
Mail list logo