diff options
Diffstat (limited to 'scripts/dev/generate-phpt/src/codeSnippets/emptyUnsetUndefNull.txt')
-rw-r--r-- | scripts/dev/generate-phpt/src/codeSnippets/emptyUnsetUndefNull.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/dev/generate-phpt/src/codeSnippets/emptyUnsetUndefNull.txt b/scripts/dev/generate-phpt/src/codeSnippets/emptyUnsetUndefNull.txt new file mode 100644 index 0000000..7e28494 --- /dev/null +++ b/scripts/dev/generate-phpt/src/codeSnippets/emptyUnsetUndefNull.txt @@ -0,0 +1,11 @@ +$unset_var = 10; +unset($unset_var); + +$variation_array = array( + 'unset var' => @$unset_var, + 'undefined var' => @$undefined_var, + 'empty string DQ' => "", + 'empty string SQ' => '', + 'uppercase NULL' => NULL, + 'lowercase null' => null, + );
\ No newline at end of file |