Home
PHP
Chart
Class
Components
Cookie Session
Data Structure
Data Type
Date
Design Patterns
Development
DNS
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
Operator
PDF
Reflection
Statement
String
Utility Function
Web Services SOAP WSDL
XML
Double quotation marks allow the parsing of variables : Quotation « String « PHP
PHP
String
Quotation
Double quotation marks allow the parsing of variables
<? $name =
"john"
; print
"hello, $name"
; ?>
Related examples in the same category
1.
Double-quoted string escape sequences
2.
Double-quoted strings
3.
If you use single quotation marks to enclose the same string, the variable is not substituted:
4.
Using forward slashes on Windows
5.
Fixing quote escaping in backreference replacements
6.
It is safe to use non-escaped Windows-style filenames in your single-quoted strings
7.
Various special characters in string assignments