PHP Programing language

How can Assigning value in Array
Previous Home Next
<html>
<head>
<title>Assigning value in Array</title>
</head>
<body>
<?php
$a;
function assign_key() {
        return 'd';
    }
    $a['a'] = 1;
    $a['b'] = 2;
    $a['c'] = 3;
    $a[assign_key()] = 4;
	    ?>
</body>
</html>
Previous Home Next

Tolal:0 Click:

Show All Comments

Did not find what you were looking for leave your name and message. We will revert within 24 hours
Name:
eMail:
Comment / Feedback: