3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = M_PI; echo "$f\n"; ini_set('precision', 2); echo "$f\n";

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.4.120.0080.01224.17
8.4.110.0140.00620.33
8.4.100.0100.01018.93
8.4.90.0090.01122.25
8.4.80.0030.00620.46
8.4.70.0090.00817.82
8.4.60.0140.00618.55
8.4.50.0090.01118.70
8.4.40.0100.01017.64
8.4.30.0070.01418.69
8.4.20.0190.00021.60
8.4.10.0040.00419.48
8.3.250.0120.00718.81
8.3.240.0070.00616.92
8.3.230.0040.00416.25
8.3.220.0130.00518.79
8.3.210.0120.00818.47
8.3.200.0060.00216.42
8.3.190.0070.00718.72
8.3.180.0100.00816.85
8.3.170.0060.00318.96
8.3.160.0040.00816.67
8.3.150.0120.00616.92
8.3.140.0080.00016.36
8.3.130.0000.00816.68
8.3.120.0120.00819.09
8.3.110.0070.00320.94
8.3.100.0040.00416.39
8.3.90.0090.00918.16
8.3.80.0350.01330.84
8.3.70.0370.01030.84
8.3.60.0360.01130.84
8.3.50.0090.00930.84
8.3.40.0320.00730.84
8.3.30.0300.00730.84
8.3.20.0300.00330.84
8.3.10.0300.00830.84
8.3.00.0360.00330.84
8.2.290.0030.00820.57
8.2.280.0070.01218.43
8.2.270.0180.00017.11
8.2.260.0070.00416.55
8.2.250.0060.00318.18
8.2.240.0080.00818.63
8.2.230.0040.00422.58
8.2.220.0090.00024.06
8.2.210.0040.00426.77
8.2.200.0320.00730.84
8.2.190.0360.00430.84
8.2.180.0210.00530.84
8.2.170.0230.00830.84
8.2.160.0250.01430.84
8.2.150.0150.00630.84
8.2.140.0540.00330.84
8.2.130.0300.01330.84
8.2.120.0290.01130.84
8.2.110.0370.00730.84
8.2.100.0260.01630.84
8.2.90.0340.00930.84
8.2.80.0350.00330.84
8.2.70.0150.01230.84
8.2.60.0050.00530.84
8.2.50.0140.00730.84
8.2.40.0180.00330.84
8.2.30.0120.00630.84
8.2.20.0140.00530.84
8.2.10.0090.00930.84
8.2.00.0120.00630.84
8.1.330.0140.00722.00
8.1.320.0130.00518.39
8.1.310.0000.00818.21
8.1.300.0060.00316.60
8.1.290.0380.00530.84
8.1.280.0350.00830.84
8.1.270.0380.00630.84
8.1.260.0370.00630.84
8.1.250.0360.00630.84
8.1.240.0330.00430.84
8.1.230.0270.01030.84
8.1.220.0260.01230.84
8.1.210.0320.00430.84
8.1.200.0280.00930.84
8.1.190.0310.00530.84
8.1.180.0340.00430.84
8.1.170.0480.00830.84
8.1.160.0250.01130.84
8.1.150.0330.00730.84
8.1.140.0220.01130.84
8.1.130.0210.00330.84
8.1.120.0130.00430.84
8.1.110.0160.00330.84
8.1.100.0370.00330.84
8.1.90.0280.01030.84
8.1.80.0240.01630.84
8.1.70.0380.01330.84
8.1.60.0450.00330.84
8.1.50.0280.01230.84
8.1.40.0370.00730.84
8.1.30.0310.01030.84
8.1.20.0270.01630.84
8.1.10.0280.00930.84
8.1.00.0260.00930.84

preferences:
30.56 ms | 403 KiB | 5 Q