![]() |
See, you messed up! You think it's set???
You think it's set but it's empty!
Don't believe me? Then run this script : <?php $var=""; if(empty($var)) { echo "This is empty<br>"; } if(isset($var)) { echo "This is set<br>"; } echo "<br>See, you messed up"; ?> :1orglaugh |
Because a null character is not the same as a php null constant.. So it's set.
Didn't test it, though.. |
Don't use empty to confuse people, dick... :upsidedow
|
Colmike7 killed it ...
|
Quote:
:1orglaugh |
Quote:
|
Quote:
<?php $var; if(empty($var)) { echo "This is empty<br>"; } if(isset($var)) { echo "This is set<br>"; } echo "<br>Now you got it"; ?> |
I always feel smart until y'all starting writing php ish. from looking at the various code I can kiiinda grasp the basics at times, but it's overall incomprehensible
fuck me, need to learn, just not enough hours. it's still like Hausa to me (was gonna say greek but that can be taken so wrong in adult venue) =) envy y'all, sincerely. will get there one day |
All times are GMT -7. The time now is 07:51 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc