[ create a new paste ] login | about

Link: http://codepad.org/x3mTSivo    [ raw code | output | fork ]

PHP, pasted on Jun 26:
1
2
3
4
5
6
<?php
    $colors = array('apple' => 'red',
                    'cheese' => 'white',
                    'leaf' => 'green');
    echo "Your cheese is {$colors[cheese]}.";
?>


Output:
1
Your cheese is white.


Create a new paste based on this one


Comments: