New PHP Challenge by Innobyte
A few days ago, we launched a new PHP challenge. We asked both our colleagues and Facebook community to redefine sad function in order to solve this problem and make the code work: They found some cool and clever solutions in order to execute beAwesome() function: Solution nr.1: function sad() { die(“Are you happy now […]
What does this var_dump return?
Tell us what does this var_dump return! var_dump( null == 0, # ? false == 0, # ? INF==INF, # ? (-1*INF) == (-1*INF), # ? (-1*INF) < (-1*INF), # ? (-1*INF) > (-1*INF), # ? ‘Interesting’, null == (-1*INF), # ? false == (-1*INF), # ? null < (-1*INF), # ? false < (-1*INF) […]
Do you know how to multiply extra-large numbers in PHP?
It seems that you really like our PHP Challenges, which really makes us happy. So we bring another one to your attention. Since you got pretty comfortable with numbers during our last test, we will continue on testing your PHP skills with… numbers “management”. The challenge:
A new PHP Challenge: Facing Memory Issues
Let’s say that we have a PC with unlimited processing power, BUT with very little RAM. We need to optimize its memory, by using a script that creates 2 functions: one for archiving an array and another one to search through this array. There are also a set of rules that you need to respect: […]
Second PHP Challenge
As the challenge we’ve given you last week was a real hit, we want to provoke you again! So… you are given 2 integral numbers: a and b. Request: Write a code sequence that interchanges the values of these 2, without using additional variables.
PHP Challenge
On Friday, Alin D. has given our team the following PHP problem to solve: if (SOMETHING) { echo ‘Hello’; } else { echo ‘ world’; } He asked our colleagues to replace SOMETHING, so that the outcome would be Hello World. At the end of the day, Alin showed […]
