Results 1 to 3 of 3
-
25th Apr 2011, 04:43 PM #1OPMember
A small problem
Can someone please tell me what does this error mean?
Any help in solving this would be appreciated.CloudShadow Reviewed by CloudShadow on . A small problem Can someone please tell me what does this error mean? http://uimgz.com/i/0p0X5G9K1T8J8.jpg Any help in solving this would be appreciated. :) Rating: 5
-
25th Apr 2011, 06:11 PM #2Respected Member
Showing lines 10-26 of the code might help.
I found this on php.net...<?php
$a = "1"; // $a is a string
$a[0] = "f"; // What about string offsets? What happens?
?>
Since php (for historical reasons) supports indexing into strings via offsets using the same syntax as array indexing, the example above leads to a problem: should $a become an array with its first element being "f", or should "f" become the first character of the string $a?
The current versions of php interpret the second assignment as a string offset identification, so $a becomes "f", the result of this automatic conversion however should be considered undefined.
-
25th Apr 2011, 06:20 PM #3OPMember
nvm
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Small problem
By t3od0r in forum General DiscussionReplies: 10Last Post: 15th Feb 2011, 05:49 PM -
Small Footer Problem (<div> problem ??)
By Ashleyuk1984 in forum Technical Help Desk SupportReplies: 2Last Post: 26th Jan 2011, 02:53 PM -
Small problem with my pc?
By lig}{tning in forum Technical Help Desk SupportReplies: 8Last Post: 18th Oct 2010, 04:11 PM -
small problem
By werox1337 in forum General DiscussionReplies: 7Last Post: 7th Jun 2010, 09:02 AM
themaCreator - create posts from...
Version 3.24 released. Open older version (or...