Assume private visibility for all class members by default.
Tüm denetlemeler başarılı oldu
The build was successful.

In most (all?) modern OOP languages class members visibility is assumed to be private and programmer has to consciously set it to public or protected. PHP has the different approach what can cause a security flaws in written scripts. AerScript will not follow this way, as it seems to be conceptually broken.
Bu işleme şunda yer alıyor:
2019-05-17 08:40:41 +02:00
ebeveyn 48ccd7fef0
işleme 55acf8111f
41 değiştirilmiş dosya ile 72 ekleme ve 84 silme

Dosyayı Görüntüle

@@ -15,14 +15,9 @@ class Program {
return $result;
}
void main() {
public void main() {
string $str = 'Example text';
print($this->center_text($str));
}
}
/* Should output
---------------This is some text------------
*/