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
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
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