-3

I get this error when using php code

PHP Syntax Check: Parse error: syntax error, unexpected 'true' (T_STRING), expecting ')' in your code on line 3568

please help me i dont understand whats wrong here php code line

static $true  = array('1xtracts'true', 'True', 'TRUExtracts'y', 'Yxtracts'yes', 'Yes', 'YESxtracts'on', 'On', 'ONxtract);

1 Answers1

0

You must escape the quotes.

static $true  = array('1xtracts\'true', 'True', 'TRUExtracts\'y', 'Yxtracts\'yes', 'Yes', 'YESxtracts\'on', 'On', 'ONxtract');