Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12270 > unrolled thread
| Started by | richard <noreply@example.com> |
|---|---|
| First post | 2013-12-15 17:20 -0500 |
| Last post | 2013-12-16 07:24 -0500 |
| Articles | 11 — 9 participants |
Back to article view | Back to comp.lang.php
How to code () inside quotes richard <noreply@example.com> - 2013-12-15 17:20 -0500
Re: How to code () inside quotes Tim Streater <timstreater@greenbee.net> - 2013-12-15 23:10 +0000
Re: How to code () inside quotes Richard Damon <Richard@Damon-Family.org> - 2013-12-15 18:42 -0500
Re: How to code () inside quotes Scott Johnson <noonehome@chalupasworld.com> - 2013-12-15 16:57 -0800
Re: How to code () inside quotes The Natural Philosopher <tnp@invalid.invalid> - 2013-12-16 02:38 +0000
Re: How to code () inside quotes richard <noreply@example.com> - 2013-12-16 00:08 -0500
Re: How to code () inside quotes Tim Streater <timstreater@greenbee.net> - 2013-12-16 09:31 +0000
Re: How to code () inside quotes Arno Welzel <usenet@arnowelzel.de> - 2013-12-16 11:15 +0100
Re: How to code () inside quotes Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-16 16:32 +0000
Re: How to code () inside quotes Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-16 22:02 +0100
Re: How to code () inside quotes Norman Peelman <npeelman@cfl.rr.com> - 2013-12-16 07:24 -0500
| From | richard <noreply@example.com> |
|---|---|
| Date | 2013-12-15 17:20 -0500 |
| Subject | How to code () inside quotes |
| Message-ID | <1lebkr5hftyc8.16rx2wqqe9ifx$.dlg@40tude.net> |
array("this (are) only a test")
what's the legal way of coding the (are)??
[toc] | [next] | [standalone]
| From | Tim Streater <timstreater@greenbee.net> |
|---|---|
| Date | 2013-12-15 23:10 +0000 |
| Message-ID | <151220132310251882%timstreater@greenbee.net> |
| In reply to | #12270 |
In article <1lebkr5hftyc8.16rx2wqqe9ifx$.dlg@40tude.net>, richard
<noreply@example.com> wrote:
> array("this (are) only a test")
>
> what's the legal way of coding the (are)??
WTF are you talking about?
--
Tim
"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[toc] | [prev] | [next] | [standalone]
| From | Richard Damon <Richard@Damon-Family.org> |
|---|---|
| Date | 2013-12-15 18:42 -0500 |
| Message-ID | <p7rru.176036$4q1.54237@en-nntp-12.dc1.easynews.com> |
| In reply to | #12270 |
On 12/15/13, 5:20 PM, richard wrote:
>
>
> array("this (are) only a test")
>
> what's the legal way of coding the (are)??
>
That sure looks legal to me! What makes you think it isn't legal?
[toc] | [prev] | [next] | [standalone]
| From | Scott Johnson <noonehome@chalupasworld.com> |
|---|---|
| Date | 2013-12-15 16:57 -0800 |
| Message-ID | <l8lj64$ksf$1@dont-email.me> |
| In reply to | #12270 |
On 12/15/2013 2:20 PM, richard wrote:
>
>
> array("this (are) only a test")
>
> what's the legal way of coding the (are)??
>
You do realize just asking the question can get you arrested.
Scotty
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-12-16 02:38 +0000 |
| Message-ID | <l8lp2s$bi2$2@news.albasani.net> |
| In reply to | #12278 |
On 16/12/13 00:57, Scott Johnson wrote:
> On 12/15/2013 2:20 PM, richard wrote:
>>
>>
>> array("this (are) only a test")
>>
>> what's the legal way of coding the (are)??
>>
>
> You do realize just asking the question can get you arrested.
>
> Scotty
..and if we told you we'd have to kill you.
--
Ineptocracy
(in-ep-tocβ-ra-cy) β a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
[toc] | [prev] | [next] | [standalone]
| From | richard <noreply@example.com> |
|---|---|
| Date | 2013-12-16 00:08 -0500 |
| Message-ID | <1mu982ruwnyku.8cguby3qiqbs.dlg@40tude.net> |
| In reply to | #12281 |
On Mon, 16 Dec 2013 02:38:20 +0000, The Natural Philosopher wrote:
> On 16/12/13 00:57, Scott Johnson wrote:
>> On 12/15/2013 2:20 PM, richard wrote:
>>>
>>>
>>> array("this (are) only a test")
>>>
>>> what's the legal way of coding the (are)??
>>>
>>
>> You do realize just asking the question can get you arrested.
>>
>> Scotty
>
> ..and if we told you we'd have to kill you.
BTDT.
next!
[toc] | [prev] | [next] | [standalone]
| From | Tim Streater <timstreater@greenbee.net> |
|---|---|
| Date | 2013-12-16 09:31 +0000 |
| Message-ID | <161220130931440284%timstreater@greenbee.net> |
| In reply to | #12282 |
In article <1mu982ruwnyku.8cguby3qiqbs.dlg@40tude.net>, richard
<noreply@example.com> wrote:
> On Mon, 16 Dec 2013 02:38:20 +0000, The Natural Philosopher wrote:
>
> > On 16/12/13 00:57, Scott Johnson wrote:
> >> On 12/15/2013 2:20 PM, richard wrote:
> >>> array("this (are) only a test")
> >>>
> >>> what's the legal way of coding the (are)??
> >> You do realize just asking the question can get you arrested.
> > ..and if we told you we'd have to kill you.
>
> BTDT.
> next!
Next what? Cockup on your part? We await that with baited breath.
--
Tim
"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[toc] | [prev] | [next] | [standalone]
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Date | 2013-12-16 11:15 +0100 |
| Message-ID | <52AED2DE.1010501@arnowelzel.de> |
| In reply to | #12270 |
Am 15.12.2013 23:20, schrieb richard:
> array("this (are) only a test")
>
> what's the legal way of coding the (are)??
array("this (are) only a test")
Or what exactly is not "legal" there?
--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
[toc] | [prev] | [next] | [standalone]
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Date | 2013-12-16 16:32 +0000 |
| Message-ID | <l8n9v9$f8n$1@dont-email.me> |
| In reply to | #12287 |
On Mon, 16 Dec 2013 11:15:58 +0100, Arno Welzel wrote:
> Am 15.12.2013 23:20, schrieb richard:
>
>> array("this (are) only a test")
>>
>> what's the legal way of coding the (are)??
>
> array("this (are) only a test")
>
> Or what exactly is not "legal" there?
It should be:
$arr = array("This is only a test.");
or for a sub-array:
$arr = array( array( "This is only a test." ) );
--
Denis McMahon, denismfmcmahon@gmail.com
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2013-12-16 22:02 +0100 |
| Message-ID | <1672806.7XuLpXusn3@PointedEars.de> |
| In reply to | #12291 |
Denis McMahon wrote:
> On Mon, 16 Dec 2013 11:15:58 +0100, Arno Welzel wrote:
>> Am 15.12.2013 23:20, schrieb richard:
>>> array("this (are) only a test")
>>>
>>> what's the legal way of coding the (are)??
>>
>> array("this (are) only a test")
>>
>> Or what exactly is not "legal" there?
>
> It should be:
>
> $arr = array("This is only a test.");
>
> or for a sub-array:
>
> $arr = array( array( "This is only a test." ) );
A wild guess, as the original code is syntactically correct, assuming it is
followed by β;β (after optional whitespace). It is then parsed as follows:
array ( "this (are) only a test" ) ;
T_ARRAY ( T_CONSTANT_ENCAPSED_STRING ) ;
PointedEars
--
When all you know is jQuery, every problem looks $(olvable).
[toc] | [prev] | [next] | [standalone]
| From | Norman Peelman <npeelman@cfl.rr.com> |
|---|---|
| Date | 2013-12-16 07:24 -0500 |
| Message-ID | <l8mre9$mi9$1@dont-email.me> |
| In reply to | #12270 |
On 12/15/2013 05:20 PM, richard wrote:
>
>
> array("this (are) only a test")
>
> what's the legal way of coding the (are)??
>
What are you expecting to happen?
--
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web