I encountered a strange problem. The include operation failed for any comments such as // in the php code.

Source: Internet
Author: User
I encountered a strange problem. anything in the php code that contains such a comment cannot include it. I am a secondary developer, there is no problem if the original program on the server is annotated, but the code I downloaded from the server is locally. after all the programs are imported into eclipse, each line will contain a blank line, and I will replace the comment with ***. below is the phpinfo information I posted, hope you can guide phpversion5.25systemlinuxiz238ftkwx8z3.10.0-123.9.3.el7.x86 _ 64 # 1SMPTh... php failure include

I encountered a strange problem. The php code cannot include any comments such //.
I am a secondary developer, and there is no problem with the original program above the server with // annotation

However, the code I downloaded from the server is stored locally. after all the programs are imported into eclipse, each line contains a blank line.

Later, I changed the/annotation /***/.

The following is the phpinfo information I posted.

PHP Version 5.5.25

System Linux iZ238ftkwx8Z 3.10.0-123.9.3.el7.x86 _ 64 #1 SMP Thu Nov 6 15:06:03 UTC 2014 x86_64
Build Date Jun 2 2015 16:09:30
Configure Command '. /configure ''-- prefix =/usr/local/php'' -- with-config-file-path =/usr/local/php/etc'' -- with-fpm-user = www ''-- with-fpm-group = www'' -- enable-fpm'' -- enable-opcache ''-- disable-fileinfo'' -- with-mysql = mysqlnd'' -- with-mysqli = mysqlnd ''-- with-pdo-mysql = mysqlnd'' -- with-iconv-dir =/usr/local'' -- with-freetype-dir ''-- with-jpeg-dir'' -- with-png-dir'' -- with-zlib ''-- with-libxml-dir =/usr'' -- enable-xml'' -- disable -rpath ''-- enable-bcmath'' -- enable-shmop'' -- enable-exif ''-- enable-sysvsem'' -- with-curl ''-- enable-mbregex'' -- enable-inline-optimization ''-- enable-mbstring'' -- with-mcrypt ''-- with-gd'' -- enable-gd-native-ttf'' -- with-openssl ''-- with-mhash'' -- enable-pcntl ''-- enable-sockets'' -- with-xmlrpc ''-- enable-ftp'' -- with-gettext ''-- enable -zip ''-- enable-soap'' -- disable-ipv6 ''-- disable-debug'
Server api fpm/FastCGI
Virtual Directory Support disabled
Configuration File (php. ini) Path/usr/local/php/etc
Loaded Configuration File/usr/local/php/etc/php. ini
Scan this dir for additional. ini files (none)
Additional. ini files parsed (none)
Php api 20121113
PHP extension20121212
Zend Extension 220121212
Zend Extension Build API220121212, NT
PHP Extension Build API20121212, NT
Debug Build no
Thread Safety disabled
Zend Signal Handling disabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
IPv6 Support disabled
DTrace Support disabled
Registered PHP Streams https, ftps, compress. zlib, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib. *, convert. iconv. *, mcrypt. *, mdecrypt. *, string. rot13, string. toupper, string. tolower, string. strip_tags, convert. *, consumed, dechunk

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
With Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.