macOS Sierra, Version 10.12
1.3 GHz (i5-4250U) dual-core Intel Core i5 with 3 MB shared L3 cache
Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin16.0.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Configure line: YACC=/usr/local/opt/bison27/bin/bison ./configure --enable-phpdbg --disable-all --disable-cgi --enable-opcache
Array with string keys to object cast, 100000000 iterations:
* 9.3665030002594s
Array with integer keys to object cast, 100000000 iterations:
* 9.3693268299103s
Array with string and integer keys to object cast, 100000000 iterations:
* 9.3166899681091s
stdClass with non-numeric keys to array cast, 100000000 iterations:
* 4.6070840358734s
stdClass with non-numeric keys get_object_vars(), 100000000 iterations:
* 5.6828849315643s
stdClass with numeric keys to array cast, 100000000 iterations:
* 4.544949054718s
stdClass with numeric keys get_object_vars(), 100000000 iterations:
* 5.6619122028351s
stdClass with numeric and non-numeric keys to array cast, 100000000 iterations:
* 4.6021101474762s
stdClass with numeric and non-numeric keys get_object_vars(), 100000000 iterations:
* 5.6313982009888s
Custom class with non-numeric declared properties to array cast, 100000000 iterations:
* 10.43790102005s
Custom class with non-numeric declared properties get_object_vars(), 100000000 iterations:
* 28.866168022156s
Array with string keys to object cast, 100000000 iterations:
* 11.01106095314s
Array with integer keys to object cast, 100000000 iterations:
* 37.67609000206s
Array with string and integer keys to object cast, 100000000 iterations:
* 30.588332891464s
stdClass with non-numeric keys to array cast, 100000000 iterations:
* 5.4515690803528s
stdClass with non-numeric keys get_object_vars(), 100000000 iterations:
* 6.5059370994568s
stdClass with numeric keys to array cast, 100000000 iterations:
* 16.314330101013s
stdClass with numeric keys get_object_vars(), 100000000 iterations:
* 17.18993806839s
stdClass with numeric and non-numeric keys to array cast, 100000000 iterations:
* 16.893738031387s
stdClass with numeric and non-numeric keys get_object_vars(), 100000000 iterations:
* 17.094678878784s
Custom class with non-numeric declared properties to array cast, 100000000 iterations:
* 10.945954084396s
Custom class with non-numeric declared properties get_object_vars(), 100000000 iterations:
* 27.078000068665s
Array with string keys to object cast, 100000000 iterations:
* 10.461206912994s
Array with integer keys to object cast, 100000000 iterations:
* 37.209656953812s
Array with string and integer keys to object cast, 100000000 iterations:
* 29.648227930069s
stdClass with non-numeric keys to array cast, 100000000 iterations:
* 5.6267850399017s
stdClass with non-numeric keys get_object_vars(), 100000000 iterations:
* 6.5360980033875s
stdClass with numeric keys to array cast, 100000000 iterations:
* 16.832045078278s
stdClass with numeric keys get_object_vars(), 100000000 iterations:
* 17.554226875305s
stdClass with numeric and non-numeric keys to array cast, 100000000 iterations:
* 17.415673017502s
stdClass with numeric and non-numeric keys get_object_vars(), 100000000 iterations:
* 18.347217082977s
Custom class with non-numeric declared properties to array cast, 100000000 iterations:
* 11.410578012466s
Custom class with non-numeric declared properties get_object_vars(), 100000000 iterations:
* 27.630895853043s