Directory_separator and Path_separator
Directory_separator: Directory separator, on Linux is '/' windows is ' \ '
Path_separator: Path delimiter, include multiple path use, under Win, when you want to include multiple paths, you need to use ";" Separated, but under Linux, ":" is used.
=================================================
Zendframework include settings index.php
Set_include_path ('. '). Path_separator. ‘.. /library/'. Path_separator. './application/models/'
. Path_separator. './application/lib/'
. Path_separator. Get_include_path ());
Path_separator is a constant, in the Linux system is a ":" Number, Windows is a "; No. Therefore, it is better to write a program with a constant path_separator instead, or if the system from Linux to the win system or the reverse migration will be wrong!
Php_directory_separator and Path_separator