<?php

   $string = "11092018";

   $formatada = substr($string,0,2).'-'.substr($string,2,2).'-'.substr($string,4,4);
   echo $formatada;
   