Adventure-(PHP-)Framework 1.7-BETA (PHP 5) (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Adventure-(PHP-)Framework 1.7-BETA (PHP 5) (Default branch)
# 1  
Old 07-06-2008
Adventure-(PHP-)Framework 1.7-BETA (PHP 5) (Default branch)

The Adventure-(PHP-)Framework is a Web development framework that helps you design and create object oriented and reusable PHP Web applications. It features a unique DOM model, the generic page controller component, and a set of shipped XML tag libraries to build GUIs based on XML/HTML templates. The framework core contains components like front controller, global benchmark concept, global error handling, and a configuration management class. It includes complete modules like a guestbook, a comment function, and a generic pager.License: GNU General Public License v2Changes:
Because of the introduction of the registry and a new initialization process, complex configuration (INIT files) are gone and the adaption of the core parameters is much easier. Thereby, the registry contains not only the basic configuration parameters, but can also be used as a central store for application parameters. Due to this large change, the entire documentation was updated to fit the new configuration techniques and the registry component. The class reference table now contains a chapter about the usage of the registry, and the beginner resources have been updated.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
GMP_HAMDIST(3)								 1							    GMP_HAMDIST(3)

gmp_hamdist - Hamming distance

SYNOPSIS
int gmp_hamdist (GMP $a, GMP $b) DESCRIPTION
Returns the hamming distance between $a and $b. Both operands should be non-negative. PARAMETERS
o $a -Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a numeric string provided that it is possible to convert the latter to a number. It should be positive. o $b -Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a numeric string provided that it is possible to convert the latter to a number. It should be positive. RETURN VALUES
A GMP number resource in PHP 5.5 and earlier, or a GMP object in PHP 5.6 and later. EXAMPLES
Example #1 gmp_hamdist(3) example <?php $ham1 = gmp_init("1001010011", 2); $ham2 = gmp_init("1011111100", 2); echo gmp_hamdist($ham1, $ham2) . " "; /* hamdist is equivalent to: */ echo gmp_popcount(gmp_xor($ham1, $ham2)) . " "; ?> The above example will output: 6 6 SEE ALSO
gmp_popcount(3), gmp_xor(3). PHP Documentation Group GMP_HAMDIST(3)