Skip to content

Instantly share code, notes, and snippets.

View paulosborne's full-sized avatar

Paul Osborne paulosborne

  • Yorkshire, UK
View GitHub Profile
@paulosborne
paulosborne / gist:2301238
Created April 4, 2012 13:52 — forked from skl/gist:2301078
AssertionTuple with DataSetValue stack
<?php
class DataSetValue
{
const ALPHA_LOWER = 'abcdefghijklmnopqrstuvwxyz';
const ALPHA_UPPER = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
const ALPHA_NUMERIC = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
const SYMBOLS = '!@£$%^&*()-=';
const SECURITY_XSS = "'';!--\"<XSS>=&{()}";
@paulosborne
paulosborne / gist:2301100
Created April 4, 2012 13:38 — forked from skl/gist:2301078
AssertionTuple with DataSetValue stack
<?php
class DataSetValue
{
const ALPHA_LOWER = 'abcdefghijklmnopqrstuvwxyz';
const ALPHA_NUMERIC = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
const ALPHA_SYMBOLS = '!@£$%^&*()_+';
const EMAIL_VALID = 'john.smith@testemail.com';