Lets say I have 2 arrays .
$arr1=array("foo"=>"bar", 1=>"one", 2=>"two");
$arr2=array("h"=>"eich", 3=>"three", 4=>"four");
By using file_put_contents I am able to print the array into a new php file something like this :
<?php
$arr1 = Array
(
"foo"=>"bar",
1=>"one",
2=>"two"
) //need a semicolon here
$arr2 = Array
(
"h"=>"eich",
3=>"three",
4=>"four"
)//need a semicolon here
My question is , How can I get a semicolon after the end of each array ?