I tried a lot of things, but none of them seems to work properly...
This is the csv file:

and this is my code:
$file_handle = fopen('file.csv', 'r+');
$positionID = 47901392;
while ($data = fgetcsv ($file_handle, 1000, ";")) {
$prod_id = $data[0];
if($prod_id ==$positionID){
echo "prod_id $prod_id ";
echo "I have to delete row";
}
}
I have to delete row with specific $positionID.