Example shows syntax error in Dreamweaver

This example -
// define some “vectors”
$a = array(2, 3, “foo”);
$b = array(5.5, 4.3, -1.6);
$c = array(1, -3);
throws a syntax error in Dreamweaver. OK to ignore?
TIA

http://php.net/manual/en/errorfunc.examples.php

Dreamweaver sucks for a multitude of reasons. Are you stuck using that as your IDE?

1 Like
Sponsor our Newsletter | Privacy Policy | Terms of Service