Check It Yeah, It's On

7Nov/110

Code Poetry: Do or do not while… there is no try catch

"Do or do not [while]... there is no try [catch]."
-Yoda

<?php
//try {

    do {
        echo "Do!";
        
        $do = rand(0, 1);
        
    } while ($do);

//} catch (Exception $e) {
//}

// Yoda
?>
Yoda: Do or do not while... there is no try catch

Yoda: Do or do not while... there is no try catch

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.