how to get output of count variable ? : <?php
$count=0;
 
class My extends Thread
{
	 private $myid;
	
//	ini_set('max_execution_time', 0);
	//echo date("Y-m-d H:i:s")."<br/>";
	
	public function __construct($id)
	{
		$this->myid = $id;
	}
	
	public function run()
	{
	
	for($t=0;$j+$t<=100;$t+=10){ //future  buy
		for($k=0;$j+$t+$k<=100;$k+=10){//future sell
			for($l=1;$l<=14;$l++){ // strike
				for($m=0;$j+$k+$m<=300;$m+=10){ //put buy
					for($n=1;$n<=14;$n++){ // strike
						for($o=0;$o<=300;$o+=10){ // call buy
							for($p=1;$p<=14;$p++){ //strike
								if($p==$l)
									continue;								
								for($q=0;$q<=300;$q+=10){ // put sell
									for($r=1;$r<=14;$r++){ // strike
										if($r==$n)
											continue;
										for($s=0;$s<=300;$s+=10){ // call buy
											$count ++;
										}
									}
								}
							}
						}					
					}
				}
			}
			}
		}	
 	}
	
}
echo date("Y-m-d H:i:s")."<br/>";

	$mycalls = [];
	for($i=0;$i<=100;$i+=10)
	{
		$mycalls[$i]= new My($i);
		$mycalls[$i]->start();
		$mycalls[$i]->join();
	}
	
	echo date("Y-m-d H:i:s")."<br/>";
	echo "<br>";
	echo $count;


?>