Documentation

GetTest extends TestCase
in package

Table of Contents

testEmpty()  : mixed
Tests whether the empty function works on the individual elements the way it's supposed to.
testIsset()  : mixed
Usually PHP will handle isset differently. But it's in our best interest to tell the user whether data was sent in the variable.

Methods

testEmpty()

Tests whether the empty function works on the individual elements the way it's supposed to.

public testEmpty() : mixed
Tags
covers
covers
Return values
mixed

testIsset()

Usually PHP will handle isset differently. But it's in our best interest to tell the user whether data was sent in the variable.

public testIsset() : mixed

As opposed to empty(), which will report whether the variable is null, 0 or an empty string - our isset implementation for get will return true on null values.

Tags
covers
Return values
mixed

Search results