You are here: Re: Really hardcore question about PHP needed :) « PHP Programming Language « IT news, forums, messages
Re: Really hardcore question about PHP needed :)

Posted by Steve on 04/17/07 20:57

"Rami Elomaa" <rami.elomaa@gmail.com> wrote in message
news:f039ff$70f$1@nyytiset.pp.htv.fi...
| tasteless kirjoitti:
| > Hi guys,
| >
| > I need really hard questions (about 10) about PHP programming (some of
| > elements OOP as well, but no MySQL questions - this is different part),
| > this questions needs to be very hard, but the experienced senior PHP
| > developer should answered on it.
| >
| > I've already searched in google and google groups archive but without
| > any good results. So could anybody help me giving some link or sending
| > some stuff to me ?
| >
| > Thanks and regards - Peter.
| >
| > PS. It's about the bet with one of my friend :)
| >
|
| Well, this might be easy but here we go...
|
| <?php
| $i++;
| if($i<10) xyz (__FILE__) ;
| else echo $i;
| ?>
|
| Substitute xyz with a standard function or construct so that the output
| is 10.
|
| Scroll down for correct answer.


xyz = unlink() is MUCH more interesting. :)

btw, your if/else formatting is pretty bad, even for an example.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация