![]() |
Lol :-) Who's a clever bug?
|
Quote:
|
Sorry for bumping an old post. There is a better quiz:
http://www.talkphp.com/tips-tricks/3...html#post20597 |
Here's my "effort":
<?php if (1 == 0) { die('See, no need for echo or print'); } ?> |
Why there is "if" at all then?
|
'cause it looked cooler...
Nah, you're right. |
GD FTW :P woo
PHP Code:
|
Quote:
|
Hehe thanks, I thought so too! Any chance of some more fun little threads like this being created? :-)
|
That is a cool idea..
|
Quote:
|
How about vprintf? Using a preg_match single line if to determine the string value? And utilizing a class?
So do I win lol? Heh, the object being called at the end is Talk->PHP($output); PHP Code:
|
You all missed print_r
You all missed print_r;
<? echo "<pre>"; print_r('something'); echo "</pre>"; ?> |
Use print_r from array
<?php $test_array=("Hello World.");
print_r($test_array); ?> <?php $test_array=("<b>Hello World.</b>"); print_r($test_array); ?> |
| All times are GMT. The time now is 07:15 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0