3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_encode([ 'data' => [ 'type' => 'customers', 'attributes' => [ // All those should fail 'title' => 'Monsieur', 'birth_date' => '18 years old', 'email' => 'monsieur@', 'phone' => 'CALL-ME', ], ], ], 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.3.60.0110.00718.23
8.3.50.0150.00016.13
8.3.40.0110.00318.48
8.3.30.0040.01118.43
8.3.20.0000.00721.60
8.3.10.0050.00321.69
8.3.00.0080.00019.68
8.2.180.0100.01016.32
8.2.170.0070.01422.96
8.2.160.0070.00719.09
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00420.38
8.2.120.0050.00326.35
8.2.110.0000.00922.25
8.2.100.0060.00617.49
8.2.90.0080.00019.09
8.2.80.0060.00319.10
8.2.70.0040.00417.50
8.2.60.0040.00418.04
8.2.50.0000.00918.10
8.2.40.0000.00720.41
8.2.30.0050.00219.11
8.2.20.0040.00417.86
8.2.10.0040.00417.99
8.2.00.0040.00417.89
8.1.280.0060.00925.92
8.1.270.0110.00021.89
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00423.97
8.1.230.0080.00323.98
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0090.00017.10
8.1.190.0030.00617.10
8.1.180.0030.00518.10
8.1.170.0000.00718.47
8.1.160.0050.00218.73
8.1.150.0000.00718.67
8.1.140.0040.00419.36
8.1.130.0040.00418.73
8.1.120.0030.00517.31
8.1.110.0070.00017.32
8.1.100.0000.00717.29
8.1.90.0040.00417.25
8.1.80.0030.00317.28
8.1.70.0000.00717.24
8.1.60.0040.00417.51
8.1.50.0000.00817.27
8.1.40.0060.00317.27
8.1.30.0080.00017.51
8.1.20.0000.00817.52
8.1.10.0000.00817.36
8.1.00.0050.00217.26
8.0.300.0030.00618.77
8.0.290.0000.00816.63
8.0.280.0050.00218.35
8.0.270.0040.00417.18
8.0.260.0050.00217.09
8.0.250.0000.00716.79
8.0.240.0000.00716.71
8.0.230.0020.00816.87
8.0.220.0070.00016.75
8.0.210.0030.00316.74
8.0.200.0060.00616.81
8.0.190.0030.00616.77
8.0.180.0040.00416.71
8.0.170.0070.00016.63
8.0.160.0030.00416.79
8.0.150.0050.00316.73
8.0.140.0040.00416.76
8.0.130.0000.00513.18
8.0.120.0040.00416.60
8.0.110.0000.00716.63
8.0.100.0000.00716.75
8.0.90.0070.00016.55
8.0.80.0080.00816.76
8.0.70.0000.00716.78
8.0.60.0070.00016.70
8.0.50.0000.00716.70
8.0.30.0070.01116.90
8.0.20.0090.00917.40
8.0.10.0050.00316.94
8.0.00.0100.01016.58
7.4.330.0000.00515.55
7.4.320.0070.00016.47
7.4.300.0000.00616.48
7.4.290.0030.00316.45
7.4.280.0050.00316.43
7.4.270.0000.00616.37
7.4.260.0080.00016.34
7.4.250.0030.00316.37
7.4.240.0080.00016.50
7.4.230.0040.00316.56
7.4.220.0080.00916.44
7.4.210.0040.01016.50
7.4.200.0080.00016.54
7.4.160.0080.00916.33
7.4.150.0030.01417.40
7.4.140.0080.01217.86
7.4.130.0090.00916.37
7.4.120.0140.00616.26
7.4.110.0130.00416.53
7.4.100.0110.00716.28
7.4.90.0080.00816.36
7.4.80.0000.01719.39
7.4.70.0080.00816.34
7.4.60.0070.01416.54
7.4.50.0060.00916.33
7.4.40.0080.00816.32
7.4.30.0060.00916.47
7.4.00.0050.00914.85
7.3.330.0030.00313.03
7.3.320.0050.00012.86
7.3.310.0070.00015.98
7.3.300.0040.00416.12
7.3.290.0100.00816.12
7.3.280.0070.00916.12
7.3.270.0130.00317.40
7.3.260.0170.00316.31
7.3.250.0130.00716.35
7.3.240.0090.00916.13
7.3.230.0060.01116.39
7.3.210.0060.01416.10
7.3.200.0070.01016.35
7.3.190.0150.00316.16
7.3.180.0000.01616.37
7.3.170.0090.01216.36
7.3.160.0160.00016.23
7.3.120.0090.00914.78
7.3.110.0150.00314.66
7.3.100.0060.00614.55
7.3.90.0120.00614.46
7.3.80.0120.00314.59
7.3.70.0000.01614.74
7.3.60.0030.01014.71
7.3.50.0040.01114.82
7.3.40.0060.00614.72
7.3.30.0060.01014.51
7.3.20.0030.00916.62
7.3.10.0080.00416.59
7.3.00.0000.01116.53
7.2.330.0090.00916.45
7.2.320.0130.00316.15
7.2.310.0150.00916.42
7.2.300.0110.00716.49
7.2.290.0130.00316.57
7.2.250.0030.01014.65
7.2.240.0110.00915.00
7.2.230.0070.01014.98
7.2.220.0090.00614.93
7.2.210.0000.01414.86
7.2.200.0060.00314.67
7.2.190.0090.00614.75
7.2.180.0000.01414.89
7.2.170.0030.00614.67
7.2.110.0000.01316.27
7.2.60.0030.01016.68
7.1.330.0070.00715.74
7.1.320.0000.01015.59
7.1.310.0030.00715.45
7.1.300.0070.00715.62
7.1.290.0040.01115.66
7.1.280.0090.00315.50
7.1.270.0070.00715.45
7.1.260.0050.00515.65
7.1.200.0040.01115.73
7.1.70.0130.00317.02
7.1.60.0040.00817.19
7.1.50.0680.01732.74
7.1.40.0700.01332.18
7.1.30.0730.02032.25
7.1.20.0200.01032.41
7.1.10.0000.01314.53
7.1.00.0930.01314.55
7.0.200.0100.00316.49
7.0.190.0500.01014.64
7.0.180.0400.00714.05
7.0.170.0000.01014.04
7.0.160.0400.01314.15
7.0.150.0330.01014.10
7.0.140.0070.01014.13
7.0.130.0070.01314.62
7.0.120.0470.00714.49
7.0.110.0800.01014.17
7.0.100.0670.01014.30
7.0.90.0430.01314.23
7.0.80.0430.00714.44
7.0.70.0500.01314.23
7.0.60.0400.01314.16
7.0.50.0430.00714.48
7.0.40.0470.00314.59
7.0.30.0570.01714.37
7.0.20.0000.01014.15
7.0.10.0070.00714.39
7.0.00.0170.01014.32

preferences:
62.64 ms | 401 KiB | 5 Q