Home > Demos > fbBackport.php Demo   Backport.php   Backport.php  

Array
(
    [green] => avocado
    [red] => apple
    [yellow] => banana
)
array_diff_assoc($a1, $a2)=Array
(
    [b] => brown
    [c] => blue
    [0] => red
)
ok

sha1(A)=6dcd4ce23d88e2ee9568ba546c007c63d9131c1b
ok

sha1_file(Backport.php)=8ab953fce7d775ec4093797c84fd6c27136dec87

md5_file(Backport.php)=fcdf87a31e4586bf31d794a62eee56eb

array_change_key_case($a)=Array
(
    [a] => A
    [b] => b
    [c] => C
    [d] => d
)

array_change_key_case($a, CASE_UPPER)=Array
(
    [A] => A
    [B] => b
    [C] => C
    [D] => d
)

array_fill(5, 6, banana)=Array
(
    [5] => banana
    [6] => banana
    [7] => banana
    [8] => banana
    [9] => banana
    [10] => banana
)

array_chunk($input_array, 2)=Array
(
    [0] => Array
        (
            [0] => a
            [1] => b
        )

    [1] => Array
        (
            [0] => c
            [1] => d
        )

    [2] => Array
        (
            [0] => e
        )

)

array_chunk($input_array, 2, TRUE)=Array
(
    [0] => Array
        (
            [0] => a
            [1] => b
        )

    [1] => Array
        (
            [2] => c
            [3] => d
        )

    [2] => Array
        (
            [4] => e
        )

)

floatval('122.34343The')=122.34343
floatval('1E02')=100
floatval('+1E02')=100
floatval('-1E02')=-100
floatval('1E+02')=100
floatval('1E-02')=0.01
floatval('+1E+02')=100
floatval('-1E-02')=-0.01
floatval('+1E-02')=0.01
floatval('-1E+02')=-100
$CVSHeader: _freebeer/www/demo/Backport.php,v 1.2 2004/03/07 17:51:33 ross Exp $