Endless list of Celebrity Crushes | Zendaya Coleman (2/-)
@zendaya: “That genuine hatred when you think your foods coming, but they give it to the people next to you and it’s the same thing you just ordered ”
seen from United States
seen from United States

seen from United States

seen from Dominican Republic

seen from China
seen from Australia
seen from Malaysia

seen from Dominican Republic

seen from United States

seen from Italy
seen from China

seen from Australia
seen from China
seen from United States
seen from Uruguay

seen from United States
seen from United States
seen from Dominican Republic

seen from United States

seen from Pakistan
Endless list of Celebrity Crushes | Zendaya Coleman (2/-)
@zendaya: “That genuine hatred when you think your foods coming, but they give it to the people next to you and it’s the same thing you just ordered ”

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
A message I got on TV Tropes today:
And this is the entry in question:
I will concede that it is pretty bare-bones, but not as much as some actual ZCEs I've seen, most of which I personally commented out. What really gets me is that the notification came more than three months after I made the entry, and I can't even ask why because I was suspended from pretty much everything except editing and the TLP earlier this year and am unlikely to be unsuspended. :P
Edit: Clarified just what I'm suspended from.
Listen/purchase: Star Rover II. by DIV I DED
PHP gotcha of the day: tricky arrays
Indexes, keys, values ... they all have some surprises for you
As a PHP programmer you are dealing with arrays every single day, meaning that there is a high probability of hitting some "unexpected" results. In this article we will not deal with array operations and functions.
Try to answer the following questions, we'll explain the results at the end of this article:
a) Problem:
<?php // a.) What is the output of count($array)? $array = array(1 => "Serban", "1" => "Ghita", "John", 2 => "Doe"); ?>
Answer: 2
b) Problem:
<?php // b.) What will the following script display? (1 answer) $array = array('Serban' => 'Ghita', 'John' => 'Smith'); function myName(){ return 'Serban'; } echo $array[myName()]; // 1. Parse error // 2. Ghita // 3. NULL // 4. Notice: Use of undefined constant myName + NULL ?>
Answer: Ghita
c) Problem:
<?php // c.) What is the output of strlen($text) ? // d.) What is the output of count($text) ? $text = 'Serban'; $text[7] = 'Ghita'; ?>
Answer:
8 1 // (ok I know this is not an array question, I'm playing with your mind)
d) Problem:
<?php // e.) What is the resulting key of the value 'Serban' ? $array = array(0 => 'Octav', 1 => 'Bogdan', 2 => 'Marius', 3 => 'Ciprian', 4 => 'Iulian'); foreach($array as $key => $value){ unset($array[$key]); } $array[] = 'Serban'; ?>
Answer: 5
e) Problem:
<?php // f.) What is the result of the var_dump() function? $a = array(false => 'Serban', true => 'Ghita'); $b = array('Serban', 'Ghita'); var_dump($a===$b); ?>
Answer: true
f) Problem:
<?php // g.) What is the output? $a = array(1, 2, 3); $b = &$a[0]; $a2 = $a; $a2[0]++; echo( $a[0] ); ?>
Answer: 2
Answers explained
a) Array keys can only be of integer and string type. '1' will be interpreted as 1, but '01' will be interpreted as '01'. If you provide an array with two identical keys the latter will override the former. If a key is not specified for a value, the maximum of the integer indices is taken and the new key will be that value plus 1.
b) In an array the key between the square brackets [] can be an expression, that means both $arr[test()] and $arr[test($var)] is valid code.
c) and d.) Serban string has a length of 6. $text[7] adds G character on the 8th position and automatically pads the 7th position with a space, resulting Serban G. Obviously count($string) that is not null is always 1. Note that count(null) is 0.
d) Unsetting keys in $array doesn't resets the index value. Doing reset($array) will reset the index, doing unset($array) will destroy the array and reset the index.
e) Remember that array keys can only be strings or integers, so false evaluates to 0 and true to 1. The arrays are identical and the keys are in the same order.
Note that:
<?php $a = array(0 => 'Serban', 1 => 'Ghita'); $b = array(1 => 'Ghita', 0 => 'Serban'); var_dump($a==$b); // bool(true) var_dump($a===$b); // bool(false) ?>
f) When arrays are copied, the "reference status" of their members is preserved.
Question 117 of 171
PHP5 supports which of the following XML parsing methods? (Choose 4)
SAX
FastDOM
DOM
XPath
XML to Object mapping
The answer is 1,3,4,5
FastDOM doesn't exist.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
ZCE 5.3 – Zend Certification
Passed!
開工大吉,賀!
龍年第一件令人開心的好事
Saw a presentation tonight by the beautiful Ben from Zero Emissions Australia. amazing stuff. Please, read it, devour it.
Zend Certified
Recently I received my certificate after passing Zend PHP 5.3 exam. I am glad I passed it, there were some stuff I didn't know very well about before preparation, like namespaces, late static binding, etc. The study guide that goes with exam purchase is pretty decent. I liked its minimalistic approach, so it just tells you the main points and what topics are covered on exam. All other information and detailed explanations should be looked on php.net. I got many questions about "final", "static" keywords, object inheritance. There are many questions with code examples, where you should guess the output. Here is a good article about what is covered on exam: http://devzone.zend.com/article/12647