PHP wird statt MyClass eine Instanz der Klasse __PHP_Incomplete_Class erstellen.
Dieses unvollständige Objekt kennt nicht die Semantik der Methode increment().
php-autoloader.malkusch.deInstead of MyClass PHP creates an instance of __PHP_Incomplete_Class.
This incomplete object doesn't know the semantic of increment().
php-autoloader.malkusch.deDann wird der Klassenname des in der Session gespeicherten Objekts ausgegeben.
Abschließend wird die Methode MyClass::increment() von dem Objekt aufgerufen und das Ergebnis ausgegeben.
Bei der ersten Ausführung laufen alle Beispiele korrekt ab und liefern folgende Ausgabe:
php-autoloader.malkusch.deThe class name of the object in the session is printed out.
Finally the method MyClass::increment() is called on that object and the result is printed out.
During the first execution every example is correct and has following output:
php-autoloader.malkusch.deDie Ausführung dieser Funktion erhöht offensichtlich die Variable g_c um eins. fitIDEA macht nun Folgendes :
Führe den Code bis zum Aufruf von Increment ( ) aus,
Lies den Wert der Variablen g_c,
www.elektronikpraxis.vogel.deThe execution of this function obviously increments the variable g_c by one. fitIDEA now carries out the following steps :
Execute the code until Increment ( ) is requested
Read the value of variable g_c
www.elektronikpraxis.vogel.deMöchtest du ein Wort, eine Phrase oder eine Übersetzung hinzufügen?
Sende uns gern einen neuen Eintrag.