Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #3243

Simple array code seems to break ..

From user@domain.invalid
Newsgroups comp.lang.php
Subject Simple array code seems to break ..
Date 2011-09-30 18:13 +0200
Organization University Koblenz-Landau Campus Koblenz
Message-ID <j64pqq$1ms$1@cache.uni-koblenz.de> (permalink)

Show all headers | View raw


Hi, i'm just starting with php, and i have a problem that i just cant 
solve oO

I a web page i have a scipt

<? php
$x = array("a"=>"b","b"=>1);
?>

which produces an output of
"b","b"=>1); ?>

So, it pretty much stops counting as a script at the =>

And i just don't get why..

Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Simple array code seems to break .. user@domain.invalid - 2011-09-30 18:13 +0200
  Re: Simple array code seems to break .. "Peter H. Coffin" <hellsop@ninehells.com> - 2011-09-30 11:35 -0500
    Re: Simple array code seems to break .. Jessica Streicher <thio@uni-koblenz.de> - 2011-09-30 19:10 +0200

csiph-web