erro PHP de deslocamento indefinido
Estou recebendo o seguinte erro no PHP
Observe o deslocamento indefinido 1: em C: \ wamp \ www \ includes \ imdbgrabber.php linha 36
Aqui está o código PHP que o causa:
<?php
# ...
function get_match($regex, $content)
{
preg_match($regex,$content,$matches);
return $matches[1]; // ERROR HAPPENS HERE
}
O que significa o erro?