3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = '2'; $b = +$a; var_dump($b); ?>

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.0080.00616.64
8.5.50.0120.00518.47
8.5.30.0080.00219.65
8.5.20.0090.00719.43
8.5.10.0090.00616.70
8.5.00.0120.01019.92
8.4.210.0170.00421.41
8.4.180.0160.00519.58
8.4.170.0110.00923.88
8.4.160.0140.01123.73
8.4.150.0060.00616.84
8.4.140.0120.00917.44
8.4.130.0130.00617.89
8.4.120.0050.00420.40
8.4.110.0100.01018.38
8.4.100.0130.00817.63
8.4.90.0070.00217.60
8.4.80.0120.00817.81
8.4.70.0080.00417.50
8.4.60.0130.00717.46
8.4.50.0050.00319.33
8.4.40.0130.01019.31
8.4.30.0370.00917.01
8.4.20.0370.01017.34
8.4.10.0370.01317.18
8.3.300.0130.00820.75
8.3.290.0130.00920.71
8.3.280.0160.00718.25
8.3.270.0150.00916.36
8.3.260.0100.00916.58
8.3.250.0100.00918.78
8.3.240.0110.00816.60
8.3.230.0110.00816.41
8.3.220.0140.00517.01
8.3.210.0120.00716.73
8.3.200.0110.00816.79
8.3.190.0080.00718.32
8.3.180.0090.01018.96
8.3.170.0380.00616.26
8.3.160.0380.00716.23
8.3.150.0340.01016.43
8.3.140.0280.01016.21
8.3.130.0180.00516.19
8.3.120.0320.00516.04
8.3.110.0240.00816.64
8.3.100.0240.00216.57
8.3.90.0330.01116.27
8.3.80.0360.00716.52
8.3.70.0350.00916.41
8.3.60.0350.00716.19
8.3.50.0350.00616.23
8.3.40.0360.00817.26
8.3.30.0270.00917.18
8.3.20.0230.00617.34
8.3.10.0290.00917.34
8.3.00.0120.01017.42
8.2.300.0120.01218.07
8.2.290.0100.00820.42
8.2.280.0120.00616.75
8.2.270.0310.00616.04
8.2.260.0320.00816.55
8.2.250.0290.01016.45
8.2.240.0290.00816.58
8.2.230.0320.01016.22
8.2.220.0310.00716.24
8.2.210.0270.01016.52
8.2.200.0430.00616.30
8.2.190.0290.01015.97
8.2.180.0260.01216.39
8.2.170.0320.00917.41
8.2.160.0340.00817.67
8.2.150.0340.00717.37
8.2.140.0310.01017.32
8.2.130.0370.00717.39
8.2.120.0240.00817.49
8.2.110.0140.00417.65
8.2.100.0310.00817.46
8.2.90.0270.01117.59
8.2.80.0220.01317.49
8.2.70.0260.00917.43
8.2.60.0290.00917.50
8.2.50.0300.00917.46
8.2.40.0250.00717.58
8.2.30.0270.01017.58
8.2.20.0360.00617.43
8.2.10.0310.00517.46
8.2.00.0270.01017.59
8.1.340.0120.00919.80
8.1.320.0140.00516.17

preferences:
25.97 ms | 847 KiB | 5 Q