Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.4.1 - 8.4.22 , 8.5.0 - 8.5.7 Deprecated: wrapper(): Implicitly marking parameter $maxLength as nullable is deprecated, the explicit nullable type must be used instead in /in/biaIs on line 7
wrapper("a",2)
string(9) "wrapper: "
array(2) {
[0]=>
string(1) "a"
[1]=>
int(2)
}
string(17) "wrapper slice-3: "
array(0) {
}
wrapper("a",2,PDO::PARAM_INT)
string(9) "wrapper: "
array(3) {
[0]=>
string(1) "a"
[1]=>
int(2)
[2]=>
int(1)
}
string(17) "wrapper slice-3: "
array(0) {
}
wrapper("a","foo",PDO::PARAM_INT)
string(9) "wrapper: "
array(3) {
[0]=>
string(1) "a"
[1]=>
string(3) "foo"
[2]=>
int(1)
}
string(17) "wrapper slice-3: "
array(0) {
}
wrapper("a","foo",PDO::PARAM_INT,3)
string(9) "wrapper: "
array(4) {
[0]=>
string(1) "a"
[1]=>
string(3) "foo"
[2]=>
int(1)
[3]=>
int(3)
}
string(17) "wrapper slice-3: "
array(1) {
[0]=>
int(3)
}
wrapper("a","foo",PDO::PARAM_INT,null)
string(9) "wrapper: "
array(4) {
[0]=>
string(1) "a"
[1]=>
string(3) "foo"
[2]=>
int(1)
[3]=>
NULL
}
string(17) "wrapper slice-3: "
array(1) {
[0]=>
NULL
}
Deprecated: PDOStatement::bindParam(): Passing null to parameter #4 ($maxLength) of type int is deprecated in /in/biaIs on line 13
Output for 8.1.0 - 8.1.34 , 8.2.0 - 8.2.31 , 8.3.0 - 8.3.31 wrapper("a",2)
string(9) "wrapper: "
array(2) {
[0]=>
string(1) "a"
[1]=>
int(2)
}
string(17) "wrapper slice-3: "
array(0) {
}
wrapper("a",2,PDO::PARAM_INT)
string(9) "wrapper: "
array(3) {
[0]=>
string(1) "a"
[1]=>
int(2)
[2]=>
int(1)
}
string(17) "wrapper slice-3: "
array(0) {
}
wrapper("a","foo",PDO::PARAM_INT)
string(9) "wrapper: "
array(3) {
[0]=>
string(1) "a"
[1]=>
string(3) "foo"
[2]=>
int(1)
}
string(17) "wrapper slice-3: "
array(0) {
}
wrapper("a","foo",PDO::PARAM_INT,3)
string(9) "wrapper: "
array(4) {
[0]=>
string(1) "a"
[1]=>
string(3) "foo"
[2]=>
int(1)
[3]=>
int(3)
}
string(17) "wrapper slice-3: "
array(1) {
[0]=>
int(3)
}
wrapper("a","foo",PDO::PARAM_INT,null)
string(9) "wrapper: "
array(4) {
[0]=>
string(1) "a"
[1]=>
string(3) "foo"
[2]=>
int(1)
[3]=>
NULL
}
string(17) "wrapper slice-3: "
array(1) {
[0]=>
NULL
}
Deprecated: PDOStatement::bindParam(): Passing null to parameter #4 ($maxLength) of type int is deprecated in /in/biaIs on line 13
Output for 8.0.1 - 8.0.30 wrapper("a",2)
string(9) "wrapper: "
array(2) {
[0]=>
string(1) "a"
[1]=>
int(2)
}
string(17) "wrapper slice-3: "
array(0) {
}
wrapper("a",2,PDO::PARAM_INT)
string(9) "wrapper: "
array(3) {
[0]=>
string(1) "a"
[1]=>
int(2)
[2]=>
int(1)
}
string(17) "wrapper slice-3: "
array(0) {
}
wrapper("a","foo",PDO::PARAM_INT)
string(9) "wrapper: "
array(3) {
[0]=>
string(1) "a"
[1]=>
string(3) "foo"
[2]=>
int(1)
}
string(17) "wrapper slice-3: "
array(0) {
}
wrapper("a","foo",PDO::PARAM_INT,3)
string(9) "wrapper: "
array(4) {
[0]=>
string(1) "a"
[1]=>
string(3) "foo"
[2]=>
int(1)
[3]=>
int(3)
}
string(17) "wrapper slice-3: "
array(1) {
[0]=>
int(3)
}
wrapper("a","foo",PDO::PARAM_INT,null)
string(9) "wrapper: "
array(4) {
[0]=>
string(1) "a"
[1]=>
string(3) "foo"
[2]=>
int(1)
[3]=>
NULL
}
string(17) "wrapper slice-3: "
array(1) {
[0]=>
NULL
}
Output for 7.4.0 - 7.4.33 wrapper("a",2)
Fatal error: Uncaught TypeError: Argument 2 passed to wrapper() must be an instance of mixed, int given, called in /in/biaIs on line 17 and defined in /in/biaIs:7
Stack trace:
#0 /in/biaIs(17): wrapper('a', 2)
#1 {main}
thrown in /in/biaIs on line 7
Process exited with code 255 .