I'm getting an error message Warning: implode(): Invalid arguments passed in
I want to sort the properties here...
Super easy but not working yet... minor tweak needed here :
$css = <<<EOF
z-index : 9;
padding: 0;
margin: 0;
line-height: 10px;
EOF;
echo implode ( ';', ( sort ( explode( ';' , $css ) ) ) );
/* Expecting to get :
line-height: 10px;
margin: 0;
padding: 0;
z-index : 9;
*/
Pretty much self explanatory :)...
Small tweak would make this work :)