Home > Backend Development > PHP Tutorial > What is PATH_SEPARATOR_PHP Tutorial

What is PATH_SEPARATOR_PHP Tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 17:37:22
Original
1026 people have browsed it

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, which is a ":" sign on Linux systems and a ";" sign on Windows. Therefore, it is best to use the constant PATH_SEPARATOR instead when writing a program, otherwise errors will occur if the system is transplanted from Linux to Win system or vice versa!
get_include_path gets the current existing environment variables, plus the previous settings, it is the new system include

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/486564.htmlTechArticlezendframework include set index.php set_include_path(. . PATH_SEPARATOR . ../library/ . PATH_SEPARATOR . ./application/ models/ . PATH_SEPARATOR . ./application/lib/ . PATH_SEPAR...
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
access path
From 1970-01-01 08:00:00
0
0
0
Static resource path usage
From 1970-01-01 08:00:00
0
0
0
objective-c - header search path
From 1970-01-01 08:00:00
0
0
0
javascript - vue src path problem
From 1970-01-01 08:00:00
0
0
0
php move_uploaded_file() path parameter usage
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template