<?php
$wordFrequencyArray = array();
function countWords($file) use($wordFrequencyArray) {
$content = strtolower(file_get_contents($filename));
Here is a piece of code that I am using.
I get an error on the third line. I have all the matching braces. What could be wrong?
source
share