PHP 7's new hashtable implementation
nikic.github.io
PHP 7's new hashtable implementation
1–10 of 137 posts
Re: PHP 7's new hashtable implementation
#2Re: PHP 7's new hashtable implementation
#3What happened to PHP 6?
Re: PHP 7's new hashtable implementation
#4What happened to PHP 6?
tl;dr: They made some bad decisions about Unicode and everyone got burned out.
They skipped 6 because 7 contains none of the Unicode changes and didn't want to confuse people.
Re: PHP 7's new hashtable implementation
#5What happened to PHP 6?
Re: PHP 7's new hashtable implementation
#6Re: PHP 7's new hashtable implementation
#7It would be nice to have separate types for arrays and maps though. I don't understand why they were combined to begin with. Simplicity? Seems like there are more edge cases and gotchas the way things are now.
Re: PHP 7's new hashtable implementation
#8This is great news. PHP doesn't have many structured data types, so arrays (aka maps) are basically used for everything. Any improvement to them will impact the entire application. It would be nice to have separate types for arrays and maps though. I don't understand why they were combined to begin with. Simplicity? Seems like there are more edge cases and gotchas the way things are now.
There is no "hash table" type in PHP user land.
Re: PHP 7's new hashtable implementation
#9This is great news. PHP doesn't have many structured data types, so arrays (aka maps) are basically used for everything. Any improvement to them will impact the entire application. It would be nice to have separate types for arrays and maps though. I don't understand why they were combined to begin with. Simplicity? Seems like there are more edge cases and gotchas the way things are now.
> It would be nice to have separate types for arrays and hash tables though. I don't understand why they were combined to begin with. Simplicity? Seems like there are more edge cases and gotchas the way things are now. There is no "hash table" type in PHP user land.
There are only hash tables that are called "array" for simplicity.
Re: PHP 7's new hashtable implementation
#10This is great news. PHP doesn't have many structured data types, so arrays (aka maps) are basically used for everything. Any improvement to them will impact the entire application. It would be nice to have separate types for arrays and maps though. I don't understand why they were combined to begin with. Simplicity? Seems like there are more edge cases and gotchas the way things are now.
> It would be nice to have separate types for arrays and hash tables though. I don't understand why they were combined to begin with. Simplicity? Seems like there are more edge cases and gotchas the way things are now. There is no "hash table" type in PHP user land.