3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); echo base_convert(num: 'a37334', from_base: 16, to_base: 2);

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.3.60.0070.01018.24
8.3.50.0070.01416.30
8.3.40.0100.01021.77
8.3.30.0110.00418.46
8.3.20.0050.00324.18
8.3.10.0090.00024.66
8.3.00.0000.00826.16
8.2.180.0120.00625.92
8.2.170.0100.01018.75
8.2.160.0170.00022.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0070.00317.68
8.2.110.0090.00020.53
8.2.100.0090.00019.15
8.1.280.0040.01425.92
8.1.270.0050.00324.02
8.1.260.0120.00626.35
8.1.250.0000.00828.09
8.1.240.0090.00318.48
8.1.230.0060.00322.13
8.0.00.0110.00816.66
7.4.130.0080.01116.15
7.4.120.0160.01416.31
7.4.110.0150.00316.28
7.4.100.0100.01016.17
7.4.90.0130.00916.14
7.4.80.0180.00616.47
7.4.70.0200.01016.39
7.4.60.0120.00916.28
7.4.50.0140.01016.31
7.4.40.0120.00916.24
7.4.30.0130.01016.35
7.4.20.0120.01016.30
7.4.10.0110.00816.35
7.4.00.0100.00816.14
7.3.250.0170.00416.12
7.3.240.0120.00816.25
7.3.230.0070.01116.18
7.3.220.0090.00916.12
7.3.210.0140.00816.09
7.3.200.0190.00516.12
7.3.190.0170.00416.19
7.3.180.0140.00716.13
7.3.170.0140.00916.13
7.3.160.0090.00916.11
7.3.150.0130.00916.27
7.3.140.0080.01116.04
7.3.130.0110.00816.07
7.3.120.0140.00616.24
7.3.110.0120.00816.03
7.3.100.0120.00716.15
7.3.90.0070.01116.13
7.3.80.0130.00616.21
7.3.70.0110.00716.11
7.3.60.0120.00816.16
7.3.50.0120.00616.07
7.3.40.0160.00316.19
7.3.30.0090.00916.17
7.3.20.0140.01016.22
7.3.10.0070.01216.15
7.3.00.0140.00816.11
7.2.340.0120.01416.31
7.2.330.0190.00816.24
7.2.320.0180.01016.48
7.2.310.0190.01016.34
7.2.300.0200.00816.36
7.2.290.0200.00816.23
7.2.280.0220.00916.18
7.2.270.0160.01216.34
7.2.260.0220.00316.20
7.2.250.0150.00916.36
7.2.240.0160.00916.18
7.2.230.0130.01316.32
7.2.220.0170.01116.32
7.2.210.0170.00916.28
7.2.200.0210.01016.31
7.2.190.0180.01116.35
7.2.180.0160.01016.29
7.2.170.0180.00916.18
7.2.160.0190.01316.21
7.2.150.0160.01316.47
7.2.140.0110.00916.20
7.2.130.0150.00816.28
7.2.120.0170.00616.24
7.2.110.0180.00816.30
7.2.100.0120.01016.25
7.2.90.0200.01016.19
7.2.80.0120.01016.22
7.2.70.0160.00716.17
7.2.60.0140.00916.29
7.2.50.0140.00816.25
7.2.40.0100.01516.35
7.2.30.0180.00616.32
7.2.20.0130.00816.28
7.2.10.0400.00716.28
7.2.00.0200.00516.37

preferences:
46.23 ms | 401 KiB | 5 Q