mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
Fix incorrect description of output (#4310)
This commit is contained in:
@@ -974,11 +974,11 @@ echo "This works: {$obj->values[3]->name}";
|
||||
|
||||
echo "This works: {$obj->$staticProp}";
|
||||
|
||||
// Won't work, outputs: C:\folder\{fantastic}.txt
|
||||
echo "C:\folder\{$great}.txt";
|
||||
// Won't work, outputs: C:\directory\{fantastic}.txt
|
||||
echo "C:\directory\{$great}.txt";
|
||||
|
||||
// Works, outputs: C:\folder\fantastic.txt
|
||||
echo "C:\\folder\\{$great}.txt";
|
||||
// Works, outputs: C:\directory\fantastic.txt
|
||||
echo "C:\\directory\\{$great}.txt";
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
||||
Reference in New Issue
Block a user