Skip to content

Instantly share code, notes, and snippets.

@etozzato
Created November 4, 2009 04:10
Show Gist options
  • Save etozzato/225767 to your computer and use it in GitHub Desktop.
Save etozzato/225767 to your computer and use it in GitHub Desktop.
<?php
//attempt 1
@q =
//attempt 2
$q = 'mekdigital' unless $q
//attempt 3
$q = 'mekdigital' unless $q;
//attempt 4
{$q = 'mekdigital'} unless $q;
//attempt 5
unless $q { $q = 'mekdigital'};
//attempt 6
unless $q { $q = 'mekdigital';}
//attempt 7
if not $q {$q = 'mekdigital';}
//attempt 8
if !$q {$q = 'mekdigital';}
//attempt 9
if (!$q) {$q = 'mekidigital';}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment