Re: [PHP-DEV] Re: New Operator

2006-03-14 Thread Nico Edtinger
Brian Moon wrote: Oh, you want an operator to do that? Does some other language have this that we are wanting to copy here? IIRC C# 3.0 adds a new operator ?: written as "foo = bar ?: 'default value';". I tried to search a resource with some documentation about this new operator, but Goog

Re: [PHP-DEV] extension and apache 2.x compatibility issue.

2006-02-27 Thread Nico Edtinger
Hi! Mac OS X has some tools for debugging and profiling. They may not be as easy to use as valgrind, but they still work. http:// kernelthread.com/mac/osx/tools.html is a good overview of the most important CLI tools (search for debug, profile, trace in the document). The same guy has a fo

Re: [PHP-DEV] what happened to that new isset() like language

2005-10-29 Thread Nico Edtinger
Hi! If you want something similar why not something that's similar to the currently used $x = isset($x) ? $x :'x';. I don't think PHP has something that can be written as ?? currently and it would be similar to the current expression: $x = $x ?? 'x'; or $x ??= 'x'; Or if it should be a si