Will {code...} be related to the virtual machine? When virtualbox5.1 is attached to a shared folder mntshared, an error is reported! Ie11 is also wrong. in the cache-free win scenario, gginxphp5.6win (host) and ubuntu (virtual machine...
class foo { public $hello = 'a'; public function m() { echo 'dsds'; }}$obj = new foo();$obj->m();
Will it be related to virtual machines? Virtualbox 5.1
A shared folder/mnt/shared
The same is true!
Ie 11 is also wrong, no cache
In Windows, xampp is used.
In ubuntu, nginx php5.6 is used.
Win (host) and ubuntu (Virtual Machine) share the folder C: workspace at the same time
There is still a problem with restarting the server. please cache the browser
Still running error on my computer
Is the editor a problem ??
Reply content:
class foo { public $hello = 'a'; public function m() { echo 'dsds'; }}$obj = new foo();$obj->m();
Will it be related to virtual machines? Virtualbox 5.1
A shared folder/mnt/shared
The same is true!
Ie 11 is also wrong, no cache
In Windows, xampp is used.
In ubuntu, nginx php5.6 is used.
Win (host) and ubuntu (Virtual Machine) share the folder C: workspace at the same time
There is still a problem with restarting the server. please cache the browser
Still running error on my computer
Is the editor a problem ??
You have found the problem. it is a syntax error caused by hidden characters.
I copied your code and tried it. everything is normal. when you write the code, note that the quotation marks must be in English.
No error. it may be caused by your browser cache. tryctrl+F5Force refresh the browser
It looks really right.
No problem after testing.
Get up, drink a cup of water, smoke a cigarette, go to the toilet, and open it again. if not, change your browser.
The inexplicable small problems are basically solved.
How about double quotation marks?
Why are two quotation marks ('DSS') returned when an error occurs?
If this problem occurs, try to format the code and format the full-width character into a half-width character.