Findes with (obj) ikke i php?
Findes with ikke i php? lige som i Javascript og VBjava script:
with (this) {
blaA = "blaA";
blaB = "blaB";
}
VB:
With obj
.blaA = "blaA"
.blaB = "blaB"
End With
Jeg har prøvet sådan, men det virker ikke:
<?php
class Test {
var $BlaA = "";
var $BlaB = "";
function Test(){
with ($this->) {
blaA = "blaA";
blaB = "blaB";
}
}
}
?>
