Jump to content

$string= 'abcdefg'; echo $string[4];


angelcool

Recommended Posts

Hello community,

 

Does anyone know where exactly in the php manual is explained the next functionality:

 

$string= 'abcdefg';

echo $string[4];

 

...this works and outputs: 'e'

 

this look like some sort of array, but I just can find it explained in the php manual.

 

Any link for an exact explanation will be apreciated.

 

Thank you.

Angel

 

 

Link to comment
https://forums.phpfreaks.com/topic/131549-string-abcdefg-echo-string4/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.