3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'value' => 123, 'value2'=>12345678901234567890 ); $enc = json_encode($data); $dec = json_decode( $enc, true ); var_dump( ($data['value2'] === $dec['value2']) );

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.40.0090.00618.63
8.3.30.0080.00618.76
8.3.20.0040.00420.34
8.3.10.0050.00321.90
8.3.00.0070.00020.95
8.2.170.0040.01422.96
8.2.160.0040.01722.13
8.2.150.0000.00924.18
8.2.140.0000.00824.66
8.2.130.0090.00622.01
8.2.120.0000.00826.35
8.2.110.0060.00620.58
8.2.100.0090.00317.91
8.2.90.0040.00719.26
8.2.80.0040.00417.97
8.2.70.0000.00817.38
8.2.60.0050.00317.91
8.2.50.0050.00318.10
8.2.40.0030.00620.42
8.2.30.0040.00421.01
8.2.20.0040.00418.17
8.2.10.0050.00318.12
8.2.00.0020.00518.15
8.1.270.0040.00422.06
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0060.00321.95
8.1.230.0040.00819.20
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0080.00018.35
8.1.160.0040.00419.00
8.1.150.0080.00020.64
8.1.140.0000.00719.56
8.1.130.0030.00318.82
8.1.120.0060.00317.41
8.1.110.0040.00417.30
8.1.100.0060.00317.45
8.1.90.0040.00417.34
8.1.80.0030.00517.37
8.1.70.0000.00717.43
8.1.60.0000.00817.57
8.1.50.0040.00417.36
8.1.40.0040.00417.30
8.1.30.0070.00017.51
8.1.20.0020.00517.57
8.1.10.0040.00417.55
8.1.00.0090.00017.49
8.0.300.0060.00319.90
8.0.290.0030.00616.75
8.0.280.0030.00318.34
8.0.270.0070.00017.07
8.0.260.0080.00016.68
8.0.250.0030.00316.92
8.0.240.0030.00516.68
8.0.230.0030.00616.80
8.0.220.0070.00016.71
8.0.210.0000.00716.69
8.0.200.0000.00616.88
8.0.190.0050.00216.80
8.0.180.0030.00716.82
8.0.170.0030.00316.86
8.0.160.0030.00916.90
8.0.150.0030.00516.67
8.0.140.0000.00716.80
8.0.130.0030.00513.20
8.0.120.0040.00416.69
8.0.110.0080.00016.74
8.0.100.0000.00716.70
8.0.90.0000.00716.82
8.0.80.0090.00816.79
8.0.70.0040.00416.72
8.0.60.0040.00316.76
8.0.50.0080.00016.71
8.0.30.0120.00717.13
8.0.20.0120.01017.40
8.0.10.0070.00016.82
8.0.00.0070.01316.77
7.4.330.0000.00515.55
7.4.320.0030.00316.63
7.4.300.0000.00616.49
7.4.290.0030.00616.47
7.4.280.0000.00716.49
7.4.270.0070.00016.60
7.4.260.0070.00016.58
7.4.250.0070.00016.42
7.4.240.0030.00316.50
7.4.230.0070.00016.60
7.4.220.0140.00716.56
7.4.210.0070.00716.57
7.4.200.0030.00316.35
7.4.160.0090.01016.48
7.4.150.0100.01317.40
7.4.140.0100.00817.86
7.4.130.0130.00516.58
7.4.120.0100.01016.50
7.3.330.0000.00613.07
7.3.320.0060.00013.15
7.3.310.0040.00416.20
7.3.300.0030.00316.17
7.3.290.0070.00916.23
7.3.280.0080.00916.20
7.3.270.0100.01317.40
7.3.260.0090.00816.44
7.3.250.0130.00416.36
7.3.240.0080.01116.36
7.0.180.0400.01014.27

preferences:
39.37 ms | 400 KiB | 5 Q