Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jrockway
on June 10, 2011
|
parent
|
context
|
favorite
| on:
PHP Hacking aka trying to push PHP internals forwa...
So, are strings in PHP cstrings, or are they a length/address pair?
roel_v
on June 10, 2011
|
next
[–]
Pascal-style, so size/address. Technically, strings don't need to be null-terminated, but many libraries expect they are so many are 'both' in a way.
pbiggar
on June 10, 2011
|
prev
[–]
length/address pair.
jrockway
on June 10, 2011
|
parent
[–]
I see. Why is strlen such a hit then?
pbiggar
on June 10, 2011
|
root
|
parent
[–]
function call overheard. isset is a builtin.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: