Tuesday, 26 July 2016

Perbedaan Operator != dan !==

Contoh

$tes = 0 ;
($tes != "" ) // akan mereturn false
($tes !== "" ) // akan mereturn true

Referensi


  1. Comparison Operators, http://php.net/manual/en/language.operators.comparison.php

No comments:

Post a Comment