Deprecated: Return type of DirFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/d0R8o on line 14
object(SplFileInfo)#10 (2) {
["pathName":"SplFileInfo":private]=>
string(11) "/tmp/test/."
["fileName":"SplFileInfo":private]=>
string(1) "."
}
object(SplFileInfo)#12 (2) {
["pathName":"SplFileInfo":private]=>
string(12) "/tmp/test/.."
["fileName":"SplFileInfo":private]=>
string(2) ".."
}
object(SplFileInfo)#10 (2) {
["pathName":"SplFileInfo":private]=>
string(15) "/tmp/test/mydir"
["fileName":"SplFileInfo":private]=>
string(5) "mydir"
}
object(SplFileInfo)#14 (2) {
["pathName":"SplFileInfo":private]=>
string(17) "/tmp/test/mydir/."
["fileName":"SplFileInfo":private]=>
string(1) "."
}
object(SplFileInfo)#15 (2) {
["pathName":"SplFileInfo":private]=>
string(18) "/tmp/test/mydir/.."
["fileName":"SplFileInfo":private]=>
string(2) ".."
}
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/d0R8o on line 12
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/d0R8o on line 24
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/d0R8o on line 25
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/d0R8o on line 30
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/d0R8o on line 32
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/d0R8o on line 32
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/d0R8o on line 34
Fatal error: Class 'FilesystemIterator' not found in /in/d0R8o on line 24
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/d0R8o on line 12
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/d0R8o on line 14
Process exited with code 255.
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/d0R8o on line 12
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/d0R8o on line 14
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/d0R8o on line 12
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/d0R8o on line 14
Process exited with code 255.