<?php
var_dump(
5.0 + 3.0,
5.0 - 3.0,
5.0 % 3.0,
5.0 * 3.0,
5.0 | 3.0,
5.0 & 3.0,
5.0 ^ 3.0,
5.0 << 3.0,
5.0 >> 3.0,
5.0 / 3.0,
);
- Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
- float(8)
float(2)
int(2)
float(15)
int(7)
int(1)
int(6)
int(40)
int(0)
float(1.6666666666666667)
- Output for 7.4.0 - 7.4.33
- float(8)
float(2)
int(2)
float(15)
int(7)
int(1)
int(6)
int(40)
int(0)
float(1.6666666666667)
preferences:
91.78 ms | 401 KiB | 123 Q