http://php.net/manual/de/function.intval.php

Rückgabe Werte - Augenscheinlich läuft was falsch.

http://php.net/manual/de/language.types.integer.php#language.types.integer.casting

Was ist, wenn im Text noch unsichtbare Zeichen drin sind?
dann ist 0 okay.

Dieter


Am 19.01.2017 um 12:05 schrieb Ben Ner:
nope:

[current.] => Array
       (
           [dataWrap] => 2
       )

gettype() -> string, Wert: "2"
intval() -> integer, Wert: 0

das muss doch ein PHP Problem sein? verzweifel gerade an sowas banalem ...
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german


_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an