function win($num1, $num2, $num3) {
if ($num1 == $num2) {
return $num1 == $num3 ? 3 : 1;
}
return $num1 == $num3 || $num2 == $num3 ? 1 : 0;
}
<div id="app">
{{message}}
<button @click="changeText">Изменить текст</button>
<div v-if="changed">Текст изменился</div>
</div>
new Vue({
el: "#app",
data: {
message: 'Hello world',
changed: false
},
watch: {
message: function() {
this.changed = true;
}
},
methods: {
changeText: function(){
this.message = "Привет мир";
}
}
})
C:\xampp\php>pear install -a http://pecl.php.net/get/AOP-0.2.2b1.tgz
parsePackageName(): invalid package name "Цa" in "Цa"
invalid package name/package file "Цa"
downloading AOP-0.2.2b1.tgz ...
Starting to download AOP-0.2.2b1.tgz (2,855,061 bytes)
.............................................done: 2,855,061 bytes
4 source files, building
WARNING: php_bin C:\xampp\php\.\php.exe appears to have a suffix \.\php.exe, but
config variable php_suffix does not match
ERROR: The DSP AOP.dsp does not exist.