Translation of "instanceof" in German
We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
Likewise the keyword "instanceof" designates an operator.
Das Schlüsselwort "instanceof" bezeichnet zugleich auch einen Operator.
To fix these errors, you will either need to replace the instanceof operator with the typeof operator, or to make sure you use the function name, instead of the result of its evaluation.
Um diesen Fehler zu beheben, kann entweder der instanceof Operator durch einen typeof Operator ersetzt werden, oder man muss sicher stellen, dass ein Funktionsname statt einem Resultat seines Aufrufes benutzt werden.
Improves code analysis, added PHP up to 7.3 warnings: trailing commas, list ref assignment, instanceof with literal.
Verbessert die Code-Analyse und integriert Warnungen bis zur Version PHP 7.3-: Nachgestellte Kommata, Listenref-Zuweisung, Instanceof mit Literalen.
The instanceof operator was introduced in PHP 5.
Der instanceof Operator wurde in PHP 5 eingeführt.
You might want to define your own error types deriving from Error to be able to throw new MyError() and use instanceof MyError to check the kind of error in the exception handler.
Manchmal möchte man aber einen eigenen Error erstellen, der von Error abgeleitet ist, durch den Aufruf throw new CustomError() geworfen werden kann und durch instanceof CustomError abgefragt werden kann.
For debugging purposes and selective error catching, it is useful to make reason an instanceof Error. Examples
Für Debugging zwecke, sowie gezielte Fehlerverarbeitung ist es empfehlenswert, als reason eine instanceof Error. zu verwenden. Beispiele
The instanceOf function is not currently documented in the XPRESS language chapter.
Die Funktion instanceOf ist gegenwärtig im Kapitel "XPRESS Language" nicht dokumentiert.
instanceof does not throw any error if the variable being tested is not an object, it simply returns FALSE.
instanceof löst keinen Fehler aus, wenn die getestete Variable kein Objekt ist; es gibt dann einfach FALSE zurück.
The parameter must be either an array or an instanceof Traversable.
Example #3 Using instanceof to check if object is not an instanceof a class<? php
Beispiel #3 Verwendung von instanceof, um zu prüfen, ob ein Objekt kein Exemplar einer Klasse ist<? php
Use the Java command instanceof to detect the type of unknown values as shown above.
Its implementation of equals() is similar to the solution in Listing 2 in that is uses the instanceof test.