Skip to content

Instantly share code, notes, and snippets.

@m4rw3r
Created July 24, 2011 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m4rw3r/1103010 to your computer and use it in GitHub Desktop.
Save m4rw3r/1103010 to your computer and use it in GitHub Desktop.
object(Inject\Router\RegExp\RegExp)#1 (3) {
["pattern":protected]=>
object(Inject\Router\RegExp\Pattern)#2 (1) {
["parts":protected]=>
array(9) {
[0]=>
string(2) "\/"
[1]=>
string(1) "f"
[2]=>
string(1) "o"
[3]=>
string(1) "o"
[4]=>
string(1) "b"
[5]=>
string(1) "a"
[6]=>
string(1) "r"
[7]=>
string(2) "\/"
[8]=>
object(Inject\Router\RegExp\Capture)#4 (2) {
["name":protected]=>
string(2) "id"
["parts":protected]=>
array(1) {
[0]=>
object(Inject\Router\RegExp\Count)#6 (3) {
["part":protected]=>
object(Inject\Router\RegExp\CharClass)#5 (2) {
["parts":protected]=>
array(1) {
[0]=>
string(2) "\d"
}
["inverted":protected]=>
bool(false)
}
["min":protected]=>
int(1)
["max":protected]=>
NULL
}
}
}
}
}
["delimiter"]=>
string(1) "/"
["modifiers"]=>
array(2) {
["PCRE_CASELESS"]=>
string(1) "i"
["PCRE8"]=>
string(1) "u"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment