PHP Back to the Win32 Shootout
Back to dada's perl lab

[The Original Shootout]   [NEWS]   [FAQ]   [Methodology]   [Platform Details]   [Acknowledgements]   [Scorecard]  
PHP
Tested VersionPHP 4.3.1 (cli) (built: Feb 15 2003 23:07:00) Copyright (c) 1997-2002 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
Home Pagehttp://www.php.net
Downloadhttp://www.php.net/downloads.php
View All Source Code For PHP

(Ranks in Red in the table below are those which fall below the average Rank for this language over all tests.
The corresponding programs could possibly benefit from further optimization.)
Test Source Code Avg Rank: 34 Avg Rank: 35 Avg Rank: 12 Log
CPU Rank Mem Rank LOC Rank
Ackermann's Function ackermann.php T (T) * T (T) * 10 10 log
Array Access ary3.php 33.39 35 4312 38 13 10 log
Count Lines/Words/Chars wc.php 7.66 31 3496 31 13 11 log
Fibonacci Numbers fibo.php 49.84 47 2884 42 8 10 log
Hash (Associative Array) Access hash.php 1.78 20 11580 29 10 6 log
Hashes, Part II hash2.php 12.47 27 5168 29 10 5 log
Heapsort heapsort.php 18.42 37 11580 39 46 8 log
Hello World hello.php 11.47 37 2796 42 3 29 log
Matrix Multiplication matrix.php 53.27 33 3280 31 34 10 log
Nested Loops nestedloop.php 57.93 48 2828 42 12 9 log
Random Number Generator random.php 11.84 43 2880 39 16 17 log
Reverse a File reversefile.php F (F) * F (F) * 7 15 log
Sieve of Erathostenes sieve.php 127.16 43 4760 43 17 10 log
Spell Checker spellcheck.php 7.99 24 7720 25 14 17 log
String Concatenation strcat.php 0.15 18 3220 32 9 16 log
Sum a Column of Integers sumcol.php 16.90 36 2848 33 7 16 log
*Test Implemented but not measured (timeout or error).
Tests Not Implemented For This Language:
List Operations, Word Frequency Count, Object Instantiation, Statistical Moments, Echo Client/Server, Method Calls, Exception Mechanisms, Regular Expression Matching, Producer/Consumer Threads


Back to the Win32 Shootout
Back to dada's perl lab
Send comments or suggestions to dada@perl.it