PHP syntax error, the great gods come in and see what I am wrong!
My Code:
PHP Code
Put on the server prompt:
Parse error:syntax error, unexpected t_string, expecting ', ' or '; ' C:\xampp\htdocs\index.php on line 16
The first
Php-redis Chinese DocumentsPhpredis is an extension of PHP, the efficiency is quite high with the list sorting function, to create a memory-level module business relationshipThis is useful for Redis's official command:As
Last night because some of PHP's variable code was incorrectly written, Sublime did not prompt syntax errors. For a long time, a period of debugging, the last to know is to take the variable is emptySublime can prompt PHP syntax errorAfter Sublime
Recently has a H5 project needs, needs the service side, after the study decided to use the PHP to implement an HTTP service end, then began to revisit the PHP syntax, by the way records the main point, in order to revisit at any time. Content
Author: Chinese Red Wolf
Body:
Earlier ("Talking about PHP Syntax (2)") mentioned in the PHP submission form information is very convenient. But how long is the life cycle of a variable in a form information that is submitted? This article will come
Today do information collection page encountered a strange problem, study for a long time to find the root cause of the problem, it is a bit strange indeed.(the younger brother often uses the C #, Java and other languages, PHP only occasionally in
In fact, you can also check other language syntax errors, the code in the Php-l to change the line#! /bin/bash## check_php_syntax.sh# copyright (C) 2014 ## distributed under terms of the mit license
Class name, function name is case-insensitiveVariable, constant-differentiated
Weak language:
Shaping, floating point, character, Boolean
Array 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M01/4
The PHP script can be placed anywhere in the document.The PHP script begins with and ends with ?> :The default file name extension for PHP files is ". php".PHP files usually contain HTML tags and some php script code.The following example is a
PHP basic syntax preface
PHP scripts can be placed anywhere in the document. This article mainly includes the following content:
PHP tag
Separating from HTML
Command separator
Note
PHP tag
PHP script
End:
When parsing a file,
In php syntax, 0 is not equal to null. the solution encountered a strange problem during the information collection page today. after studying for a long time, I found the root cause of the problem, which is indeed a bit strange.
(The younger
Weird php syntax! It is found that a php statement used to determine whether a string is a steamed stuffed bun string is quite strange.
See the following statement:
Echo "A1:". (strpos ("csd", "c "))."";Echo "A2:". (strpos ("csd", "c")> = 0
Newbie, to a development environment that can check PHP syntax errors. Currently, when writing code accidentally entering a Chinese punctuation mark, it cannot run.
I used windows Notepad to write code. Are there other good things?
Reply to
Author: Hua honglang
The previous article "talk about PHP syntax" has talked about PHP Data Types and expressions. Now let's take a look at the variables and constants of PHP.Let's take a look at this example first.File: test. php// This is a
Author: Hua honglang
Body:
As mentioned above (PHP syntax (2), it is very convenient for PHP to submit form information. But how long is the lifecycle of the variable in the submitted form information? This article will talk about this issue.
The
PHP7 introduced the syntax tree, so the static syntax analysis is more convenient.1, first install PHP7, to http://windows.php.net/download php7 with OpenSSL.2, modify the
In-depth explanation of the basic PHP syntax structure. The lexicalstructure is a set of basic rules for managing how to write programs in a language. The syntax structure is the lowest level of language syntax, and the variable name is
PHP syntax (1) by Hua Honglang
Body:
I have introduced the basic HTML syntax in the article about HTML syntax. A static web page can be compiled, and dynamic interaction information is very important. For example, the membership registration and
PHP syntax (5 ). As mentioned above, it is very convenient to submit the form information in PHP. But how long is the lifecycle of the variable in the submitted form information? This article will talk about this issue. The form parameter mentioned
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.