Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/12/2007, 11:39
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Qué significa |= ????

Es el operador OR y esta haciendo una comparación BITWISE para agregarsela a $style, solo que la esta acortando. Una versión "larga" del script que pones seria:
Código PHP:
if( $output == "png" ) {
         
$type BCS_IMAGE_PNG;
} else {
         
$type 0;
}

$style $style $type
Saludos.