3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = '123'; $integer = (INT) $string;

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.60.0140.00316.61
8.5.50.0100.00816.52
8.5.30.0090.00818.08
8.5.20.0080.01020.04
8.5.10.0110.00816.62
8.5.00.0120.00720.01
8.4.210.0090.01021.14
8.4.180.0130.00821.41
8.4.170.0150.00723.66
8.4.160.0110.01223.73
8.4.150.0090.00416.73
8.4.140.0120.00917.47
8.4.130.0130.00718.02
8.4.120.0060.01324.22
8.4.110.0150.00518.54
8.4.100.0140.00617.61
8.4.90.0100.00517.57
8.4.80.0330.00718.51
8.4.70.0390.00917.29
8.4.60.0390.01017.65
8.4.50.0220.00417.37
8.4.40.0440.00517.13
8.4.30.0420.01017.33
8.4.20.0410.01217.34
8.4.10.0490.00417.04
8.3.300.0090.01122.61
8.3.290.0050.00520.70
8.3.280.0090.01018.23
8.3.270.0120.00716.61
8.3.260.0130.00716.74
8.3.250.0100.00818.68
8.3.240.0100.00717.01
8.3.230.0110.00716.48
8.3.220.0260.00918.92
8.3.210.0440.00616.48
8.3.200.0280.00715.97
8.3.190.0210.00816.02
8.3.180.0310.00816.63
8.3.170.0190.00516.39
8.3.160.0200.00316.80
8.3.150.0400.00916.43
8.3.140.0460.00616.41
8.3.130.0360.01116.55
8.3.120.0360.00916.40
8.3.110.0310.01216.50
8.3.100.0410.00916.40
8.3.90.0370.00816.65
8.3.80.0390.01016.33
8.3.70.0420.00816.29
8.3.60.0370.00916.16
8.3.50.0340.01216.00
8.3.40.0330.00917.38
8.3.30.0180.00717.11
8.3.20.0320.00717.26
8.3.10.0360.00617.16
8.3.00.0150.00717.13
8.2.300.0100.01018.96
8.2.290.0140.00520.67
8.2.280.0340.00816.56
8.2.270.0240.00216.52
8.2.260.0300.00316.24
8.2.250.0350.00716.23
8.2.240.0380.00416.22
8.2.230.0270.00816.21
8.2.220.0120.00716.32
8.2.210.0190.00116.25
8.2.200.0320.00516.20
8.2.190.0320.00616.05
8.2.180.0260.00316.53
8.2.170.0400.00517.67
8.2.160.0230.00417.48
8.2.150.0210.00517.46
8.2.140.0180.00217.51
8.2.130.0150.00417.36
8.2.120.0380.00917.38
8.2.110.0350.00817.00
8.2.100.0350.00717.34
8.2.90.0350.00817.52
8.2.80.0310.00617.36
8.2.70.0170.00317.68
8.2.60.0150.00517.45
8.2.50.0320.00717.29
8.2.40.0300.01017.44
8.2.30.0360.00117.37
8.2.20.0420.00617.34
8.2.10.0160.00817.57
8.2.00.0320.00717.56
8.1.340.0120.00821.66

preferences:
49.31 ms | 840 KiB | 5 Q