3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set( 'serialize_precision', -1 ); var_dump(json_encode(0.38 * 0.1, JSON_PRETTY_PRINT));

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.20.0100.01020.06
8.4.10.0050.00517.42
8.3.150.0150.00418.89
8.3.140.0040.00418.97
8.3.130.0050.00318.35
8.3.120.0060.00318.93
8.3.110.0000.01020.94
8.3.100.0000.00924.06
8.3.90.0110.00726.77
8.3.80.0100.00017.97
8.3.70.0120.00418.44
8.3.60.0050.01018.14
8.3.50.0050.00817.33
8.3.40.0070.00718.70
8.3.30.0060.00918.54
8.3.20.0060.00318.35
8.3.10.0000.00823.61
8.3.00.0040.00419.55
8.2.260.0000.00816.34
8.2.250.0050.00316.73
8.2.240.0030.00617.10
8.2.230.0040.00422.58
8.2.220.0030.00637.54
8.2.210.0080.00026.77
8.2.200.0060.00318.04
8.2.190.0110.00416.58
8.2.180.0190.00316.50
8.2.170.0100.00722.96
8.2.160.0120.00320.30
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0080.00019.23
8.2.110.0030.00622.07
8.2.100.0100.00317.59
8.2.90.0060.00317.50
8.2.80.0040.00418.66
8.2.70.0060.00317.50
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0040.00417.86
8.2.30.0110.00017.98
8.2.20.0000.00717.91
8.2.10.0030.00617.80
8.2.00.0030.00617.49
8.1.310.0120.00316.36
8.1.300.0050.00517.79
8.1.290.0040.00730.84
8.1.280.0160.00625.92
8.1.270.0050.00220.47
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00320.39
8.1.230.0030.00917.57
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0030.00516.97
8.1.180.0050.00318.10
8.1.170.0040.00418.57
8.1.160.0000.00918.67
8.1.150.0000.00718.78
8.1.140.0000.00720.25
8.1.130.0030.00319.98
8.1.120.0000.00717.39
8.1.110.0040.00317.32
8.1.100.0050.00317.21
8.1.90.0040.00417.32
8.1.80.0030.00617.21
8.1.70.0030.00317.23
8.1.60.0040.00417.39
8.1.50.0040.00417.29
8.1.40.0000.00817.28
8.1.30.0000.00817.50
8.1.20.0030.00517.52
8.1.10.0000.00817.38
8.1.00.0030.00617.34
8.0.300.0030.00318.77
8.0.290.0070.00016.63
8.0.280.0070.00018.27
8.0.270.0070.00017.04
8.0.260.0040.00420.23
8.0.250.0030.00716.72
8.0.240.0000.00616.74
8.0.230.0030.00316.70
8.0.220.0030.00316.76
8.0.210.0050.00316.73
8.0.200.0030.00316.82
8.0.190.0040.00716.68
8.0.180.0060.00316.80
8.0.170.0050.00316.77
8.0.160.0060.00316.66
8.0.150.0070.00016.77
8.0.140.0030.00316.72
8.0.130.0030.00313.14
8.0.120.0050.00316.77
8.0.110.0080.00016.75
8.0.100.0000.00716.79
8.0.90.0000.00716.73
8.0.80.0030.01316.76
8.0.70.0040.00416.60
8.0.60.0040.00416.79
8.0.50.0070.00016.87
8.0.30.0110.00816.90
8.0.20.0090.01117.40
8.0.10.0000.00716.71
8.0.00.0090.00916.69
7.4.330.0000.00615.55
7.4.320.0060.00016.46
7.4.300.0000.00716.44
7.4.290.0070.00016.36
7.4.280.0070.00016.48
7.4.270.0050.00316.45
7.4.260.0030.00716.45
7.4.250.0070.00016.36
7.4.240.0030.00316.45
7.4.230.0000.00816.21
7.4.220.0040.00416.46
7.4.210.0080.00716.39
7.4.200.0070.00016.25
7.4.160.0130.00316.44
7.4.140.0100.00717.86
7.4.130.0130.00616.40
7.4.120.0130.00816.25
7.4.110.0100.01316.33
7.4.100.0150.00916.36
7.4.90.0120.00916.36
7.4.80.0100.01019.39
7.4.70.0030.01516.30
7.4.60.0090.00616.20
7.4.50.0060.00916.10
7.4.40.0070.01016.23
7.4.00.0060.01014.77
7.3.330.0000.00512.96
7.3.320.0000.00512.99
7.3.310.0050.00316.23
7.3.300.0000.00716.17
7.3.290.0040.00416.04
7.3.280.0100.00916.09
7.3.260.0070.01316.25
7.3.240.0110.00616.15
7.3.230.0130.00316.21
7.3.210.0070.01016.07
7.3.200.0040.01216.47
7.3.190.0030.01416.36
7.3.180.0060.01316.41
7.3.170.0110.00616.15
7.3.160.0060.01016.23
7.2.330.0140.00316.18
7.2.320.0150.00816.24
7.2.310.0030.01316.31
7.2.300.0060.01216.26
7.2.290.0100.00716.35
7.2.110.3340.01014.29
7.2.100.3060.01014.68
7.2.90.3710.01314.38
7.2.80.3100.00714.30
7.2.70.1670.01014.69
7.2.60.0460.00714.73
7.2.50.0180.01714.36
7.2.40.1050.01514.86
7.2.30.0110.00814.98
7.2.20.3740.00714.88
7.2.10.2620.00714.65
7.2.00.0350.00014.53
7.1.230.2710.01013.25
7.1.220.2970.00313.60
7.1.210.3170.01013.35
7.1.200.3450.00313.67
7.1.190.2540.00613.76
7.1.180.1510.01013.60
7.1.170.0130.00813.64
7.1.160.0560.00613.87
7.1.150.2580.00313.87
7.1.140.0530.00613.86
7.1.130.0140.00613.66
7.1.120.0510.00313.67
7.1.110.2540.00713.97
7.1.100.0610.00713.97
7.1.90.1650.01013.88
7.1.80.0110.00313.59
7.1.70.1870.00913.90
7.1.60.0250.00931.67
7.1.50.0700.00631.61
7.1.40.0550.00331.62
7.1.30.1170.00931.30
7.1.20.0310.01331.79
7.1.10.0140.01013.41
7.1.00.1690.00313.67
5.6.380.0120.00613.87

preferences:
33.28 ms | 403 KiB | 5 Q