PHP XMLParser PHP XMLParser is the easy way to convert XML file to associative array. Following example converts XML elements to its associative array prints all elements of Array. (file.xml) <?xml version=”1.0″ encoding=”UTF-8″?> <list> <item type=”Language”> <name>PHP</name> <link>www.php.net</link> </item> <item type=”Database”> <name>Java</name> <link>www.oracle.com/br/technologies/java/‎</link> </item> </list> <?php $xml = simplexml_load_file(“file.xml”); $output … read more

PSR-4 autoloader

PHP PSR-4 autoloader It is great idea to create PSR-4 autoloader packages for PHP. PSR describes a specification for autoloading classes from file paths. It is fully inter-operable, and can be used in addition to any other autoloading specification, including PSR-0. This PSR also describes where to place files that will be autoloaded … read more

Summarize written text

Summarize written text Frequently asked summarize written text When Namibia gained independence in 1990, teenager Pascolena Florry was herding goats in the country’s dry, desolate northern savannah. Her job, unpaid and dangerous, was to protect her parents’ livestock from preying jackals and leopards. She saw wildlife as the enemy, and … read more

Repeat sentence

PTE repeat sentence The university library has most of the necessary books. Most teaching staff make their lecture notes available online. Sydney is Australia’s largest city, chief port and cultural center. The university has a world-renowned school of archaeology. Successful applicants will work with a large team of researchers. All … read more

Read aloud

PTE read aloud PTE read aloud is quite straightforward and it is the first section in speaking module. Here you need to read paragraphs fluently. Frequently asked PTE read aloud Domestication is an evolutionary, rather than a political, development. They were more likely to survive and prosper in an alliance … read more

Re-tell lecture

PTE Re-tell lecture: PTE Re-tell lecture is quite straightforward. Here you need to re-tell what you heard.  The audio begins to play automatically. You may also see an image related to the audio. You  have only 10 seconds to prepare.  Following are the frequently asked topics for PTE Re-tell lecture. PTE Re-tell lecture … read more

Describe Image

PTE Describe image: In PTE describe image section, you need to describe an image. The recording status box displays a countdown until the microphone opens. You have max 25 seconds to prepare. You hear a short tone. After the tone, start speaking immediately. Do not start speaking before the microphone opens. PTE … read more

error: Content is protected !!