<?php

$i = 0;

if(!($i % 1e3)){
    //create breakpoint or something
}